Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
command-menu@arunk140.com.shell-extension.zip
80 changes: 5 additions & 75 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,14 @@
### Command Menu for GNOME Top Bar

[<img src="https://raw.githubusercontent.com/andyholmes/gnome-shell-extensions-badge/master/get-it-on-ego.svg?sanitize=true" alt="Get it on GNOME Extensions" height="100" align="middle">][ego]
This is Arun K's great gnome-command menu (https://github.com/arunk140/gnome-command-menu), modified to work with GNOME 45.

[ego]: https://extensions.gnome.org/extension/4850/command-menu/

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

Inspired by Shuttle and SSHMenu.

![Command Menu Example Screenshot](Screenshot-Example.png "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
#### To install:

```
git clone https://github.com/arunk140/gnome-command-menu.git
cd /tmp
git clone --branch gnome45 https://github.com/joostn/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
gnome-extensions install command-menu@arunk140.com.shell-extension.zip --force
```
Loading