X1R1
November 29th, 2009, 02:30 AM
If you are like me, you like to mess around with your system a lot a try new stuff. One of the things I hate is when I found a pretty good theme but then I open up and application and I dont like the colors used in that specific application, but everything else is fine so I want to change just that application look and feel.
I will do this with pidgin but you can use it with any GTK application.
First, get the theme you would like to install into your custom app and install it normally (system wide).
Left click the desktop and choose change desktop background, from there you can install a theme you have already downloaded or search for a theme you like.
I will asume you already have the theme installed, if you dont know how to do it just post here and I will add it to this howto.
All your installed GTK themes are on /usr/share/themes/
so you need to choose one theme from here first (remember the folder name you would need it).
After that you need to edit the application launcher to set the specific theme, all the launchers are stored in /usr/share/applications/
So, lets say you want to skin pidgin with a theme called "Clearlooks-DarkLime" then go and edit:
sudo gedit /usr/share/applications/pidgin.desktop
and on the Exec line paste the following:
bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks-DarkLime/gtk-2.0/gtkrc pidgin'
Save and close the file. Then go ahead and open your application, you will notice that its looks completely different from the system theme.
I used pidgin here as an example cause people tend to like to skin messengers, so I figured this would help.
But you can do this with any GTK application you want, you just need to edit the launcher.
And that wraps it up, if you need help just post here I will be around :popcorn:
Hope it helps!!!
Special thanks to reed9 for helpin me.
I will do this with pidgin but you can use it with any GTK application.
First, get the theme you would like to install into your custom app and install it normally (system wide).
Left click the desktop and choose change desktop background, from there you can install a theme you have already downloaded or search for a theme you like.
I will asume you already have the theme installed, if you dont know how to do it just post here and I will add it to this howto.
All your installed GTK themes are on /usr/share/themes/
so you need to choose one theme from here first (remember the folder name you would need it).
After that you need to edit the application launcher to set the specific theme, all the launchers are stored in /usr/share/applications/
So, lets say you want to skin pidgin with a theme called "Clearlooks-DarkLime" then go and edit:
sudo gedit /usr/share/applications/pidgin.desktop
and on the Exec line paste the following:
bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks-DarkLime/gtk-2.0/gtkrc pidgin'
Save and close the file. Then go ahead and open your application, you will notice that its looks completely different from the system theme.
I used pidgin here as an example cause people tend to like to skin messengers, so I figured this would help.
But you can do this with any GTK application you want, you just need to edit the launcher.
And that wraps it up, if you need help just post here I will be around :popcorn:
Hope it helps!!!
Special thanks to reed9 for helpin me.