3

I use gnome terminal / Bash on Ubuntu 18.04 (the default one).

When I get some command outputs with several long lines after each other, my eye has difficulty to follow which line some later column belong to.

One good solution to avoid this problem is to use a line-based background color pattern, for example I would do the following in LibreOffice

enter image description here

Is there a way to get something similar in Bash? I.e. to get on bash a user-parametrizable alternating background color on a line basis? I looked for it quite extensively but did not find any resources so far.

Edit 1

Opened an issue there asking for feature: https://gitlab.gnome.org/GNOME/gnome-terminal/issues/175

halfer
  • 19,824
  • 17
  • 99
  • 186
Zorglub29
  • 6,979
  • 6
  • 20
  • 37
  • 1
    This would actually be a good feature for a terminal emulator, I really liked the idea. Maybe you should request such a feature from gnome-terminal (or whatever terminal you're using) developers, implementing this with shell features/utilities doesn't sound like a good idea – oguz ismail Oct 15 '19 at 08:11
  • 1
    Ok, thank you for the support and recommendation :) I will wait a day or so to see if somethings pops up here, if not I will open an issue on their repo as you recommend :) – Zorglub29 Oct 15 '19 at 09:38
  • 1
    Posted there: https://gitlab.gnome.org/GNOME/gnome-terminal/issues/175 – Zorglub29 Oct 16 '19 at 08:46
  • Gnome terminal supports background images (https://askubuntu.com/questions/797418/how-to-set-a-image-as-background-of-the-gnome-terminal). You could create a custom background image with the line highlighting pattern you want and just use that. – Mark A Oct 24 '19 at 18:59

0 Answers0