Add Application Icon to Favorite Applications Screen

Use this forum to ask questions about how to do things in QCAD 2.1/2.2.

Moderator: andrew

Add Application Icon to Favorite Applications Screen

Postby pestocat » Mon Sep 26, 2011 2:21 am

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
pestocat
Junior Member
 
Posts: 10
Joined: Tue Jun 16, 2009 12:55 am
Location: Palo Alto CA

Shortcut

Postby shade304 » Tue Sep 27, 2011 7:21 am

(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!
shade304
Registered Member
 
Posts: 1
Joined: Wed Aug 24, 2011 3:06 am

This Works

Postby pestocat » Thu Sep 29, 2011 9:51 pm

Shade304,
Thank you for the detailed solution. It works just as you said.
pestocat :)
pestocat
Junior Member
 
Posts: 10
Joined: Tue Jun 16, 2009 12:55 am
Location: Palo Alto CA


Return to QCAD 2.1/2.2 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 6 guests