GNOME Bugzilla – Bug 791216
display lines in alternating background colors
Last modified: 2021-06-10 15:27:34 UTC
I am looking for a way to have alternating lines appear in two different backgrounds (like white and light blue for example). Is it possible to do ? Kind Regards .
You could perhaps modify your app to explicitly produce such output. Alternatively, you can consider using a terminal emulator that supports background image, and set up a background image that looks like your desired background coloring. See https://unix.stackexchange.com/questions/335079/alternating-row-colours-in-terminal/335147 for more details and limitations of this approach. gnome-terminal does not support a background image, but e.g. xfce4-terminal does, and uses the same emulation engine (vte) as gnome-terminal does, only the UI around is different. There's no straightforward direct support for this in gnome-terminal (or vte), and I don't think we're planning to add it.
Okay, I will try other possibilities as you suggested. Thanks. Regards .
This could be implemented as a pref, in principle. vte could e.g. slightly dim the background colour of every other line.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2454.