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 Thu 31 Jul 2014, 08:08
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to change gtk inbuilt default icon choices?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
walter90


Joined: 25 Aug 2009
Posts: 278
Location: Pennsylvania, USA

PostPosted: Mon 08 Feb 2010, 14:40    Post subject:  

dejan555 wrote:
walter, there are some rules to change gtk stock icons by editing .gtkrc-mine , this is how we styled ROX toolbar icons look in these threads/posts:

http://www.murga-linux.com/puppy/viewtopic.php?p=327829#327829

http://www.murga-linux.com/puppy/viewtopic.php?t=45096


Ok, I could be dense, but the toolbar icons in Rox filer aren't the problem. I can and have changed those.

No matter what I try though, these types of icons or whatever you want to call them don't change in several apps.

Now, I see the code you put in the mine file. How could I try that and point the stock icons at the right target icon?

Is it as simple as replacing the names of each file with the ones I want to use?
I understand I'd have to add to the mine file and not overwrite the toolbar text.
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2646
Location: Montenegro

PostPosted: Mon 08 Feb 2010, 14:52    Post subject:  

walter, rox toolbar was just an example since it also uses gtk stock icons, but once you change that .gtkrc.mine all of stock (default) icons change.
Yes, you can paste that into your .gtkrc.mine (make new file in /root )
and change icons path and icon names
There might be more stock icon rules then those in that post, but we used only how much is in rox filer

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2646
Location: Montenegro

PostPosted: Mon 08 Feb 2010, 14:59    Post subject:  

Also, icons may be hardcoded into application, other then using stock icons. Maybe that pwireless uses static paths to icons, but it seems to me that those are also gtk stocks. If they are hard coded you'll have to open pwireless script and find where the gtk dialog is built and specify icons.
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
walter90


Joined: 25 Aug 2009
Posts: 278
Location: Pennsylvania, USA

PostPosted: Mon 08 Feb 2010, 18:03    Post subject:  

dejan555 wrote:
Also, icons may be hardcoded into application, other then using stock icons. Maybe that pwireless uses static paths to icons, but it seems to me that those are also gtk stocks. If they are hard coded you'll have to open pwireless script and find where the gtk dialog is built and specify icons.


Thanks dejan. Very Happy I appreciate your help. I went to the GTK site so I can find more assistance there with the rules. But that site is hard for a non-coder to understand.

Yes those are GTK stock icons but your guess is probably right about them being hard-coded. Like I said earlier, the up arrow in my rox icons file, which I changed, now shows up in several apps as the up arrow.

Thanks again for the help.
Back to top
View user's profile Send private message 
walter90


Joined: 25 Aug 2009
Posts: 278
Location: Pennsylvania, USA

PostPosted: Fri 19 Feb 2010, 17:36    Post subject:  

Adding the icons I wanted to use into .gtk-mine works like a charm. A very few of the stock-icons didn't change but I can live with the result.

I added all the extra icons to the same path as the rox-filer icons.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5650
Location: Valåmoen, Norway

PostPosted: Tue 14 Dec 2010, 15:59    Post subject:  

My dream is to switch 2 builtin stock icons Smile

This is valid
Code:
stock["gtk-yes"] = { "no.png", *, *, *}
while
Code:
stock["gtk-yes"] = stock["gtk-no"]
is not????

anyone?......please
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Geoffrey


Joined: 30 May 2010
Posts: 1328
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Thu 15 Dec 2011, 23:41    Post subject:  

I found that by putting the icon you wish to use in "example: /usr/share/icons/hicolor/48x48/devices/camera-web.png "

Then in the gtkdialog script:
Code:
export GUI='
<window title="WebCam Server" icon-name="camera-web" resizable="false">

just don't make the icons over complicated or they look ugly, looks better than those X's and window boxs. Cool

I just tried this with lucid 5.2.8, it don't seem to work, but it does work with Quirky and Barry's latest Racy, haven't tried Wary but I'm guessing that it will work with any that Barry as released, wonder what the difference is?

It seems that it does work in lucid and all other puppy's I would imagine see how here http://murga-linux.com/puppy/viewtopic.php?p=589784#589784
GUI-icon.jpg
 Description   
 Filesize   4.3 KB
 Viewed   496 Time(s)

GUI-icon.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
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.0643s ][ Queries: 12 (0.0088s) ][ GZIP on ]