Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: alan52 on November 14, 2010, 02:10:27 AM

Title: [gtk] how to give tce a new theme
Post by: alan52 on November 14, 2010, 02:10:27 AM
Hello all,
I'm a newbie, so excuse my ignorance, but could someone please explain simply how to apply a new theme .

Everyone has to start somewhere!!
Title: Re: [gtk] how to give tce a new theme
Post by: Juanito on November 14, 2010, 02:14:17 AM
Do you mean that you'd like to change the background wallpaper or that you'd like to change a gtk1/gtk2 theme?

If you'd like to change the background wallpaper, there's a button for this in the cpanel named "wallpaper" or "background" or similar (I'm not a tc machine right now).
Title: Re: [gtk] how to give tce a new theme
Post by: alan52 on November 14, 2010, 02:47:18 AM
I want to change the gtk/gtk2 theme
Title: Re: [gtk] how to give tce a new theme
Post by: alan52 on November 14, 2010, 02:49:39 AM
just for interest how do you install a new wallpaper in cppanel, I know how to change the colour
Title: Re: [gtk] how to give tce a new theme
Post by: Juanito on November 14, 2010, 02:54:50 AM
For gtk2 themes:

you can install the gtk2_prefs extension and use the gtk2_prefs utility to change themes.

you can also install the gtk-engines extension, which looks like it provides more themes to choose from.

For gtk1 themes:

you can install the gtk1-industrial-engine extension
Title: Re: [gtk] how to give tce a new theme
Post by: Juanito on November 14, 2010, 02:56:40 AM
just for interest how do you install a new wallpaper in cppanel, I know how to change the colour

You copy a jpg or png file into /opt/backgrounds and it will appear in the install section of the appropriate wallpaper/background button (I'm still not at a tc machine).
Title: Re: [gtk] how to give tce a new theme
Post by: alan52 on November 14, 2010, 05:29:21 AM
gtk2 pref utility installed but does nothing when clicked, downloaded a .tar.gz theme , how do i apply it to tce?
Title: Re: [gtk] how to give tce a new theme
Post by: jur on November 14, 2010, 06:28:59 AM
What error message is there when you type gtk2_prefs in a terminal?
Title: Re: [gtk] how to give tce a new theme
Post by: alan52 on November 14, 2010, 10:57:37 AM
What error message is there when you type gtk2_prefs in a terminal?
No error message received. using gtk1 theme changer, trying to install a gtk2 .tar.gz theme, I click on the theme and also apply after install but nothing happens!
gtk2_prefs runs as sudo but not advised, chose theme , message box asked to overwrite root but on reboot nothing had changed.
downloaded gtk2-greenheart.tar.gz as installed theme , attempted install using gtk1 theme changer but again nothing happened.
Title: Re: [gtk] how to give tce a new theme
Post by: Juanito on November 14, 2010, 12:23:25 PM
gtk1 theme changer will not work with gtk2...
Title: Re: [gtk] how to give tce a new theme
Post by: jls on November 14, 2010, 05:48:26 PM
gtk2_prefs doen't show themes in ~/.themes while lxappearance does it
Title: Re: how to give tce a new theme
Post by: tinypoodle on November 14, 2010, 11:16:36 PM
For gtk2 themes:

you can install the gtk2_prefs extension and use the gtk2_prefs utility to change themes.

you can also install the gtk-engines extension, which looks like it provides more themes to choose from.

gtk-engines appears to be a dependency of gtk2_prefs
Title: Re: [gtk] how to give tce a new theme
Post by: tinypoodle on November 14, 2010, 11:54:25 PM
Never having seen or heard of gtk2_prefs before, on this occasion trying it out worked as expected.
It does not require to be ran as root.
Upon running gtk2_prefs creates ~/.gtkrc-2.0, and a default theme seems to get applied already without any further manipulation.
All that is required is to restart the gtk apps in question.

BTW, very happy with this, getting rid of those huge screen estate wasting icons, e.g. in rox filer.   ;D
Title: Re: [gtk] how to give tce a new theme
Post by: tinypoodle on November 15, 2010, 06:46:20 PM
gtk2_prefs doen't show themes in ~/.themes while lxappearance does it

Installed and then used lxappearance, all I can note that it modifies ~/.gtkrc-2.0, no ~/.themes present.