how to create and remove desktop icons or icons ?

Booting, installing, newbie
Post Reply
Message
Author
kkpal
Posts: 25
Joined: Wed 28 Nov 2007, 07:49

how to create and remove desktop icons or icons ?

#1 Post by kkpal »

hi all

how to create and remove desktop icons or icons from shell scripts?

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello

To create desktop icons for existing programs, go to /usr/share/applications and drag and drop the "program name".desktop file to your desktop. If it does not have a .desktop file, look in /usr/local/bin for default programs, or if you cant find it, open a terminal and type "which "program name" )without the quotes) ex.. which firefox
To change an existing icon, right click the file, choose "show location".( this will take you to the original file). right click the file, and choose "set icon".. a box will open.
Drag and drop an icon into the box..
To give a script an icon, right click the script, and choose "set icon".. a box will open.
Drag and drop an icon into the box..

Hope this helps :D :D
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

kkpal
Posts: 25
Joined: Wed 28 Nov 2007, 07:49

#3 Post by kkpal »

I want to manipulate the desktop icons from a script, and not the other way around.
I already created icons for my shell script. But I want to remove ( or hide) and add ( or unhidden) that icon. If I can't create icon.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

You might want examine the code for Dougals's Hotpup.
Try looking at /etc/Hotpup/add_icons_for_device1
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply