Papirus-icon-theme: Disabling Icon theme just for one program

Created on 10 Jul 2017  路  25Comments  路  Source: PapirusDevelopmentTeam/papirus-icon-theme

Thank you for the great theme!
Is it possible to disable the icon theme just for one program (in my case Inkscape)?

question

Most helpful comment

Overriding GTK2_RC_FILES seems to work on my KDE plasma

GTK2_RC_FILES=~/.my.gtkrc-2.0 inkscape

~/.my.gtkrc-2.0:

# File created by KDE Gtk Config
# Configs for GTK2 programs 

include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
style "user-font" 
{
    font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 10"
gtk-theme-name="Arc-solid"
gtk-icon-theme-name="Numix"
gtk-fallback-icon-theme="hicolor"
gtk-cursor-theme-name="breeze_cursors"
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=0

I just copied the default ~/.gtkrc-2.0 produced by KDE settings and made by edits. But anyway it would be best if we could choose the theme from inkscape itself.

Off topic: I used Numix (flat but colorful icons) here as it matches the flat appearance of Papirus. This will also pair it up nicely (https://store.kde.org/p/1168331/). If you want "stock" inkscape experience you can use Adwaita icon theme instead.

All 25 comments

As far as I know, it's impossible, but you can change GTK theme to more contrasting one https://unix.stackexchange.com/a/185115

Thank you :)

Why this needed?
Papirus - white window & dark panel
Papirus Dark - dark window & dark panel
Papirus Light - light window & light panel

I really like your icons, but there's one exception: Inkscape.
I just like the standard symbols more, because I find the symbol I need immediately when I can distinguish them by their colour.

@thraemos I also tried to restore Inkscape default symbols using that guide http://wiki.inkscape.org/wiki/index.php/Customizing_Inkscape#Change_icons but I had no success on Inkscape v0.92

That's too bad, but thank you for trying!

Also i'm try this variant, but not worked:
GTK2_RC_FILES=~/my.gtkrc inkscape
~/my.gtkrc :

gtk-icon-theme-name = "Adwaita"
gtk-theme-name = "Adwaita"
gtk-font-name = "DejaVu Sans 11"

Overriding GTK2_RC_FILES seems to work on my KDE plasma

GTK2_RC_FILES=~/.my.gtkrc-2.0 inkscape

~/.my.gtkrc-2.0:

# File created by KDE Gtk Config
# Configs for GTK2 programs 

include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
style "user-font" 
{
    font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 10"
gtk-theme-name="Arc-solid"
gtk-icon-theme-name="Numix"
gtk-fallback-icon-theme="hicolor"
gtk-cursor-theme-name="breeze_cursors"
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-menu-images=1
gtk-button-images=1
gtk-primary-button-warps-slider=0

I just copied the default ~/.gtkrc-2.0 produced by KDE settings and made by edits. But anyway it would be best if we could choose the theme from inkscape itself.

Off topic: I used Numix (flat but colorful icons) here as it matches the flat appearance of Papirus. This will also pair it up nicely (https://store.kde.org/p/1168331/). If you want "stock" inkscape experience you can use Adwaita icon theme instead.

Worked for me:
image

Anybody know PPA with enabled new SVG's-theme for GiMP?
image

for Xenial

not worked, broken depend libmypaint >= 1.4 :(

Looking cool ;)
image

@varlesh , Are the new Gimp icons SVG files or are they rendered to PNG?

I ask you because I made a Gimp symbolic theme years ago and I'm interesting in the new theme.

Here you can see my work:
http://www.jesusda.com/files/symbolic-gimp.7z

@jEsuSdA Yes SVG

Some fixes )
Papirus Colors:

sudo sh -c "sed -i s/414141/5c616c/g /usr/share/gimp/2.0/icons/Symbolic-Inverted/*/apps/*.svg"
sudo rm -r /usr/share/gimp/2.0/icons/Symbolic-Inverted/*/apps/gimp-wilber*

Papirus Dark Colors:

sudo sh -c "sed -i s/bebebe/d3dae3/g /usr/share/gimp/2.0/icons/Symbolic/*/apps/*.svg"
sudo rm -r /usr/share/gimp/2.0/icons/Symbolic/*/apps/gimp-wilber*

Also on Settings need set "Use icon size from theme" this looking fine:
image

I've made a version of the new theme for being used with Gimp 2.8.

I've created 3 size versions: Normal, Medium and Small with the gray color of ePapirus.

Here the comparison:

gimp-symbolic_ep_comparison

And here, the themes:

gimp-symbolic_ep
Symbolic_ep.zip

gimp-symbolic_ep_medium
Symbolic_ep_medium.zip

gimp-symbolic_ep_small
Symbolic_ep_small.zip

I hope you like it. ;)

Very good :+1:
PS: But anyway gimp will be updated on the future. And sed universal method for this :)

Where do I place the .gtkrc-inkscape file?
Below is the contents of the file.

gtk-theme-name="elementary"
gtk-icon-theme-name="ePapirus"
gtk-fallback-icon-theme="hicolor"

@reya276 where you want. You should pass the path to the file in your inkscape.desktop:

[Desktop Entry]
Version=1.0
Name=Inkscape
GenericName=Vector Graphics Editor
...
Exec=GTK2_RC_FILES=~/.gtkrc-inkscape inkscape %F
TryExec=inkscape
Terminal=false
StartupNotify=true
Icon=inkscape

Does not work. When I add the code "GTK2_RC_FILES=~/.gtkrc-inkscape" inkscape fails to launch.

I don't know why papirus change inkscape icons without user concerns. I've tried multiple ways to change inkscape icons. No one works for inkscape 0.92.

Till I tried SmartFinn recommendations

1) I copied .gtkrc-2.0, change icons value, rename to .gtkrc-2.0.inkscape
2) execute inkscape with $ GTK2_RC_FILES=~/.gtkrc-2.0.inkscape inkscape

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrceephax picture mrceephax  路  6Comments

jEsuSdA picture jEsuSdA  路  5Comments

Tichy picture Tichy  路  3Comments

serovar picture serovar  路  5Comments

Chamrosh picture Chamrosh  路  6Comments