Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change color theme (or whole gnome-terminal profile) of terminal if for example Midnight Commander is started inside gnome-terminal? My aim is not to launch a new terminal window but to change color theme depending on launched app.

share|improve this question
up vote 1 down vote accepted

You can write a shell function to use setterm (or the equivalent on your OS) to change the colors before the program is invoked, but there is no way to change the gnome-terminal profile from the command line (the title can be changed though).

share|improve this answer
1  
This. Wrapping the desired in shell scripts that setterm the terminal then run the program is pretty much the only way to do this. – Mala Mar 25 '12 at 18:42

you can take a look at this topic: http://askubuntu.com/questions/137706/gnome-terminal-and-solarized-theme-coloring-issue

I was looking for a way to solve this using dbus...

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .