My biggest issue in on the web all those bright white backgrounds...
I see some options like noSquint and greese monkey.
Any recommendations
I am using the wayland Vanilladpup 10.0.29
Firefox 102.15.1esr
There's a good extension for Firefox called Color Changer which is a lightweight and effective way to change to the background, text, and link colors. Also it has an easy checkbox to turn on and off per website as you go.
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 3:26 am
by MochiMoppel
Turning Geany into a more eye friendly experience works fo me by applying the "Invert syntax highlighting colors" option in the Preferences dialog.
The background of the editor canvas turns to black and the foreground color of plain text turns to white.
When syntax highlighting comes into play, the default colors may need adjustment. For example OOTB the color of quoted strings of a shell script are set to a pretty light yellowish color, which, when inverted, turns into dark blue...not really suitable on a black background. I therefore adapted colors in the file /root/.config/geany/filedefs/filetypes.sh to values that look OK in "normal" and inverted color settings.
geany_inverted.jpg (127.51 KiB) Viewed 654 times
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 12:11 pm
by gychang
@MochiMoppel very useful, thanks.
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 1:26 pm
by Amol
Thank you very much MochiMoppel for this tip with geany.
Amol.
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 4:48 pm
by tosim
@MochiMoppel I thought you'd like to see this screenshot I took.
02Nov2023.jpg (28.11 KiB) Viewed 584 times
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 5:36 pm
by Dry Falls
Attached is geany-schemes-1.38-noarch-1JL64.tgz collected over the years from the old forum. Sorry, no link. This may require geany-plugins (https://plugins.geany.org/) which should be in your repo or available with pet-get/ppm.
Re: How to change the background color of Rox and Geany? (eye strain)
Posted: Sat Nov 04, 2023 6:28 pm
by d-pupp
Many Thanks
@gychang Thanks for the video I found it some time ago and tried but no success. However I noticed this line
include "/usr/share/themes/Numix/gtk-2.0/gtkrc" in the /root/.gtkrc-2.0
I found that is the theme controlling rox. So I changed the background color and restarted the graphic server. Now I have a light grey background. Thanks
@MochiMoppel and @Dry Falls After I posted this I was on the geany site looking at themes. I saw an item on using Python to change themes and had seen something I think on super user about how geany themes are setup. Using that info and looking around in geany I realized it already had an alternate theme. Turns out they are real simple to edit. Thanks
It is located in /usr/share/geany/colorschemes/alt.conf
I made a copy and started playing around
To change the background color edit this line
Here is what it means
[category] = [foreground color]; [background color]; [is Bold]; [is Italic]
Use can use the color picker just remove the #
The original code
@MochiMoppel I thought you'd like to see this screenshot I took.
A Japanese proverb comes to mind: "e ni kaita mochi". Literally "Mochi painted on a picture".
Means: Very nice to look at but useless because you can't eat them.