Gtk-Themeselectors - themes for gtk based applications
Gtk-Themeselectors - themes for gtk based applications
The way the Windows of Puppy look like, depends on the Toolkit that was used for programming.
Many Puppy-Apllications are based on the Toolkits "Gtk" and "Gtk2".
This small DotPup lets you start configuration-tools to change the way the applications look like.
Screenshots:
http://www.murga-linux.com/puppy/viewto ... 3066#13066
You can download "Themes" from http://themes.freshmeat.net/browse/58/
They must be extracted to /usr/share/themes, so that they can be found.
Some Themes might need additonal libraries like "libflat.so".
You can test it, by running an application from rxvt.
There will be reported errors like "module libflat.so not found".
If you need such a lib, tell me, and I might create a dotpup with some of them.
Version 03 has a button to switch back to Puppys internal Theme-selector (it deletes these 2 files: /root/.gtkrc /root/gtkrc-2.0)
New: Version 04 fixed a segmentation fault and integrates Puppys internal Themeselector.
Version 05 fixes a bug in the Bluecurve-theme.
Download (1.3 MB):
http://dotpups.de/dotpups/Desktop-Tools ... tors05.pup
Restart X or reboot after installation!
Mark
Many Puppy-Apllications are based on the Toolkits "Gtk" and "Gtk2".
This small DotPup lets you start configuration-tools to change the way the applications look like.
Screenshots:
http://www.murga-linux.com/puppy/viewto ... 3066#13066
You can download "Themes" from http://themes.freshmeat.net/browse/58/
They must be extracted to /usr/share/themes, so that they can be found.
Some Themes might need additonal libraries like "libflat.so".
You can test it, by running an application from rxvt.
There will be reported errors like "module libflat.so not found".
If you need such a lib, tell me, and I might create a dotpup with some of them.
Version 03 has a button to switch back to Puppys internal Theme-selector (it deletes these 2 files: /root/.gtkrc /root/gtkrc-2.0)
New: Version 04 fixed a segmentation fault and integrates Puppys internal Themeselector.
Version 05 fixes a bug in the Bluecurve-theme.
Download (1.3 MB):
http://dotpups.de/dotpups/Desktop-Tools ... tors05.pup
Restart X or reboot after installation!
Mark
Last edited by MU on Thu 28 Feb 2008, 04:25, edited 12 times in total.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
The themes in Puppy are located in /etc/gtk and /etc/gtk-2.0.
The GTK theme selector in Puppy is /usr/sbin/gtk-theme.
I managed to create themes that work for both GTK1 and GTK2, with only a slight change. Note also how small these themes are.
What would be very useful is a couple more very small themes that work within this mechanism, and can be added to the gtk-theme script.
Note, I have created one more in 1.0.5alpha2, a "pastel orange and peach" theme
(I created it by hacking one of the other themes).
The GTK theme selector in Puppy is /usr/sbin/gtk-theme.
I managed to create themes that work for both GTK1 and GTK2, with only a slight change. Note also how small these themes are.
What would be very useful is a couple more very small themes that work within this mechanism, and can be added to the gtk-theme script.
Note, I have created one more in 1.0.5alpha2, a "pastel orange and peach" theme
(I created it by hacking one of the other themes).
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Hey, I was just browsing through the themes, there is a very tiny XP theme, looks like it will work in Puppy, so I will add it to 1.0.5!
Doing that right now...
With thoughtjourney's input, we will have a XP desktop offered as a standard choice in the next Puppy. Not the default, which will be the "peach" theme, but the XP theme will be on the live-CD. ...expected to anyway.
Doing that right now...
With thoughtjourney's input, we will have a XP desktop offered as a standard choice in the next Puppy. Not the default, which will be the "peach" theme, but the XP theme will be on the live-CD. ...expected to anyway.
Barry,
thanks, at first look I just found the option to change the colors, but not the pixmaps.
It seems I did not look closely enough
The themes on Freshmeat:
Some are Gtk-only, some also have additional entries.
If you want to save space, simply delete the metacity-folder in the theme
Greets, Mark
thanks, at first look I just found the option to change the colors, but not the pixmaps.
It seems I did not look closely enough
The themes on Freshmeat:
Some are Gtk-only, some also have additional entries.
If you want to save space, simply delete the metacity-folder in the theme
Greets, Mark
I've tried it but it seems not compatible with the GTK theme selector that comes with Puppy
After I use it to select a theme, it seems that I can't swith back to Puppy's gtk themes.
After I use it to select a theme, it seems that I can't swith back to Puppy's gtk themes.
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005
There is no need for a backup.
You simply create a new .gtkrc, by running one of the Theme-selectors again.
A .gtkrc looks like this:
So it does not contain the Theme itself, just a "directive" for gtk, what theme to use.
The .gtkrc above uses the "QNX"-Theme.
If you delete it, Gtk does not use the QNX-Theme, instead it uses Puppys Theme.
But the QNX-theme still is in /usr/share/themes (if you installed it from freshmeat.net).
So when you run theTheme-selector again, and select "QNX", the .gtkrc will be created from new.
Mark
You simply create a new .gtkrc, by running one of the Theme-selectors again.
A .gtkrc looks like this:
Code: Select all
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/QNX/gtk/gtkrc"
include "/root/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT
The .gtkrc above uses the "QNX"-Theme.
If you delete it, Gtk does not use the QNX-Theme, instead it uses Puppys Theme.
But the QNX-theme still is in /usr/share/themes (if you installed it from freshmeat.net).
So when you run theTheme-selector again, and select "QNX", the .gtkrc will be created from new.
Mark
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Note, some of those themes on sourceforge, probably nearly all of them, load theme "engines" that are part of the GTK package.
/usr/lib/gtk-2.0/engines/
has the in-built theme engines, but I have removed all of them except "smooth", as I think that one is required. If you look in Vector, you will find the full complement of engines. Some of them are large, for example "redmond95" is, I recall, about 470K.
/usr/lib/gtk/
is where engines for GTK1 go, but I didn't put any into Puppy.
/usr/lib/gtk-2.0/engines/
has the in-built theme engines, but I have removed all of them except "smooth", as I think that one is required. If you look in Vector, you will find the full complement of engines. Some of them are large, for example "redmond95" is, I recall, about 470K.
/usr/lib/gtk/
is where engines for GTK1 go, but I didn't put any into Puppy.
Thanks Barry,
I just finished a dotpup of 1 MB size with some of those engines:
http://www.murga.org/~puppy/viewtopic.php?p=13066#13066
Greets, Mark
I just finished a dotpup of 1 MB size with some of those engines:
http://www.murga.org/~puppy/viewtopic.php?p=13066#13066
Greets, Mark
Thanks for the info MarkMU wrote:There is no need for a backup...
Btw,
# ./switch
Segmentation fault
Any idea?
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005
Hmm.. I also had this once tonight.. then I removed /root/.gtkrc , ran the Puppy-Themeselector once, and switch worked again.puppian wrote: # ./switch
Segmentation fault
Any idea?
There seems to be a bug in switch or one of the theme-engines.
I will have to test it more intensively before adding it to the wiki
Mark