You are not logged in.
Here's a few GTK theme engines to make your GTK apps prettier.
The make install didn't work when installing to $startdir/pkg/ with Xenophilia, so had to do it like this...
# Contributor: dpb <dpb [at] gna.org>
pkgname=gtk-engines-collection
pkgver=1.0
pkgrel=1
pkgdesc="Xenophilia, Flat, gtkstep and thinice gtk1 theme engines."
url="http://themes.freshmeat.net/"
depends=(gtk)
source=(
'http://themes.freshmeat.net/redir/xenophilia/24574/url_tgz/xenophilia-0.8.tar.gz'
'http://download.freshmeat.net/themes/flat/flat-1.2.x.tar.gz'
'http://download.freshmeat.net/themes/gtkstep_/gtkstep_-1.2.x.tar.gz'
'http://download.freshmeat.net/themes/thinice/thinice-1.2.x.tar.gz'
)
md5sums=('620127ce8e668588de2373783254a3e8' '5b9e6c974c2417b5793b5c930be29f5d'
'556c5915bfdd88956354ce0890e357b0' 'f2b6e8f4c3ea3710e27a59195f2abc9a')
build() {
#
# Xenophilia engine
#
cd $startdir/src/Xenophilia-0.8
./configure --prefix=/usr
make || return 1
cd $startdir/src/Xenophilia-0.8/gtk-src/
install -d $startdir/pkg/usr/lib/gtk/themes/engines
chmod 755 libxeno.so.0.8
cp -fdp libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines
ln -fs libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines/libxeno.so.0
ln -fs libxeno.so.0.8 $startdir/pkg/usr/lib/gtk/themes/engines/libxeno.so
mkdir -p $startdir/pkg/usr/share/themes
cd $startdir/src/Xenophilia-0.8/themes/
cp -fdpR Xenophilia $startdir/pkg/usr/share/themes
cp -fdpR Xeno Thin $startdir/pkg/usr/share/themes
cp -fdpR Xeno Gradient $startdir/pkg/usr/share/themes
cp -fdpR Xeno Buffed $startdir/pkg/usr/share/themes
cp -fdpR Xeno Perkele $startdir/pkg/usr/share/themes
cp -fdpR Xeno Helix $startdir/pkg/usr/share/themes
#
# Flat engine
#
cd $startdir/src/gtk-flat-theme-0.1
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install || return 1
#
# gtkstep engine
#
cd $startdir/src/gtkstep-2.0
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install || return 1
#
# thinice engine
#
cd $startdir/src/gtk-thinice-theme-1.0.4
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install || return 1
}
Offline
hmm interesting. but now how can I change the themes? thanks
Offline
pacman -S gtk-theme-switch
and then run 'switch' to change them.
Offline
well I had switch2..
I did that didn't seem to work.. [it showed the themes though!]
it could be, because I have a GTK2 theme (yacacier3) that has some gtk1 stuff (it makes the menus that are selected Blue) but nothing else, I try to see the diff with xmms or xchm [wxgtk] but doesn't work. any ideas ?
Offline
make sure you do not mix gtk and gtk2 themes:
unfortunately switch and switch2 show all themes, but normally most of them are gtk2 (that's because they are all installed in one dir /usr/share/themes/)
however, if you want to change a gtk2-theme, you need switch2 and if you want to change a gtk1-theme, you need switch --- and you also must know what theme what gtk{1,2} is
xmms needs gtk1
The impossible missions are the only ones which succeed.
Offline
yes but I want both gtk2 and gtk1 themes [for each app]
I'm using GNOME 2.6 [and it has Theme Details] there you can do some magical work [combine different themes]
the point is that eg I choose Flat [the one this PKGBUILD provides] and xmms just doesn't change.
I remember xmms having eyecandy menus in RedHat 8
I had SlackWare 9, 9.1 and now Arch(GNU)Linux and I never made it.. :{
I did switch and xmms just doesn't like it..
r u sure that switch2 is gtk2 only? [i mean it uses GTK2 it self but is it gtk2 only and switch1 uses gtk1 but is it for GTk1 themes only?]
both ways my system doesn't obey to those apps
Offline
i wanted to check if my system acts the same ... indeed, it does:
switch does not change anything for all themes i have installed, except "6nome-sandy" theme that will change the colour of the widgets, but in the console keep telling me:
Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so",
and if i apply this theme, it says
Gtk-CRITICAL **: file gtkentry.c: line 440 (gtk_entry_set_text): assertion `text != NULL' failed.
this is indeed very strange --- has anybody managed to change the gtk1-theme on arch?
The impossible missions are the only ones which succeed.
Offline
i doubt that anyone managed, as i found out what happened:
we are missing the gtk-engines 0.12 (we have 2.2 that is for gtk2, but 0.12 is for gtk1)
i'm packaging it right now
The impossible missions are the only ones which succeed.
Offline
:-) ok, it works finally using switch to change gtk1 themes --- i will include gtk1-engines in extra soon
:-( unfortunately this:
Gtk-CRITICAL **: file gtkentry.c: line 440 (gtk_entry_set_text): assertion `text != NULL' failed.
stayed
The impossible missions are the only ones which succeed.
Offline
well I saw your package. does it work now? xmms gets a better eyecandy in menus?
I avoid gtk1 like hell but wx* app wrap with it.. and not only those apps [but a lot of others too]
anyways, do you think you can add those themes too in extra?
thanks man!
ps. this says maintainer: None!
http://www.archlinux.org/packages.php?id=3868
Offline
Strange. switch has worked for me all the time...
Offline
well I saw your package. does it work now? xmms gets a better eyecandy in menus?
if this pkg is installed, switch works (only for gtk1-themes and gtk1+gtk2-themes, but not for gtk2-only-themes)
I avoid gtk1 like hell but wx* app wrap with it.. and not only those apps [but a lot of others too]
anyways, do you think you can add those themes too in extra?
thanks man!
i'm checking what would be the best: either including only themes that work for gtk1 AND gtk2 or naming the pkgs that contain gtk1-stuff with gtk1-... instead of gtk-...
ps. this says maintainer: None!
http://www.archlinux.org/packages.php?id=3868
ups, i forgot - now it should be set right
The impossible missions are the only ones which succeed.
Offline