LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-04-2008, 10:41 AM   #1
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Rep: Reputation: 15
how to install kwin decoration slackware 12.1 kde 3.5.9


I downloaded a window decoration from kde-look.org, called crystal (http://kde-look.org/content/show.php...?content=13969). I have extracted the files from the archive, ran (in the directory) ./configure --prefix=/usr
make
sudo make install

with no apparent warnings or errors, but nothing has changed in kcontrol. I have restarted kde a few times. I must be missing something obvious, can anybody tell me what I am not doing or doing wrong?

This is Slackware 12.1 with KDE 3.5.9 and QT 3.3.8b

Last edited by pauledwards03; 09-04-2008 at 10:43 AM.
 
Old 09-04-2008, 10:55 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
If you really did it all ok, maybe it's just that make install is installing the binary files on a different location than this of kde, and so it can't find them.

You can use something like this to -hopefully- find the binary .so file for the theme:

Code:
find / -name 'crystal*.so'
Then you can do the same for a known theme like plastik or whatever, and check if the directory is the same. If it's not, then that might be the problem. Remember that when doing ./configure there are many parameters to specify where the things will go. Probably just using a correct --prefix will help to solve the issue.

Remember to do make uninstall before installing on a different prefix, just to clean a bit. However this theme is well known and old, are you sure that there's no slackware package for it?
 
Old 09-04-2008, 10:59 AM   #3
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
Thanks for the reply. I tried the slackware package I found for it but it does not work either. I have also been unable to get deKorator to show up in the list either through a slackware package or compiling it. I have searhced for crystal*.so like this:

bash-3.1# find / | grep crystal*.so
/home/paul/downloads/crystal-1.0.6/client/.libs/kwin3_crystal.so
/opt/kde/lib/kde3/kwin3_crystal.so

laptop is another theme currently installed and working:

bash-3.1# find / | grep laptop*.so
/sys/bus/platform/drivers/sony-laptop/sony-laptop
/usr/lib/libkcmlaptop.so.0.0.0
/usr/lib/libkcmlaptop.so.0
/usr/lib/kde3/kwin3_laptop.so

I moved the file into the /usr/lib/kde3 directory, will restart kde now. oddly enough I dd use ./configure --prefix=/usr when i first did this..

Last edited by pauledwards03; 09-04-2008 at 11:09 AM.
 
Old 09-04-2008, 11:09 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
I see.

I assume that you already checked that the other window decos are on that same directory. If affirmative, then the only explanation I can think of is that the binaries can't be correctly loaded (due to some api inconsistency probably). But that wouldn't explain why the self compiled versions do not work (in this case the api should be consistent, or compilation would just fail).

I would also try an alternate user with a clean kde config, just in case.
 
Old 09-04-2008, 11:37 AM   #5
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
Still no crystal in the list. here is everything on my system with the work crystal (but not crystalsvg) in its name:

bash-3.1# find / | grep crystal | grep -v crystalsvg
/home/paul/downloads/13969-crystal-1.0.6.tar.bz2
/opt/kde/lib/kde3/kwin3_crystal.la
/opt/kde/lib/kde3/kwin_crystal_config.so

/opt/kde/share/apps/kwin/crystal.desktop
/usr/libexec/xscreensaver/crystal
/usr/bin/findmissingcrystal
/usr/doc/kwin-style-crystal-1.0.3
/usr/doc/kwin-style-crystal-1.0.3/INSTALL
/usr/doc/kwin-style-crystal-1.0.3/AUTHORS
/usr/doc/kwin-style-crystal-1.0.3/COPYING
/usr/doc/kwin-style-crystal-1.0.3/README
/usr/lib/X11/xfig/Libraries/Electronic/Schematic/crystal.fig
/usr/lib/ooo-2.4/share/config/images_crystal.zip
/usr/lib/kde3/kwin3_crystal.so
/usr/lib/kde3/kwin3_crystal.la
/usr/lib/kde3/kwin_crystal_config.so
/usr/lib/kde3/kwin_crystal_config.la
/usr/share/apps/k3b/pics/crystal
/usr/share/apps/k3b/pics/crystal/welcome_bg.png
/usr/share/apps/k3b/pics/crystal/media_empty.png
/usr/share/apps/k3b/pics/crystal/progress_right.png
/usr/share/apps/k3b/pics/crystal/media_data.png
/usr/share/apps/k3b/pics/crystal/project_left.png
/usr/share/apps/k3b/pics/crystal/splash.png
/usr/share/apps/k3b/pics/crystal/progress_working.png
/usr/share/apps/k3b/pics/crystal/dialog_left.png
/usr/share/apps/k3b/pics/crystal/progress_fail.png
/usr/share/apps/k3b/pics/crystal/media_audio.png
/usr/share/apps/k3b/pics/crystal/probing.png
/usr/share/apps/k3b/pics/crystal/media_none.png
/usr/share/apps/k3b/pics/crystal/project_right.png
/usr/share/apps/k3b/pics/crystal/k3b.theme
/usr/share/apps/k3b/pics/crystal/progress_success.png
/usr/share/apps/k3b/pics/crystal/media_mixed.png
/usr/share/apps/k3b/pics/crystal/dialog_right.png
/usr/share/apps/k3b/pics/crystal/media_left.png
/usr/share/apps/k3b/pics/crystal/media_video.png
/usr/share/apps/kwin/crystal.desktop
/usr/share/apps/kdm/pics/kdelogo-crystal.png
/usr/share/applnk/System/ScreenSavers/crystal.desktop
/usr/share/icons/mono/scalable/filesystems/folder_crystal.svgz
/usr/share/gimp/2.0/scripts/crystal-logo.scm
/usr/share/openclipart/computer/icons/flat-theme/folder_crystal.svg
/usr/share/openclipart/people/man_crystal_felipe_macie_01.svg
/usr/share/openclipart/people/smilies/crystal_stefan_bazelkov_01.svg
/usr/share/openclipart/signs_and_symbols/flags/america/flag_brazil_crystal_feli_01.svg
/usr/share/xscreensaver/config/crystal.xml
/usr/man/man6/crystal.6.gz
/var/log/packages/kwin-style-crystal-1.0.3-i486-1kjz

for comparison: plasitk

bash-3.1# find / | grep plastik
/home/paul/.kde/share/config/kwinplastikrc
/usr/lib/kde3/plugins/styles/plastik.la
/usr/lib/kde3/plugins/styles/plastik.so
/usr/lib/kde3/kwin_plastik_config.la
/usr/lib/kde3/kwin_plastik_config.so
/usr/lib/kde3/kwin3_plastik.la
/usr/lib/kde3/kwin3_plastik.so
/usr/lib/kde3/kstyle_plastik_config.so
/usr/lib/kde3/kstyle_plastik_config.la
/usr/share/apps/kwin/plastik.desktop
/usr/share/apps/kstyle/themes/plastik.themerc
/usr/share/openclipart/computer/icons/plastik_icon_v18.svg
/usr/share/openclipart/computer/icons/plastik_icon_v12.svg
/usr/share/openclipart/computer/icons/plastik_icon_v09.svg
/usr/share/openclipart/computer/icons/plastik_icon_v17.svg
/usr/share/openclipart/computer/icons/plastik_icon_v10.svg
/usr/share/openclipart/computer/icons/plastik_icon_v04.svg
/usr/share/openclipart/computer/icons/plastik_icon_v05.svg
/usr/share/openclipart/computer/icons/plastik_icon_v14.svg
/usr/share/openclipart/computer/icons/plastik_icon_v20.svg
/usr/share/openclipart/computer/icons/plastik_icon_v08.svg
/usr/share/openclipart/computer/icons/plastik_icon_v06.svg
/usr/share/openclipart/computer/icons/plastik_icon_v13.svg
/usr/share/openclipart/computer/icons/plastik_icon_v19.svg
/usr/share/openclipart/computer/icons/plastik_icon_v11.svg
/usr/share/openclipart/computer/icons/plastik_icon_v16.svg
/usr/share/openclipart/computer/icons/plastik_icon_v15.svg
/usr/share/openclipart/computer/icons/plastik_icon_v03.svg
/usr/share/openclipart/computer/icons/plastik_icon_v07.svg
/usr/share/openclipart/computer/icons/plastik_icon_v21.svg



I just added a new user and logged in with that one, crystal is not in the list.should I be using prefix==/usr ??
 
Old 09-04-2008, 12:10 PM   #6
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
I got a slackbuild for crystal 1.0.6 from slackbuilds.org and even that is not working? is there a file somewhere that you can change to force the window decoration?
 
Old 09-04-2008, 12:22 PM   #7
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
SOLVED - kinda

just so people know .. I got it working, though it didn't show in kcontrol, if you edit ~/.kde/share/config/kwinrc to show the name of the decoration you want, it will work. (For me at least) Now it does show up in my decoration list and so do a bunch of others (B II Glow) that weren't there before but I did see the files in my travels..

Last edited by pauledwards03; 09-04-2008 at 12:24 PM.
 
Old 09-04-2008, 12:40 PM   #8
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,539

Rep: Reputation: 119Reputation: 119
Crystal is ugly, Plastik is much more workable...
 
Old 09-04-2008, 02:37 PM   #9
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
Time will tell, for now I just like the pseudo-transparency. :-D
 
Old 09-05-2008, 02:20 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by pauledwards03 View Post
Still no crystal in the list. here is everything on my system with the work crystal (but not crystalsvg) in its name:
On a first sight, I see a very strange thing, that suggest that you have been messing with your files in many places, that is always a bad thing.

Code:
bash-3.1# find / | grep crystal | grep -v crystalsvg
/home/paul/downloads/13969-crystal-1.0.6.tar.bz2
/opt/kde/lib/kde3/kwin3_crystal.la
/opt/kde/lib/kde3/kwin_crystal_config.so
[...]
/usr/lib/kde3/kwin3_crystal.so
/usr/lib/kde3/kwin3_crystal.la
/usr/lib/kde3/kwin_crystal_config.so
/usr/lib/kde3/kwin_crystal_config.la
You see the same theme in two places. This can only cause trouble. It seems you need to do some cleaning, and use only ONE method of installation at a time. If you are going to compile manually, first uninstall any slack package, or vice-versa.

Quote:
/usr/lib/kde3/kwin_plastik_config.la
/usr/lib/kde3/kwin_plastik_config.so
/usr/lib/kde3/kwin3_plastik.la
/usr/lib/kde3/kwin3_plastik.so
/usr/lib/kde3/kstyle_plastik_config.so
/usr/lib/kde3/kstyle_plastik_config.la
It seems that plastik resides there, so, my guess is that crystal should be there as well, and not in /opt. Try --prefix=/usr. You might need to adjust some more path(s). Use ./configure --help to see the available options.

Quote:
Originally Posted by keefaz View Post
Crystal is ugly, Plastik is much more workable...
I think he's already aware of that.
 
Old 09-05-2008, 03:58 PM   #11
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
On a first sight, I see a very strange thing, that suggest that you have been messing with your files in many places, that is always a bad thing.

Code:
bash-3.1# find / | grep crystal | grep -v crystalsvg
/home/paul/downloads/13969-crystal-1.0.6.tar.bz2
/opt/kde/lib/kde3/kwin3_crystal.la
/opt/kde/lib/kde3/kwin_crystal_config.so
[...]
/usr/lib/kde3/kwin3_crystal.so
/usr/lib/kde3/kwin3_crystal.la
/usr/lib/kde3/kwin_crystal_config.so
/usr/lib/kde3/kwin_crystal_config.la
You see the same theme in two places. This can only cause trouble. It seems you need to do some cleaning, and use only ONE method of installation at a time. If you are going to compile manually, first uninstall any slack package, or vice-versa.



It seems that plastik resides there, so, my guess is that crystal should be there as well, and not in /opt. Try --prefix=/usr. You might need to adjust some more path(s). Use ./configure --help to see the available options.



I think he's already aware of that.
/opt/kde was created at some point when I was going through all this, I have since deleted it.. I have a bad habit of not cleaning up after myself when it comes to compiling, installing packages, or my office for that matter ... Every time I try a new distro or just do a reinstall I say to my self "this time I am going to keep it clean".. never happens.
 
Old 09-05-2008, 11:36 PM   #12
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by pauledwards03 View Post
/opt/kde was created at some point when I was going through all this, I have since deleted it.. I have a bad habit of not cleaning up after myself when it comes to compiling, installing packages, or my office for that matter ... Every time I try a new distro or just do a reinstall I say to my self "this time I am going to keep it clean".. never happens.
Yup. It's hard to keep it clean if you use manually compiled stuff, it requires a bit of discipline.

However, if you do this very often, then it's normal to have weird problems without even noticing where they come from. Note that when program search for a given library they will use the first instance they find most times, so old cruft might take precedence over new stuff, no matter how many times you reinstall.

If there's a native package, it's always better to use it, if it fails, complain to the maintainer of your distro. If you are not happy with the way that your distro manages this, and you have to compile a lot of packages by hand, then it's a sign that something is not going ok, and maybe it's also a sign that it's time to migrate to some other distro that suits your needs better.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Road to KDE 4: KWin Composite Brings Bling to KDE LXer Syndicated Linux News 0 05-31-2007 01:46 AM
KDE without Kwin? Tortanick Linux - Desktop 1 03-04-2007 03:38 PM
how do i make a kwin window decoration? asi0917 Linux - Newbie 0 09-11-2004 12:17 PM
KDE window decoration/theme install without root theallan Linux - Software 2 12-10-2003 09:41 AM
Kde 3.1 new window decoration frontier1 Linux - General 0 03-05-2003 07:35 PM


All times are GMT -5. The time now is 12:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration