Tuesday, July 26, 2011

Google+ Quicklist for Unity Launcher

Google+ is already popular enough and doesn't need any introduction. Here is how you can add a Quicklist for Google+ in your Unity Launcher for easy access to Google+ services.


Go to a Terminal and copy&paste all of the text from the box below and hit <Enter>:

echo "[Desktop Entry]
Version=1.0
Name=Google+
Comment=Google+ in Unity
Exec=xdg-open 'https://plus.google.com'
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=google-plus.png
Categories=Network;WebBrowser;
X-Ayatana-Desktop-Shortcuts=Stream;Circles;Notifications;Sparks;Photos;Hangouts;Profile
[Stream Shortcut Group]
Name=Google+ Stream
Exec=xdg-open 'https://plus.google.com'
TargetEnvironment=Unity
[Notifications Shortcut Group]
Name=Google+ Notifications
Exec=xdg-open 'https://plus.google.com/notifications/all'
TargetEnvironment=Unity
[Circles Shortcut Group]
Name=Google+ Circles
Exec=xdg-open 'https://plus.google.com/circles'
TargetEnvironment=Unity
[Sparks Shortcut Group]
Name=Google+ Sparks
Exec=xdg-open 'https://plus.google.com/sparks'
TargetEnvironment=Unity
[Photos Shortcut Group]
Name=Google+ Photos
Exec=xdg-open 'https://plus.google.com/photos'
TargetEnvironment=Unity
[Hangouts Shortcut Group]
Name=Google+ Hangouts
Exec=xdg-open 'https://plus.google.com/hangouts'
TargetEnvironment=Unity
[Profile Shortcut Group]
Name=Google+ Profile
Exec=xdg-open 'https://plus.google.com/me'
TargetEnvironment=Unity" | tee ~/.local/share/applications/google-plus.desktop

Right click the image/icon below and save it into '.local/share/icons' of your home directory. You might need to press Ctrl + H to see the hidden files and directories.


You can also use any other icon. You can find some nice ones here:

http://www.chethstudios.net/2011/07/google-plus-free-icon-pack-pngpsd.html

A Google search will return hundreds of results. Preferably, choose 64x64 pixels as the image size. Then just save your favorite icon to '~/.local/share/icons' and edit the "Icon=google-plus.png" section from the code above to whatever the name of your favorite icon is.

Now, open your home directory and press Ctrl + H to see the hidden files. Navigate to '.local/share/applications' and drag and drop the newly created file 'google-plus.desktop' into the Unity Launcher.

Related Posts:

Accessibility , Launcher , Unity