I'd like to change the background color of the Ubuntu terminal emulator to say, red. However, I want to do it using the commandline, like the Windows equivalent color 0F
, since I'm making a program that has changing the background color as a core function and I don't really want it to rely on any dependencies, unless it is really necessary.
Regarding the comment saying there's already an answer to this:
The answer on the question requires a package in order for it to work. I need a way for it to work without a package.
gnome-terminal
, don’t you? – dessert May 09 '19 at 11:40gconftool-2 --set "/apps/gnome-terminal/profiles/<profile_name>/background_color" --type string "#000000"
? – dessert May 09 '19 at 12:09sudo apt install gconf2 `
– tequila May 09 '19 at 12:11gconf
. – dessert May 09 '19 at 12:21