/gnome-command-menu

A GNOME Shell Extension to manage shortcuts in Top Bar (Inspired by Shuttle and SSHMenu)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Command Menu for GNOME Top Bar

Get it on GNOME Extensions

GNOME shell extension to manage command shortcuts in the GNOME Top Bar.

Inspired by Shuttle and SSHMenu.

Command Menu Example Screenshot

For Icon Names - https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html


Example ~/.commands.json (Check the examples folder for more..)

[
    {
        "title": "Termimal",
        "command": "gnome-terminal",
        "icon": "utilities-terminal"
    },
    {
        "title": "File Manager 3",
        "command": "nautilus",
        "icon": "folder"
    },
    {
        "type": "separator"
    },
    {
        "title": "Web Browser",
        "command": "firefox",
        "icon": "web-browser"
    },
    {
        "type": "separator"
    },
    {
        "title": "SSH Connections",
        "type": "submenu",
        "submenu": [
            {
                "title": "Connect to Server (SSH)",
                "command": "gnome-terminal -- bash -c 'ssh root@10.144.1.2 -p 8022'",
                "icon": "utilities-terminal"
            }
        ]
    }
]
Note:
examples/.commands-full.json is supported in versions >= 5

New Feature (Work in Progress) - Web Editor for .commands.json

https://github.com/arunk140/gnome-command-menu-editor


Generate Build Zip

glib-compile-schemas schemas
zip gnome-command-menu.zip icon.svg metadata.json extension.js prefs.js schemas/org.gnome.shell.extensions.commandmenu.gschema.xml schemas/gschemas.compiled README.md LICENSE

Manual Install

git clone https://github.com/arunk140/gnome-command-menu.git
cd gnome-command-menu
glib-compile-schemas schemas
gnome-extensions pack
gnome-extensions install command-menu@arunk140.com.shell-extension.zip