After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791216 - display lines in alternating background colors
display lines in alternating background colors
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-04 17:13 UTC by Vinay N K
Modified: 2021-06-10 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vinay N K 2017-12-04 17:13:07 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
.
Comment 1 Egmont Koblinger 2017-12-04 19:45:49 UTC
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.
Comment 2 Vinay N K 2017-12-05 09:54:04 UTC
Okay, I will try other possibilities as you suggested. Thanks.

Regards
.
Comment 3 Christian Persch 2019-11-20 22:18:51 UTC
This could be implemented as a pref, in principle. vte could e.g. slightly dim the background colour of every other line.
Comment 4 GNOME Infrastructure Team 2021-06-10 15:27:34 UTC
-- 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.