Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.