For example, can I keep Ambiance as main theme but assign elementary theme to elementary's app?
You can use the GTK environment variable
To get this to apply every time you launch a specific app, your best option is likely to create a custom .desktop file (launcher).
Create a custom .desktop file
The next time you launch the app from Unity (or your app launcher of choice) it will use the elementary theme.
Bonus: make it work when using command line
You may also want the app to launch with the elementary theme when launching it from the command line. To do so:
Its certainly possible, I don't have much of themeing experience, but when you navigate to
Note that the way you mentioned to theme your apps may require some work to be done (like having both Ambiance and Elementary work simultaneously, since every theme has a base file on top of which app specific styling is done, (a file
And this base theme file contains styling rules that specifically target the given theme, hence you cannot create Elementary like look and feel from Ambiance's base theme file without making some have changes, and even if you do, you'll loose Ambiance look itself.
Also, in GNOME, it is possible to have only single theme applied at a time, For Example, if you have used Appearance window in Ubuntu 12.04, you know can can select any single theme from the dropdown, in case you have used
One way you can do it by yourself is that, let the base theme file (
The question is still valid and I found a way: any folder
Yes you can, actually I googled and got some answers:
No we will create a script which will execute your program with custom theme:
Hope this helps, you have to remember only one thing, the format of the script as shown below:
Yes, the simple way is to point the application at the required path where your rc file lives, in the command that runs your application:
This on 12.04 for inkscape (which is still Gnome2 btw) produces this:
See more information about Gtk2 theme running here.