Is it possible to change the background (or window) color of open terminal window on Ubuntu GNOME environment? I would like to do this for tagging purpose when working with multiple terminals.
1 Answer
You can do so in GNOME Terminal and a few other (although not all) terminal emulators using the OSC 11 escape sequence with a color name or an #RGB code, e.g.:
echo -ne '\e]11;yellow\a' or
echo -ne '\e]11;#abcdef\a' Similarly, use number 10 instead of 11 for the default text color.
- can I also change the color of text? Awesome trick anywayTuomas Toivonen– Tuomas Toivonen2017-08-14 13:07:09 +00:00Commented Aug 14, 2017 at 13:07