Discuss your project
Linux Ubuntu 14.04 LTS Ubuntu 16.04 LTS

Edit Unity Launcher shortcuts

To edit a shortcut in Unity's quick launch bar, you need to edit the corresponding .desktop file in the menu created. To see the full list of available shortcuts: gsettings get com.canonical.Unity.Launcher favorites This returns an array with all the elemen...

Méthode de validation d’une procédure Linux historique

To edit a shortcut in Unity's quick launch bar, you need to edit the corresponding .desktop file in the menu created.
To see the full list of available shortcuts:

gsettings get com.canonical.Unity.Launcher favorites

This returns an array with all the elements.

tbourdin@tbourdin-ubuntu:~$ gsettings get com.canonical.Unity.Launcher favorites
['application://gnome-terminal.desktop', 'application://firefox.desktop', 'application://thunderbird.desktop', 'application://org.gnome.Nautilus.desktop', 'application://org.gnome.Software.desktop', 'application://unity-control-center.desktop', 'application://shutter.desktop', 'application://filezilla.desktop', 'unity://expo-icon', 'unity://devices', 'application://org.gnome.gedit.desktop', 'unity://running-apps', 'application://org_eclipse_equinox_launcher_1_3_100_v20150511-1540_jar.desktop', 'application://gnome-system-monitor.desktop']

Then identify the file corresponding to our item and edit it in the directory:

~/.local/share/applications/

In our case: application://org_eclipse_equinox_launcher_1_3_100_v20150511-1540_jar.desktop

[Desktop Entry]
vi /home/tbourdin/.local/share/applications/org_eclipse_equinox_launcher_1_3_100_v20150511-1540_jar.desktop

Encoding=UTF-8
Version=1.0
Type=Application
Name=Zend Studio Editor
Icon=org_eclipse_equinox_launcher_1_3_100_v20150511-1540_jar.png
Path=/etc/ZendStudio
Exec=/etc/ZendStudio/ZendStudio
StartupNotify=false
StartupWMClass=Zend Studio
OnlyShowIn=Unity;
X-UnityGenerated=true

Méthode de validation d’une procédure Linux historique

Version context

This procedure describes the software and the environment available at the time of its publication. The packages, interfaces, and repositories mentioned may have changed or disappeared; first check the system version and its support level.

cat /etc/os-release
uname -r

Work on a backup or a snapshot, note every modified file, and prepare for rollback. For a current workstation or server, prefer signed packages from officially supported repositories.

Reference: official Ubuntu lifecycle.

Share this article