Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnome 45 & 46 support #17

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
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 @@
[email protected]
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 [email protected] -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 [email protected]
gnome-extensions install [email protected] --force
```
Loading