Interface Locations

Commander allows you to inject commands into various parts of the Obsidian UI. Here is a breakdown of the available locations.

1. Editor Menu

This is the context menu that appears when you right-click inside the text editor.

  • Use case: Text manipulation commands (e.g., "Toggle Bold", "Insert Template").
  • Note: These commands will appear at the bottom of the right-click menu.

2. File Menu

This is the context menu that appears when you right-click a file in the File Explorer or on a tab header.

  • Use case: File operations (e.g., "Move file", "Copy Obsidian URL").

3. Left Ribbon

The vertical strip of icons on the left side of the app.

  • Use case: Global actions (e.g., "Open Graph View", "Create new daily note").
  • Sorting: As of Obsidian 1.1.0, you can reorder ribbon items by dragging them directly in the UI. Commander also provides sorting arrows in settings.

4. Right Ribbon

Note: This location is currently commented out in the source code, but may be available in future versions depending on API capabilities.

5. Page Header

The area at the top right of a note view, alongside the "Close" and "More options" buttons.

  • Use case: Note-specific actions (e.g., "Toggle Reading View", "Star this file").
  • Warning: As of Obsidian 0.16.0, you need to explicitly enable the Tab Title Bar in Appearance settings for these to be visible.

6. Titlebar

The main application window title bar (Desktop only).

  • Use case: App-wide toggles or navigation.

7. Status Bar

The bar at the bottom of the window (Desktop only).

  • Use case: Background tasks, sync status, or information display.

8. Explorer

Injects buttons directly into the File Explorer pane headers.

  • Use case: Quickly creating specific file types or collapsing folders.
  • Warning: Clicking commands here might change focus to the Explorer view, which could interfere with commands that require the Editor to be focused.

9. Mobile Toolbar

The row of icons above the keyboard on mobile devices. See the Mobile Toolbar page for details.