I would like to be able to change the background color in gThumb 3.2.7 to black as listed in the answer to this older post, gThumb Browser and Viewer should have black background, how to do? is there a way to do this in gThumb 3.2.7?

PS. I checked in d-conf editor and as far as I can tell the old answer does not seem to fit, Then again I could be brain damaged and somehow missed it?


I've mixed the applications and this answer is not about gThumb. But I've decided to leave it here at the moment. This answer is about the application ImageViewer, that actually is called [1] EoG - Eye of GNOME.

You can change the background colour of ImageViewer through its settings: ImageViewer Menu > Preferences > Image View [tab].

enter image description here

If you want to change the background colour within the application ImageViewer via dconf-editor go to: org > gnome > eog > view > background-color.

enter image description here

  • Where rgb(255,255,0) is the RGB code of the yellow colour [2].

Or use gsettings [3], if you want to change this setting via the command line:

  • to get the current value use:

    gsettings get org.gnome.eog.view background-color
  • to set a new value use:

    gsettings set org.gnome.eog.view background-color 'rgb(255,255,0)'
  • Actually this answer isn't about gThumb, I will check about it. – pa4080 Nov 8 '17 at 13:54

The option image-viewer > black-background is not longer available in gThumb since the version 3.2.0: [1] [2]

version 3.2.0
* always use a dark background in the image viewer
version 3.1.1
* Image viewer: use dark background by default, and more neutral color instead of black

From ChangeLog for version 3.2.0: [3]

2003-02-03  Paolo Bacchilega  <paolo.bacch@tin.it>
    * src/gthumb.schemas:
    * src/gthumb-window.c (window_new, pref_black_background_changed)
    * src/fullscreen.c (fullscreen_stop, fullscreen_start): added a black_background option to always use a black background for the image viewer.

A possible way to change the background is to edit the source code and recompile. [4] But I'm not a so familiar with programming and unfortunately can't help with that.

  • Thanks, I'll have to look into the code editing bit. This is a simple thing that I mite be able to get done without making a big mess. – DEH Nov 9 '17 at 21:37
  • Hi, @DEH, it would be nice to create an answer when you succeed. – pa4080 Nov 9 '17 at 21:44
  • I just downloaded the code for gThumb, editing it maybe a bigger project than I thought when you mentioned editing the code. I was thinking something like search one text file of code for "background color" or some such and change some hex color code like 00,00,00 to FF,FF,FF. But alas I see its not anywhere near that simple. I first have to figure out which of the 1358 files has the little bit of code in it, then I need to download 15 library files, then I can compile the code. On further thought I think this mite be something I would need a LOT of help to do. – DEH Nov 10 '17 at 8:38
  • PS. By the way there is a new version of gThumb 3.5.4, it came out 4 days ago. – DEH Nov 10 '17 at 8:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.