The Lock icon next to each layer is so small I cant see the difference between locked an unlocked.
There is just a 1 pixel gap difference between the 2 modes.
Is there a way to make it bigger? If not where can I find the Icon so that I can edit it? Thanks.
Kubuntu 14.4, Inkscape 0.48, Monitor 1200x1600
Make Layer Lock Icon clearer. (SOLVED)
Make Layer Lock Icon clearer. (SOLVED)
Last edited by ianp5a on Sat Oct 04, 2014 12:55 am, edited 1 time in total.
Re: Make Layer Lock Icon clearer
Hi.
The answer lies somewhere between these lines:
http://www.inkscapeforum.com/viewtopic.php?f=22&t=11535
http://www.inkscapeforum.com/viewtopic.php?f=5&t=15401
The answer lies somewhere between these lines:
http://www.inkscapeforum.com/viewtopic.php?f=22&t=11535
http://www.inkscapeforum.com/viewtopic.php?f=5&t=15401
Re: Make Layer Lock Icon clearer
Although your signature shows Inkscape 0.48 this is how it looks on my 0.48.5 r10040 (Win7).
It`s the first time I see these lock icons while icons file should be in .../Inkscape/share/icons/icons.svg
Did anybody managed to edit that gtkrc file and if so would you be willing to share it here? I`d like to give it a try but in my version gtkrc does not contain "fg-color" nor "nbg-color".
It`s the first time I see these lock icons while icons file should be in .../Inkscape/share/icons/icons.svg
Off topic:
Apropos Lazur`s links...Did anybody managed to edit that gtkrc file and if so would you be willing to share it here? I`d like to give it a try but in my version gtkrc does not contain "fg-color" nor "nbg-color".
Re: Make Layer Lock Icon clearer
Yes the Windows Icons look like that. But on Kubuntu they are as I have shown. Thanks I shall look at the icons.svg.
No luck yet!
There is no folder at .../Inkscape/share/icons/icons.svg on my PC on Kubuntu 14.04
Further research yeilded: /usr/share/inkscape/icons/ and icons.svg. But they are different from the ones in use by inkscape.
Can anybody help me?
Further research yeilded: /usr/share/inkscape/icons/ and icons.svg. But they are different from the ones in use by inkscape.
Can anybody help me?
Re: Make Layer Lock Icon clearer
On windows you have an option to allow app custom cursors, icons... etc.
Perhaps you have something like this disabled?
Sorry, haven`t used linux in a while and am not sure if this is quite appropriate parallel/comparison but hope it helps.
Perhaps you have something like this disabled?
Sorry, haven`t used linux in a while and am not sure if this is quite appropriate parallel/comparison but hope it helps.
Re: No luck yet!
ianp5a wrote:There is no folder at .../Inkscape/share/icons/icons.svg on my PC on Kubuntu 14.04
Further research yeilded: /usr/share/inkscape/icons/ and icons.svg. But they are different from the ones in use by inkscape.
Can anybody help me?
This drove me potty yesterday.
Using PClinuxOS KDE 32 bit & Inkscape 0.48.5 r10040
Changing the icons does work (but not for the layer lock icon). This all-in-one screenshot http://i.imgur.com/UEt6pzt.jpg
1. copy (say) the tango_icons.svg file from /usr/share/inkscape/icons to ~/.config/inkscape/icons
Had to make the icons directory, then renamed tango_icons.svg to icons.svg
2. The tango icons are used in place of the default.
3. Makes no difference to the layer lock / un-lock icons. Tried editing in inkscape, tried editing as text. The icons remain as original.
but
Looking at the icons in the layers dialog and the tango icons they are different anyway, so conclusion is inkscape not using these icons from the icons.svg file, at least in linux.
I did try other things, just working in /usr/share/inkscape/icons directory. Those lock icons are very stubborn.
Are they encoded into Inkscape somehow? Are they in some other resource file?
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Make Layer Lock Icon clearer
My quick trip down the rabbit-hole via Lazur's tip lead to this post on the dev board: https://bugs.launchpad.net/inkscape/+bug/929397
In the above, the lock icons are described as being set by the GTK theme under the inkscape-decoration id.
I will chase this a bit later, but wanted to share that bit so others may pursue too.
In the above, the lock icons are described as being set by the GTK theme under the inkscape-decoration id.
The icons themselves are designed for 12x12 px (AFAIU this smaller size was originally intended as size for all icons of the type 'inkscape-decoration' - e.g. also the toggle buttons to lock/unlock and hide/unhide layers).
I will chase this a bit later, but wanted to share that bit so others may pursue too.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Make Layer Lock Icon clearer
PS: changing the value of inkscape-decoration works in Windows, my Mint-17 is offline so I will have to test later.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: Make Layer Lock Icon clearer
The problem icons are from the Oxygen icon set. Inkscape uses system icons where possible, and Oxygen includes the lock and unlock icons, so Inkscape uses them.
It looks like this default behavior is set in the icons.cpp source file in Inkscape. It should be possible to set Inkscape to *not* use the system icons, and recompile the application, but I haven't tried that.
Instead, I changed the lock and unlock icons used by Oxygen. Those icons are an epic fail on the part of Oxygen. It's as if a traffic light had only 1 light instead of 3, and the difference between go and stop was a change in the light's color from green to teal.
I've attached two sets of icons: Inkscape's and my own. Inkscape's is good, but too cartoonish to fit with the rest of Oxygen, and the lock/unlock icons are used in many places besides Inkscape. Mine are more in line with Oxygen's style, but I did not follow their guidelines, and the quality isn't to their usual standards (I'm not a graphics person). With my set, the unlock is different from lock in 3 ways: the shank is not above the padlock, the icon is tilted, and the padlock color is bronze instead of gold. The difference is now obvious, and doesn't require me to use a magnifying glass to determine whether a single pixel has changed color. (Like I said--an epic fail of the original Oxygen icons; hopefully someone on their team can pick up this idea and change these icons for everyone.)
To change the Oxygen icons, sudo copy the 16-pixel icons into /usr/share/icons/oxygen/16x16/status. Rename the originals, and rename the new ones to replace them: object-unlocked.png and object-locked.png. Do likewise for the 22x22, 32x32, and 48x48 folders. If there is an icon theme cache file in the /usr/share/icons/oxygen folder, delete it. Then reset the Oxygen icons. (In Kubuntu, go to System Settings -> Application Appearance -> Icons; pick a different icon theme and Apply it; then pick the Oxygen theme and Apply it.) The new icons should now appear in Inkscape, and everywhere else the system uses the lock/unlock icons.
Best,
-Todd
It looks like this default behavior is set in the icons.cpp source file in Inkscape. It should be possible to set Inkscape to *not* use the system icons, and recompile the application, but I haven't tried that.
Instead, I changed the lock and unlock icons used by Oxygen. Those icons are an epic fail on the part of Oxygen. It's as if a traffic light had only 1 light instead of 3, and the difference between go and stop was a change in the light's color from green to teal.
I've attached two sets of icons: Inkscape's and my own. Inkscape's is good, but too cartoonish to fit with the rest of Oxygen, and the lock/unlock icons are used in many places besides Inkscape. Mine are more in line with Oxygen's style, but I did not follow their guidelines, and the quality isn't to their usual standards (I'm not a graphics person). With my set, the unlock is different from lock in 3 ways: the shank is not above the padlock, the icon is tilted, and the padlock color is bronze instead of gold. The difference is now obvious, and doesn't require me to use a magnifying glass to determine whether a single pixel has changed color. (Like I said--an epic fail of the original Oxygen icons; hopefully someone on their team can pick up this idea and change these icons for everyone.)
To change the Oxygen icons, sudo copy the 16-pixel icons into /usr/share/icons/oxygen/16x16/status. Rename the originals, and rename the new ones to replace them: object-unlocked.png and object-locked.png. Do likewise for the 22x22, 32x32, and 48x48 folders. If there is an icon theme cache file in the /usr/share/icons/oxygen folder, delete it. Then reset the Oxygen icons. (In Kubuntu, go to System Settings -> Application Appearance -> Icons; pick a different icon theme and Apply it; then pick the Oxygen theme and Apply it.) The new icons should now appear in Inkscape, and everywhere else the system uses the lock/unlock icons.
Best,
-Todd
- Attachments
-
- inkscapeLockIcons.tar.gz
- (6.96 KiB) Downloaded 224 times
-
- padlockPublic.tar.gz
- (47.63 KiB) Downloaded 223 times
Re: Make Layer Lock Icon clearer
Excellent. Solved. Thanks a lot.
1) Open as root: /usr/share/icons/oxygen/16x16/status/
2) Edit: object-unlocked.png (I made one lock green and the other red.)
3) Rename or delete the file /usr/share/icons/oxygen/icon-theme.cache
4) Go to System Settings -> Application Appearance -> Icons
5) Pick another theme. Click Apply, then pick Oxygen. Click Apply again!
1) Open as root: /usr/share/icons/oxygen/16x16/status/
2) Edit: object-unlocked.png (I made one lock green and the other red.)
3) Rename or delete the file /usr/share/icons/oxygen/icon-theme.cache
4) Go to System Settings -> Application Appearance -> Icons
5) Pick another theme. Click Apply, then pick Oxygen. Click Apply again!