command bar icons

General discussions about Inkscape.
User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

command bar icons

Postby brynn » Thu May 02, 2013 11:14 pm

Hi Friends,
I'm looking at a project involving the Inkscape gui icons. I've found must of them in share\icons\icons.svg. But the following icons on the command bar are not in that file:
cut, copy, paste, undo, redo, new, open, save, print. Does anyone know where I can find those image files?

Thanks for your help :D

Ailurus
Posts: 115
Joined: Fri Oct 22, 2010 9:53 am
Location: The Netherlands
Contact:

Re: command bar icons

Postby Ailurus » Fri May 03, 2013 6:14 am

Hi Brynn, these specific icons might be the default icons of the theme you use on Windows... Or perhaps these are the standard Tango icons, in that case they should be installed in a separate directory (but changing these changes them in every application that uses the Tango icons).

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: command bar icons

Postby ~suv » Fri May 03, 2013 6:34 am

Those icons are not provided by Inkscape itself - they belong to the GTK+ icon theme, and the stock versions of them (which are used with the Windows packages of Inkscape) are compiled into the GTK+ library itself (i.e. not included as individual images).

You can download individual icons e.g. from the GTK+ source code repository:
https://git.gnome.org/browse/gtk+/tree/gtk/stock-icons?h=gtk-2-24
(click on the 'plain' link at the far right end of an icon in the listings to download the image file itself), or browse the stock items on this page of the developer documentation.

Or - for your convenience - save the images I linked below directly from here (icon size: 24 px):
cut Image
copy Image
paste Image
undo Image
redo Image
new Image
open Image
save Image
print Image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: command bar icons

Postby brynn » Fri May 03, 2013 11:07 pm

Oh, thank you so much, ~suv!

Image
Happy Camper!

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: command bar icons

Postby BobSongs » Sat May 04, 2013 2:59 pm

brynn wrote:Hi Friends,
I'm looking at a project involving the Inkscape gui icons. I've found must of them in share\icons\icons.svg. But the following icons on the command bar are not in that file:
cut, copy, paste, undo, redo, new, open, save, print. Does anyone know where I can find those image files?

Thanks for your help :D

Have you got plans to create a new, exciting set for Inkscape?

:D

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: command bar icons

Postby brynn » Sat May 04, 2013 8:20 pm

Oh no, nothing like that. Although if it were possible to create different "skins" or themes, and easily apply to Inkscape, I would probably try to make one for myself. I really think that would be an exciting feature for Inkscape. Although no doubt near the bottom of any dev priority...it it's even on the radar :(

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: command bar icons

Postby BobSongs » Sun May 05, 2013 1:46 am

brynn wrote:...Although if it were possible to create different "skins" or themes, and easily apply to Inkscape, I would probably try to make one for myself....

I would not complain if my Inkscape looked more like this: SimplyGrey Inkscape Theme

This theme works in Linux: that's due to the (imho) brilliant /home folder system.

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: command bar icons

Postby ragstian » Sun May 05, 2013 1:58 am

Hi.

This works fine on Windows as well.

Just copy the compressed icon file from the page you linked to -
unzip and place the "icons.svg" file in your user icon folder.
(Mine is on Win7 ; C:\Users\Ragnar\AppData\Roaming\inkscape\icons)
If you want to revert back to standard icons then just delete the file.

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: command bar icons

Postby brynn » Sun May 05, 2013 3:30 pm

Hhmmm....
~suv, it seems the Save icon that you got is actually Save As. It's very similar, except without the tiny pencil. I can't seem to locate Save, at the GTK repository. I did manage to find Inks Prefs and Doc Prop. But plain old Save is eluding me.

I guess Save As is close enough, for my purposes. So if Save can't be found.....you know, it must go by another name.....because really, it should be there with all the rest. Let me scrutinize those file names....

Or maybe I can get the SVG and just delete the pencil? Ok, well I'm striking out all around. I downloaded the file, but Windows Explorer says it is invalid.

Any hints?

Edit
Ah-ha! On the 3rd try, I got the SVG. And after I deleted the tiny pencil, I thought it was ironic as I clicked Save As, to save my new Save icon, lol! Anyway, never mind, I've got what I need :D

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: command bar icons

Postby ~suv » Sun May 05, 2013 9:46 pm

brynn wrote:~suv, it seems the Save icon that you got is actually Save As. It's very similar, except without the tiny pencil. I can't seem to locate Save, at the GTK repository. I did manage to find Inks Prefs and Doc Prop. But plain old Save is eluding me.

Sorry, I forgot to check which icons are used in multiple contexts (technical detail: some of the stock icons are linked and renamed for that purpose before compiling the GTK+ stack).

The icon used for 'File > Save' (called 'document-save.png') is actually the icon for the floppy disk (called 'media-floppy.png'): Image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: command bar icons

Postby brynn » Mon May 06, 2013 1:04 am

Ah-ha! I looked at a lot of images with file names that didn't identify to me what they were. So I found a lot of icons that aren't in the icons.svg file. But I never did find that one. I did see all the many media.whatever files, but couldn't think of any way that Inkscape might be using media (I was thinking music media, slideshow, newspaper, etc. nothing that Inkscape might need) lol. Anyway thanks. I think I've just now finished that project! :D


Return to “General Discussions”