Chỉnh sửa phím tắt Unity Launcher

Để chỉnh sửa một phím tắt trong thanh khởi chạy nhanh của Unity, bạn cần chỉnh sửa tệp .desktop tương ứng trong menu đã tạo.
Để xem toàn bộ danh sách các phím tắt có sẵn:
gsettings get com.canonical.Unity.Launcher favorites

Điều này trả về một mảng với tất cả các phần tử.

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']

Sau đó xác định tệp tương ứng với mục của chúng ta và chỉnh sửa nó trong thư mục:

~/.local/share/applications/

Trong trường hợp của chúng ta: 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