Skip to content

Instantly share code, notes, and snippets.

@kurtis318
Created June 5, 2017 03:34
Show Gist options
  • Save kurtis318/ca3c7f1fb9b848e3b92b3ac33116c6ca to your computer and use it in GitHub Desktop.
Save kurtis318/ca3c7f1fb9b848e3b92b3ac33116c6ca to your computer and use it in GitHub Desktop.
Adding launcher to Gnome destop
I finally had a pressing need to create my own custom launcher in Gnome. I did not know how to do this but I found numerous examples
on the Internet. Here is a brief description of how I added a launcher for seamonkey edito. The file below is in /home/kurtis/Desktop.
[Desktop Entry]
Name=Seamonkey Composer
GenericName=SeamonkeyComposer
Exec=/home/kurtis/bin/seamonkey/seamonkey -editor "/home/kurtis/dev/html/KWRNewTab.html"
# Icon=[icon file [optional]]
Type=Application
StartupNotify=true
Notice that I passed a file to the seamonkey program. This HTML file represents my essential URLs and I have a copy on every
account.
I also copied the above file to /usr/share/applications directory.
sudo cp Desktop/seamonkey-editor.desktop /usr/share/applications/.
@kurtis318
Copy link
Author

Another solution:

  1. Install alacate
  2. Create new launcher in Main menu (I chose Other)
  3. Fill in all the fields but for the command enter: seamoney
    Putting in the parameter -editor /home/kurtis/dev/html/KWRNewTab.html will not let you save the entry.
  4. Use this icon: /usr/share/icons/hicolor/48x48/apps/seamonkey.png
  5. Click OK and then close alacarte.
  6. Edit the file: ~/.local/share/applications/alacarte-made.desktop
    and add the parameters: -editor /home/kurtis/dev/html/KWRNewTab.html
    to the Exec= line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment