Gwenview - Dark Mode not working as expected

Hello,
Dark Mode is not working as expected for me in Gwenview.

I want to have a dark background in View Mode.
I set it to Dark Mode with “Ansicht → Dunkler Modus” (engl. View → Dark Mode) from the top menu.

Whenever I start Gwenview by clicking on an image in my file explorer the background is white.

When I enter fullscreen the background turns black. When I leave fullscreen afterwards it stays black which is the behavior I would expect when initially launching the application.

Any way to fix this?
Thank you very much.

Ver: 24.12.0 (arch package)
OS: Arch
Desktop: Xfce

You’re on xfce. Your overall theme is probably white-ish. If you want a dark background you could try to add a plasma colorscheme to gwenview’s rc.

1 Like

on Plasma, I can’t select any option apart from ‘follow colour scheme’. Sorry.

Thank you!
Could you paste your config here so I don’t have to type it it?

You don’t have to type anything. Get some dark plasma color scheme of your likings and paste it into the rc. See what gives. My config file won’t help you. Here, make a backup ( just in case) of your config and paste the colorscheme in the rc. It’s pretty dark and you can still adjust the colors if you want.

[ColorEffects:Disabled]
ChangeSelectionColor=false
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65
ContrastEffect=0
Enable=
IntensityAmount=0.1
IntensityEffect=0

[ColorEffects:Inactive]
ChangeSelectionColor=false
Color=112,111,110
ColorAmount=0.025
ColorEffect=2
ContrastAmount=0.1
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0

[Colors:Button]
BackgroundAlternate=56,67,77
BackgroundNormal=22,26,30
DecorationFocus=40,48,55
DecorationHover=43,51,59
ForegroundActive=170,255,0
ForegroundInactive=171,188,200
ForegroundLink=255,85,0
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=5,150,254
ForegroundPositive=39,174,96
ForegroundVisited=127,140,141

[Colors:Complementary]
BackgroundAlternate=29,35,40
BackgroundNormal=49,54,59
DecorationFocus=40,48,55
DecorationHover=40,48,55
ForegroundActive=246,116,0
ForegroundInactive=175,176,179
ForegroundLink=61,174,230
ForegroundNegative=237,21,21
ForegroundNeutral=201,206,59
ForegroundNormal=239,240,241
ForegroundPositive=255,0,255
ForegroundVisited=61,174,230

[Colors:Selection]
BackgroundAlternate=118,162,237
BackgroundNormal=40,48,55
DecorationFocus=40,48,55
DecorationHover=40,48,55
ForegroundActive=252,252,252
ForegroundInactive=171,188,200
ForegroundLink=255,85,0
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=5,150,254
ForegroundPositive=39,174,96
ForegroundVisited=189,195,199

[Colors:Tooltip]
BackgroundAlternate=67,73,80
BackgroundNormal=22,26,30
DecorationFocus=33,38,44
DecorationHover=40,48,55
ForegroundActive=61,174,233
ForegroundInactive=171,188,200
ForegroundLink=255,85,0
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=5,150,254
ForegroundPositive=39,174,96
ForegroundVisited=127,140,141

[Colors:View]
BackgroundAlternate=29,35,40
BackgroundNormal=22,26,30
DecorationFocus=47,57,65
DecorationHover=5,150,254
ForegroundActive=118,162,237
ForegroundInactive=171,188,200
ForegroundLink=255,85,0
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=185,185,185
ForegroundPositive=39,174,96
ForegroundVisited=127,140,141

[Colors:Window]
BackgroundAlternate=29,35,40
BackgroundNormal=22,26,30
DecorationFocus=5,150,254
DecorationHover=85,0,127
ForegroundActive=118,162,237
ForegroundInactive=171,188,200
ForegroundLink=255,85,0
ForegroundNegative=218,68,83
ForegroundNeutral=5,150,254
ForegroundNormal=185,185,185
ForegroundPositive=39,174,96
ForegroundVisited=127,140,141

[General]
ColorScheme=SolusNewApple
Name=SolusNewApple
shadeSortColumn=false

[KDE]
contrast=2

[WM]
activeBackground=22,26,30
activeBlend=5,150,254
activeForeground=22,26,30
inactiveBackground=22,26,30
inactiveBlend=22,26,30
inactiveForeground=5,150,254

1 Like

Thank you. I now added this to gwenviewrc:

[Colors:View]
BackgroundNormal=22,26,30

This makes the image background and the left info pane dark in view mode right after starting the application.

Now after entering fullscreen and returning to normal view the left pane turns to light grey, but I can live with that.

1 Like

Well, if you want the entire gwenview in a dark mode you’ll have to fiddle with the qt5ct or run gwenview in a dark kvantum theme ( you’ll still need the colors in the rc though) override.

Thank you for the insight. I guess it’s pretty complicated to make things work correctly on Xfce. As only the white background really annoyed me every time I was looking at a picture, this solution is good enough for me.

It’s not that hard really. If you want qt apps to follow your gtk theme, use qt5(6)ct.
But if you want certain qt apps to run in a particular color, regardless of the gtk settings, I’m afraid kvantum is the only option. But there are some that DO require an extra for certain bits and bobs, like gwenview.