1

Following this easy guide I was able to create a .desktop file. my goal was to pin this desktop file to the launcher and add two commands to it as quick list items here is what I did :

[Desktop Entry]
Name=Launcher2Dock
Comment=Turnes you laucher intoto dock
Exec=gsettings set com.canonical.Unity.Launcher launcher-position Left
Icon=/home/mushir/Desktop/icon.svg
Terminal=false
Type=Application
Categories=Utility;Application;
Actions=Move bottom;Move left
[Desktop Action Move bottom]
Name=Move bottom
Exec=gsettings set com.canonical.Unity.Launcher launcher-position Bottom
OnlyShowIn=Unity; 
[Desktop Action Move left]
Name=Move left
Exec=gsettings set com.canonical.Unity.Launcher launcher-position Left
OnlyShowIn=Unity; 

everything worked just fine but I found that the mouse cursor turns into the wheel shape for about 15 seconds after runing the command from the .desktop file quick list pinned to the laucnher

enter image description here

2
  • As mentioned in the link, the launcher is waiting for a window, which will not appear. In the answer there is a workaround for that. Please comment here if you (don' t) manage. Alternatively, you could use a shortcut key to toggle, similar to this: askubuntu.com/questions/781358/… , but that would require a small change of the question. Aug 2, 2016 at 8:47
  • Hi Misho21, please also see this: askubuntu.com/questions/744658/… to complete the picture. Aug 2, 2016 at 9:50

0

Browse other questions tagged .