Is there any way that we can edit the terminal preferences like background, colors, etc., from within the command line itself? The terminal is Gnome-terminal.I'm using Ubuntu 14.04 trusty tahr. I'm new to Linux and trying to do everything that I can think of from the command line.
Changing the preferences of Gnome-terminal from within the terminal
command line;gnome terminal
Here's what I did: Install gconf-editor sudo apt-get install gconf-editorFired it up from terminal gconf-editorWent to apps>gnome-terminal>profiles>Default inside gnome-editorThis will open up the key-value pairs for preferences.Edit the value corresponding to the required key.Thanks for pointing me in the direction rather than giving the exact answer @jasonwryan . I learnt some other things along the way.Now, I'm going to try to use gconftool-2 to do the exact same thing. I'm trying to eliminate the need for a GUI :)Useful Links: What is GconfAddition: Using gconftool-2The program gconftool-2 allows the user to interact with Gconf from the command-line.For example, you wish to set the background darkness level of terminal So, we have to set the key /apps/gnome-terminal/profiles/Default/background_darkness with a value (let's say 0.50)gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_darkness --type=float 0.50Similar to this, we can set change other values corresponding to different keys.