Pages

Saturday, February 25, 2012

Ubuntu Launcher Synaptic Quicklist

For those of us who use quicklists in Ubuntu 11.10 Oneiric, and prefer to use Synaptic as the package manager, and have it "pinned" to our launcher, I have written a file to allow right-click access to the Software Sources and Update Manager from the launcher icon, much like one commonly used for the "Home" folder.

Simply copy code to a file named synaptic.desktop, and place in the /home/<USER>/.local/share/applications folder, log out, and log in again to enjoy quicker access!


[Desktop Entry]
Name=Synaptic Package Manager
GenericName=Package Manager
Comment=Install, remove and upgrade software packages
Exec=synaptic-pkexec
Icon=synaptic
Terminal=false
StartupNotify=true
Type=Application
Categories=PackageManager;GTK;System;Settings;
OnlyShowIn=GNOME;Unity;
NotShowIn=KDE;
X-Ubuntu-Gettext-Domain=synaptic

X-Ayatana-Desktop-Shortcuts=SU;SP;
[SU Shortcut Group]
Name=Update Manager
Exec=update-manager -c
TargetEnvironment=Unity

[SP Shortcut Group]
Name=Software Sources
Exec=gksu software-properties-gtk %u
TargetEnvironment=Unity

No comments:

Post a Comment