Sunday, March 9, 2014

Create custom shortcut in Gnome Shell

You can create a custom shortcut in Gnome Shell or on your Desktop as described below. Replace uppercase parts as necessary.

If you want to add the shortcut in Apps

cd /home/USER_DIRECTORY/.local/share/applications

or if you want it on your Desktop

cd ~/Desktop

then;

nano APPNAME.desktop

add the lines below

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=My custom App
Comment=Some comments pls.
Exec=/path/to/executable
Icon=/path/to/icon
Type=Application
Terminal=False
Categories=Development;Or;Something;Else;

Now you should be able to see your shortcut with logo.


No comments:

Post a Comment