taime1
Member

Posts: 22
|
 |
« on: May 06, 2008, 09:30:36 am » |
|
i compiled a couple different theme engines (clearlooks and nimbus), and whether i use --prefix=/usr or not, the themes that depend on those engines do not seem to be able to find them. in other words, the themes fail. ugly widgets, scroll bars etc... what am i doing wrong?
|
|
|
|
« Last Edit: May 06, 2008, 03:27:40 pm by taime1 »
|
Logged
|
|
|
|
|
|nic|
|
 |
« Reply #1 on: May 06, 2008, 10:04:43 am » |
|
Hi, I have kind of the same problem. What I did is type the theme that I wanted to use in the .gtkrc-2.0 file in my home directory. I'm using Clearlooks-Deepsky. so my file looks like this: # -- THEME AUTO-WRITTEN DO NOT EDIT include "/usr/share/themes/Clearlooks-Deepsky/gtk-2.0/gtkrc"
include "/home/nic/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT hope this can help. greetz
|
|
|
|
|
Logged
|
registered user #393337
2x AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ / 4 gb ram / GeForce GT220 / 500 gb HD / VL7 Std
Samsung NP110 / VL7 Std
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #2 on: May 06, 2008, 10:10:07 am » |
|
If you are using VL5.9 Standard (can't confirm the others at the moment), your theme engines should end up in: /usr/lib/gtk-2.0/2.10.0/engines
I didn't attempt nimbus, but I did compile and install clearlooks without any issues just the other day.
Try opening a application that uses gtk from the command line in a console. You will see error messages flashing by that might give you clues what is going wrong.
|
|
|
|
|
Logged
|
|
|
|
taime1
Member

Posts: 22
|
 |
« Reply #3 on: May 06, 2008, 10:59:52 am » |
|
my themes did not end up in that foler. in fact, they are in all kinds of other folders like /usr/gtk/.... and /user/local/gtk....
i tried using --prefix=/usr/lib but got nothing. how can i get these engines to install correctly?
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #4 on: May 06, 2008, 12:09:45 pm » |
|
I used this file: http://www.gnome-look.org/CONTENT/content-files/19527-clearlooks-0.6.2.tar.bz2Located on this page: http://www.gnome-look.org/content/show.php?content=19527I extracted, and built it with the basic commands: ./configure --prefix=/usr make make install It just worked. leeh:$ ls /usr/lib/gtk-2.0/2.10.0/engines/
libclearlooks.la* libpixmap.la* libsvg.la* libxfce.la* libclearlooks.so* libpixmap.so* libsvg.so* libxfce.so*
Besides the theme engine, it will also install some themes that use the engine. Here's a list of all the files it created: /usr/ /usr/lib/ /usr/lib/gtk-2.0/ /usr/lib/gtk-2.0/2.10.0/ /usr/lib/gtk-2.0/2.10.0/engines/ /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.la /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so /usr/share/ /usr/share/icons/ /usr/share/icons/Clearlooks/ /usr/share/icons/Clearlooks/16x16/ /usr/share/icons/Clearlooks/16x16/gtk/ /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-first-ltr.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-refresh.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-cancel.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-last-ltr.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-forward-rtl.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-forward-ltr.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-bottom.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-back-rtl.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-down.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-first-rtl.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-apply.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-last-rtl.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-go-up.png /usr/share/icons/Clearlooks/16x16/gtk/gtk-goto-top.png /usr/share/icons/Clearlooks/24x24/ /usr/share/icons/Clearlooks/24x24/gtk/ /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-first-ltr.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-refresh.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-cancel.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-last-ltr.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-forward-rtl.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-ok.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-forward-ltr.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-bottom.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-back-rtl.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-back-ltr.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-down.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-first-rtl.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-apply.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-last-rtl.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-go-up.png /usr/share/icons/Clearlooks/24x24/gtk/gtk-goto-top.png /usr/share/icons/Clearlooks/index.theme /usr/share/themes/ /usr/share/themes/Clearlooks-Quicksilver/ /usr/share/themes/Clearlooks-Quicksilver/gtk-2.0/ /usr/share/themes/Clearlooks-Quicksilver/gtk-2.0/gtkrc /usr/share/themes/Clearlooks-DeepSky/ /usr/share/themes/Clearlooks-DeepSky/gtk-2.0/ /usr/share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc /usr/share/themes/Clearlooks/ /usr/share/themes/Clearlooks/gtk-2.0/ /usr/share/themes/Clearlooks/gtk-2.0/gtkrc /usr/share/themes/Clearlooks/index.theme /usr/share/themes/Clearlooks-Olive/ /usr/share/themes/Clearlooks-Olive/gtk-2.0/ /usr/share/themes/Clearlooks-Olive/gtk-2.0/gtkrc
|
|
|
|
« Last Edit: May 06, 2008, 12:19:15 pm by exeterdad »
|
Logged
|
|
|
|
taime1
Member

Posts: 22
|
 |
« Reply #5 on: May 06, 2008, 12:19:31 pm » |
|
Well, didnt have a problem getting Clearlooks to install, but any theme that Relies on clearlooks engine, doesnt work. and the same goes for the other engine i compiled. So i have clearlooks, but not the theme which depends on it. Tried recompiling a few times.. still nothing...
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #6 on: May 06, 2008, 12:25:22 pm » |
|
are your themes actually found? Are they installed in /usr/share/themes/YOURNEWTHEMEFOLDER or in $HOME/.themes/YOURNEWTHEMEFOLDER ? Did you try running a gtk app from the console to read any complaints?
|
|
|
|
|
Logged
|
|
|
|
taime1
Member

Posts: 22
|
 |
« Reply #7 on: May 06, 2008, 12:27:17 pm » |
|
themes are in .themes and i did run gtk app, go the error : Unable to locate theme engine in module_path
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #8 on: May 06, 2008, 12:36:44 pm » |
|
Yuck. Not much help there. Just to be clear, a couple posts back you said you didn't have /usr/lib/gtk-2.0/2.10.0/engines/.
But then later you said it installed fine. Was you your first comment a mistake, and you do have the .la and .so files in THAT folder?
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #9 on: May 06, 2008, 12:43:12 pm » |
|
Also forgot to mention something kinda critical. As root you need to execute: ldconfig after the "make install" But it's never too late. 
|
|
|
|
|
Logged
|
|
|
|
taime1
Member

Posts: 22
|
 |
« Reply #10 on: May 06, 2008, 12:44:24 pm » |
|
i do in fact have that folder.. in fact, thats where pixpams engine is. but when i compile, it doesnt install to that folder. even if i use the prefix --prefix=/usr or /usr/lib or /usr/lib/gk... i tried everything
|
|
|
|
|
Logged
|
|
|
|
taime1
Member

Posts: 22
|
 |
« Reply #11 on: May 06, 2008, 12:45:39 pm » |
|
ldconfig!!! omg.. im such an idiot.. ive been doing updatedb. aw geez.. ill have to give it a try.. ill vnc my box at home, and ill let you know.
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #12 on: May 06, 2008, 12:49:15 pm » |
|
lol Hope that's the ticket. Don't feel like an idiot, I didn't even think to mention it until just now. Kinda out of the habit of running it since it's unnecessary when building packages. It's ran on the users machine by the package manager when installing packages.
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #13 on: May 06, 2008, 12:52:26 pm » |
|
i do in fact have that folder.. in fact, thats where pixpams engine is. but when i compile, it doesnt install to that folder. even if i use the prefix --prefix=/usr or /usr/lib or /usr/lib/gk... i tried everything
That's really odd. Are you reusing the same sources for each build attempt? You might want to delete the folder and extract yourself a fresh one. It may have a cache from earlier attempts and not accepting your new --prefix. Just a guess.
|
|
|
|
|
Logged
|
|
|
|
exeterdad
Packager
Vectorian
   
Posts: 2046
|
 |
« Reply #14 on: May 06, 2008, 01:04:59 pm » |
|
Oh cool! I got 1337 posts on my last post and got my 'leet' thingie instead of my post count. Someone owes me a beer dang it! 
|
|
|
|
|
Logged
|
|
|
|
|