Menu

#222 System icons are almost invisible

v1.0_(example)
open
nobody
None
5
2021-05-26
2021-05-20
No

Hello, thank you for delivering such a good product like Xournal.

I'm using Xournal on Fedora 33 KDE and i have issues with system icons. They appear to be white over a light background, so they are almost invisible. I'm expecting that the icons would be of black color on a light background instead. I tried changing theme for gtk apps, while other gtk apps actually change appearance Xournal seems to not reflect any change. I also tried to export GTK_THEME before launching app, but this does not affect Xournal appearance either. Are icons hardcoded in the app? Am I missing some setting?

screenshot

Related

Bugs: #222

Discussion

  • Denis Auroux

    Denis Auroux - 2021-05-21

    There is something very wrong with your GTK2 icon theme (or rather, it's not compatible with the lighter colored toolbars that Xournal uses), but I'd argue this is not a Xournal bug, it's a bug with your theme settings. The icons that show up normally (those on the second row) are hardcoded in Xournal, the top row icons are system icons and theme-dependent.

    Important: xournal uses GTK2, not GTK3 like most current GTK software with a few notable exceptions, so the theme settings are different -- you want to set the GTK2 theme, not just the GTK3 theme.

    The howto at
    https://wiki.archlinux.org/title/GTK
    is good at explaining where settings for different versions of GTK live.
    In particular, GTK_THEME only affects GTK3. For GTK2 the environment variable is GTK2_RC_FILES. For example:

    export GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc

    However... most GTK2 themes only change colors etc., not the whole icon theme. The easiest way to change your GTK2 icon theme is using gnome-tweaks: run gnome-tweaks, go under "Appearance", under Themes change the Icons selection.

    Based on your screenshot and my own trial and error, I think you currently have the icons theme set to "Breeze-dark", which isn't good at all for Xournal. I suggest pretty much any of the others.

    If for some reason you don't want to use gnome-tweaks, see
    https://unix.stackexchange.com/questions/150853/how-to-set-gtk-icon-theme-in-i3
    for other ways to change the GTK icon theme.

    Hope this helps.
    Denis

     
  • Daniele La Prova

    My friend, i'd kiss you if you were by me, exporting GTK2_RC_FILES works just fine! Seems like my distro does not manage gtk2 themes anymore. Before, there were two distinct settings, one for gtk2 theme and one for gtk3 theme. Now there is only one generic gtk setting. I guess it refers to gtk3 apps only. I can't even find the config files mentioned in the Arch wiki.
    Thank you for your support!

     

Log in to post a comment.

MongoDB Logo MongoDB