How do I create a shortcut to Gnome 3 Activities menu?

5,338

Solution 1

This is the correct entry with correct syntax:

[Desktop Entry]
Name=btsync
Exec=/home/ohto/Progs/btsync
Icon=un-reboot.png
Type=Application
Terminal=true

Solution 2

You should create the relevant desktop entry in ~/.local/share/applications. Your entry already contains necessary information, although I also recommend you to add an icon.

Share:
5,338

Related videos on Youtube

Ohto Nordberg
Author by

Ohto Nordberg

I'm half human, half nerd.

Updated on September 18, 2022

Comments

  • Ohto Nordberg
    Ohto Nordberg almost 2 years

    I created ~/.local/share/applications/bt.desktop file containing entry

    [Desktop Entry]
    Name=btsync
    Exec==~/Progs/btsync
    Icon=un-reboot.png
    Type=Application
    Terminal=true;
    

    Command ~/Progs/btsync works and btsync runs. How do I add this to Activities menu to be just clicked?

    • Mohamed Slama
      Mohamed Slama about 8 years
      did you tried to lock to launcher while app running
    • Ohto Nordberg
      Ohto Nordberg about 8 years
      App runs on the background, no visible icon when running.
    • Sergiy Kolodyazhnyy
      Sergiy Kolodyazhnyy about 8 years
      You have error there Exec== should be Exec=. Also use full path , ~ is not understood by .desktop files . Terminal=true does not need semicolon
    • Sergiy Kolodyazhnyy
      Sergiy Kolodyazhnyy about 8 years
      I will post it as an answer then
    • Sergiy Kolodyazhnyy
      Sergiy Kolodyazhnyy about 8 years
      Ah, you already posted your own. Well, nevermind then :)
  • Ohto Nordberg
    Ohto Nordberg about 8 years
    FIle is in the location you mention. I added the icon. Ran Alt+F2 and r to reload Gnome. No luck.