Page 1 of 1

Add Application Icon to Favorite Applications Screen

Posted: Mon Sep 26, 2011 2:21 am
by pestocat
How do I add an application icon to my Favorite Applications screen. When I right-click the application, I can only add the icon to Home Folder and Desk Top. This application was installed very simply using gunzip and tar commands. I have qcad 2.2.2.0 running in openSuse 11.4.
Thank you

Shortcut

Posted: Tue Sep 27, 2011 7:21 am
by shade304
(This works for Fedora, and should work for Suse, but I haven't tested)

Put the qcad folder in /usr/share/:

Code: Select all

sudo mv qcad /usr/share/
Put the icon in the /usr/share/pixmaps/ directory:

Code: Select all

sudo cp /usr/share/qcad/doc/img/qcadicon.png /usr/share/pixmaps/
Make an freedesktop shortcut:

Code: Select all

echo '[Desktop Entry]
Name=Qcad
Terminal=false
Icon=/usr/share/pixmaps/qcadicon.png
Type=Application
Encoding=UTF-8
Categories=Graphics;
Exec=/usr/bin/qcad
Comment=Computer-aided design for 2D design and drafting' | sudo tee /usr/share/applications/qcad.desktop > /dev/null
Copy or link the executable to the /usr/bin/ directory:

Code: Select all

sudo ln -s /usr/share/qcad/qcad /usr/bin/qcad
Hope this is helpful!

This Works

Posted: Thu Sep 29, 2011 9:51 pm
by pestocat
Shade304,
Thank you for the detailed solution. It works just as you said.
pestocat :)