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 Sat 04 Jul 2020, 21:26
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 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
walter90


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

PostPosted: Wed 27 Jan 2010, 16:16    Post subject:  How to change gtk inbuilt default icon choices?  

I am trying to finish Steampunking my laptop but I've hit a snag. I want to replace the little icons on the buttons and toolbars in apps like Pwireless, Search file, the Connection wizard and so on.

The ones I'm talking about are the little trashcan, the downward arrow pointing to the left, help, and on and on.

I found a few of them (I think) in mini-icons, .icons, icons, Rox and pixmaps but I can't find the rest.

Does anyone know where they are?
Back to top
View user's profile Send private message 
walter90


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

PostPosted: Thu 28 Jan 2010, 16:33    Post subject:  

No, this is not about changing app themes. There are basic icons that are common to all or almost all apps and themes. These, like I said, are the tiny trashcan, the downward left pointing arrow, the close, or exit, icon and so forth.

I'll include some screencaps tomorrow.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13637
Location: Arizona USA

PostPosted: Fri 29 Jan 2010, 00:17    Post subject:  

OK, sorry. Just trying to be helpful. You can edit the Subject line to make it more accurate. Smile
Back to top
View user's profile Send private message 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Fri 29 Jan 2010, 10:20    Post subject:  

These are gtk inbuilt default icon choices.

You can see if they are in /usr/share/glade3/pixmaps but you would need to make a new version and rename old. This will however impact all gtk programs that use them.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
walter90


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

PostPosted: Fri 29 Jan 2010, 17:08    Post subject:  

tasmod wrote:
These are gtk inbuilt default icon choices.

You can see if they are in /usr/share/glade3/pixmaps but you would need to make a new version and rename old. This will however impact all gtk programs that use them.


No worries Flash, and thanks for the helpful tip. Someone edited my subject line. I originally asked where the icons were.

Thanks tasmod. I was afraid it was something like that. They aren't in the glade folder. Mine is empty. At least no pixmap folder. I'd like a fairly easy way of doing it. Perhaps someone could post a file I could edit?
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 808
Location: the Western Reserve

PostPosted: Sat 30 Jan 2010, 15:45    Post subject:
Subject description: now where did those icons go?
 

