N/APosted on - 10/21/2014
I use gnome-terminal and I can change the background color or profile of an order, so I can gather some commands in an alias to visually distinguish my window, if I want some process. I use Ubuntu, and bash is my shell. There are commands to do this let me know.
Change the background color in Gnome terminal through a command
For doing multiple process you can use the dconf tool for complete that. You can also
change colors whichever you want.
For changing foreground color you can use this script:-
$ dconf write /org/gnome/terminal/legacy/profiles:/<profile id>/foreground-color "'rgb(255,255,255)'"
For changing background color you can use this script:-
$ dconf write /org/gnome/terminal/legacy/profiles:/<profile id>/background-color "'rgb(0,0,0)'"
The color code can be changed according to your requirement.