Hello!
Is it possible to make custom themes, for example for F-spot. I want to create another metacity for it. Is it possible, and how to set specific metacity to apps?
Thank you!
Hello!
Is it possible to make custom themes, for example for F-spot. I want to create another metacity for it. Is it possible, and how to set specific metacity to apps?
Thank you!
Last edited by artrbinfo; July 12th, 2008 at 05:08 PM.
Ubuntu here, ubuntu there, ubuntu everywhere! Hope so
All apps using GTK themes will have the same theme you select in the Appearance Properties window. So I don't think (or I don't know) whether it can be done..
Need help? Contact us.Sayak Banerjee
KDE Sysadmin | KDE e.V.
The F-Spot web site http://f-spot.org/Main_Page doesn't seem to have anything about making themes for it.
Check out these on metacity themes.
Metacity Wiki http://en.wikipedia.org/wiki/Metacity
Gnome metacity themes http://art.gnome.org/themes/metacity
Designing Metacity Themes http://developer.gnome.org/doc/tutor...ty-themes.html
The How-To-Geek http://www.howtogeek.com/tag/ubuntu/ubuntu-tips/
The final and most influential thing anyone will ever teach you is to be independent of the influence of others.
You can set different Gtk themes for certain applications, but I don't think using a different Metacity theme would work.
If you want to use a different Gtk theme for f-spot, launch it with the following command:
Your theme's gtkrc file will be either in /home/USERNAME/.themes/THEMENAME/gtk-2.0/gtkrc for themes you have installed, or /usr/share/themes/THEMENAME/gtk-2.0/gtkrc for themes that you installed systemwide (as through Synaptic or apt).GTK2_RC_FILES=/path/to/your/theme/gtkrc f-spot
If you'd also like to set a custom icon theme and font for the application, create an empty file, wherever you find convenient (for example in /home/USERNAME/.themes) and call it fspot.gtkrc or so. Then add the following to that file:
Change 'Human' to the icon theme you'd like to use, and "Sans" to the font you'd like to use. The /path/to/your/theme/gtkrc is the same as mentioned above.#To set the Gtk theme
include "/path/to/your/theme/gtkrc"
#To set the icon theme
gtk-icon-theme-name = "Human"
#To set the font
style "Sans"
{
font_name = "Sans 8"
}
widget_class "*" style "Sans"
gtk-font-name = "Sans 8"
To launch the application with these settings, use the following:
(If you saved the file elsewhere, adjust the above appropriately.)GTK2_RC_FILES=/home/USERNAME/.themes/fspot.gtkrc f-spot
If using this in a launcher doesn't work (it works from the terminal), try the following:
EDIT: This works fine in Openbox, which is the window manager I use, but it seems that if you have either gnome-settings-daemon or xfce-mcs-manager running (which control the Gtk theme and more in Gnome and Xfce respectively) this method doesn't work.bash -c 'GTK2_RC_FILES=/path/to/your/gtkrc f-spot'
Last edited by urukrama; July 13th, 2008 at 03:04 PM.
Different gtk themes for applications is a yes, metacity highly likely no.
Sorry for my late answer!
Thank you very much! Now I'll try to do that all.
TNX again!
Ubuntu here, ubuntu there, ubuntu everywhere! Hope so
Bookmarks