Also you might try and see what the mime-types reference (sometimes they relate to icons in /usr/share/icons/hicolor/*, either actions or emblems or ...) - that can be either for toolbars like rox' or internally (dir/filetypes usw) .. there was some thread that redid the rox toolbar with custom user-icons (with dotpets&etc) and some puplets use another method like a separate hicolor dir (like Gray does for the box and NOP series). Then there are apps that are fairly self-contained like xfexplorer (icons and color-scheming) or have the icons 'buried' somewheres.

(good hunting!)&hth
Back to top
View user's profile Send private message 
walter90


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

PostPosted: Sun 31 Jan 2010, 18:52    Post subject:  

Thanks. I'll keep looking. Like I said, I have found some of them, and certain apps are self-contained like Gnumeric and Gcalc.

I'd like to get them all changed eventually because it just doesn't look right with my theme. Kinda like a turd in the punch bowl.

Thanks for everyone's help! Very Happy
Back to top
View user's profile Send private message 
kevin-dell1100

Joined: 23 Jan 2010
Posts: 14

PostPosted: Mon 01 Feb 2010, 00:17    Post subject:  

To take Walter90's question a step further, how does one even add or remove icons to the desktop? I've been looking for a help page on this, but haven't had much luck yet.

Thanks in advance for any help!
Back to top
View user's profile Send private message 
tasmod


Joined: 04 Dec 2008
Posts: 1462
Location: North Lincolnshire. UK

PostPosted: Mon 01 Feb 2010, 05:04    Post subject:  

There are several ways in Puppy to add icons to desktop. Depends which version you are using.

Take 431 as an example, this will also work for most others as well.

Decide what application it is you want to load, then if you want a direct executable then find the program in its directory.

Then click and drag to desktop, note that this in fact does not move the program but creates a link to it.

Then you will need to find an icon for it, usually in the app directory or in /usr/share/icons , you will need to go slightly deeper in the icon directory depending on the icon required.

Once you have an icon choice, keep window to one side so you can see the program link on desktop, 'right click' the program link.

When the Rox list opens, select app dir and a smaller list will show.
At the bottom of this is 'set icon' click that.

Now a box will open and it will have a space at the top saying no icon set. Go back to the icon you chose and left click and drag to the box.
That's it, the icon is set.

There are other ways, some programs are launched by a script or link, it all depends on what you want to show.

There are desktop files that will launch an installed app in /usr/share/applications just drag to desktop. Follow instructions above to set an icon if it hasn't one already.

To remove an item icon from desktop, just right click and select remove item.

Note that all icons on desktop are links and do not remove the programs from system.

_________________
Rob
-
The moment after you press "Post" is the moment you actually see the typso Cool
Back to top
View user's profile Send private message Visit poster's website 
walter90


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

PostPosted: Mon 01 Feb 2010, 15:39    Post subject:  

Ok. I don't have anything in my GTK 2.0 folder other than a demo folder with some gnome icons and some doc files in another.

I installed a .pet yesterday that put GTK stock icons in my X11/mini-icons folder but they apparently are not the built-in icons. I have looked for a file I could edit but no luck.

I installed a .pet to change the Rox toolbar icons and that all went well. I replaced the icons with those of my own no problem.

Now, I just need to be able to change icons like gtk-quit, gtk-ok and so on.

I'll keep looking on my own but if anyone knows what I need to do please tell me. Do I need to install a new GTK?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13637
Location: Arizona USA

PostPosted: Mon 01 Feb 2010, 15:59    Post subject:  

Walter90, it might be helpful if you took a screenshot of one of the apps you're talking about, and drew some arrows pointing to the icons you mean. By "icon" do you mean what I think is usually called a radio button?

You can take a screenshot, crop it to show just the application window, and draw arrows in it, all with Menu -> Graphic -> mtPaint screenshot.

FYI, the forum won't automatically show images wider than 600 pixels, so if your image can't be cropped to 600 or less, you'll have to Scale the canvas. MtPaint can do that too. Smile
Back to top
View user's profile Send private message 
walter90


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

PostPosted: Mon 01 Feb 2010, 16:01    Post subject:  

Flash wrote:
Walter90, it might be helpful if you took a screenshot of one of the apps you're talking about, and drew some arrows pointing to the icons you mean. By "icon" do you mean what I think is usually called a radio button?

You can take a screenshot, crop it to show just the application window, and draw arrows in it, all with Menu -> Graphic -> mtPaint screenshot.

FYI, the forum won't automatically show images wider than 600 pixels, so if your image can't be cropped to 600 or less, you'll have to Scale the canvas. MtPaint can do that too. Smile


Ok Flash. I'll do that. Thanks. Very Happy
Back to top
View user's profile Send private message 
walter90


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

PostPosted: Wed 03 Feb 2010, 15:51    Post subject:  

Ok, here's what I have. I want to replace the circled icons. I have noticed that a very few icons on the buttons, like the up arrow is now the up arrow I have for my Rox toolbar icons, which I re-did recently.
Screencap-buttons.jpg
 Description   
 Filesize   111.63 KB
 Viewed   805 Time(s)

Screencap-buttons.jpg

Back to top
View user's profile Send private message 
walter90


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

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

Anybody?

I might add that I have been playing with MacPup Foxy and I can change these icons in that distro. All I have to do is place these stock icons in the /usr/local/lib/X11/pixmap file

That doesn't work for me on Puppy 4.2.1
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2817
Location: Montenegro

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

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

_________________
puppy.b0x.me stuff mirrored HERE or HERE
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
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.0588s ][ Queries: 13 (0.0117s) ][ GZIP on ]