Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Dec 2017, 04:36
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
how to create and remove desktop icons or icons ?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
kkpal

Joined: 28 Nov 2007
Posts: 25

PostPosted: Mon 01 Sep 2008, 05:20    Post subject:  how to create and remove desktop icons or icons ?
Subject description: hi all how to create and remove desktop icons or icons from shell scripts?
 

hi all

how to create and remove desktop icons or icons from shell scripts?
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3454
Location: Chickasha Oklahoma

PostPosted: Mon 01 Sep 2008, 20:03    Post subject:  

Very Happy 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 Very Happy Very Happy

_________________
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...
Back to top
View user's profile Send private message Visit poster's website 
kkpal

Joined: 28 Nov 2007
Posts: 25

PostPosted: Tue 02 Sep 2008, 02:34    Post subject:  

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.
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2946
Location: Southampton, UK

PostPosted: Tue 02 Sep 2008, 03:32    Post subject:  

You might want examine the code for Dougals's Hotpup.
Try looking at /etc/Hotpup/add_icons_for_device1

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0294s ][ Queries: 11 (0.0033s) ][ GZIP on ]