LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-23-2009, 05:28 AM   #1
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Debian
Posts: 91

Rep: Reputation: 25
[Tutorial]Hacked Compiz 0.7.8 + KDE4.2 on Slackware 12.2


Hey all, I've been trying to compile compiz + KDE Window Decorator On my slackware 12.2 unsuccessfully whole day and finally all that reading through the sources and modifying stuff paid off.

Please note, my KDE 4.2 is installed with prefix /usr/local and my default QTDIR is /usr/lib/qt-3.3.8 (don't ask why the hell Qt4 is installed there )

So, I assume if you're reading this, you've installed successfuly your KDE4.2 =)

Now, download the core compiz package from http://releases.compiz-fusion.org/
extract the tarball somewhere then symlink plasma/framesvg.h to plasma/panelsvg.h
Code:
ln -s /path/to/kde/libraries/plasma/framesvg.h /path/to/kde/libraries/plasma/panelsvg.h
the absolute path for me was /usr/local/lib/plasma/framesvg.h
after symlinking the header file, check if the dir holding QtCore.cp is in your $PKG_CONFIG_PATH

Code:
echo $PKG_CONFIG_PATH
if it is there, it's ok, but since my Qt4 was installed in an unusual place I had to specify the dir
Code:
export PKG_CONFIG_PATH=/path/to/qt4/libraries/pkgconfig:$PKG_CONFIG_PATH
For me the path was /usr/lib/qt-3.3.8/lib/pkgconfig

now, while in compiz-0.7.8 dir in a terminal type
Code:
kwrite `find . | grep switcher.cpp`
Replace (Control+R) PanelSvg with FrameSvg and save but DON'T close the file.
Then
Code:
kwrite `find . | grep switcher.h`
and make the same replacement, save and close the file.
Back in switcher.cpp, find (Control+F) paintPanel and replacePanel
remove the whole blocks related to paintPanel and replacePanel.
Save and close the file.

From here... It's easy, ./configure --prefix=/your/prefix --disable-whatever-you-want --etc...etc..etc

for me ( Slackware 12.2 + KDE 4.2 ) with ./configure --prefix=/usr --disable-gconf
and the above it works well.

Note also that I am not a linux guru, or whatever, I'm just a novice so I may not be able to help you if you have any trouble.

Good luck people!

Last edited by Refractor; 02-23-2009 at 08:45 PM.
 
Old 02-23-2009, 10:55 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
thanks for the info my slack12.2 and nvidia card and kwin works smooth. but I did grab a k3b from zenwalk that was built on 4.2. so later on the up grade would be easier.
That is some cool stuff if it worked for you thanks for your time.
I did not have to do none of that for 3d special effects just enable them. I find I like the kwin 3d a little more than compiz fussion even if there is less plugins write now. kde 4.2 in slackware much more stable then Mandriva fc9 fc10 those are the only onther ones I tried. but the Slackware testing is nice.

Last edited by Drakeo; 02-23-2009 at 10:59 PM.
 
Old 02-28-2009, 12:48 PM   #3
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Debian
Posts: 91

Original Poster
Rep: Reputation: 25
I have no problems with kwin's 3d effects too, but I'm a compiz-fusion fan since I figured it out on my Fedora 8 box years back. And the few thousands of extra plugins are nice :P
 
Old 02-28-2009, 12:59 PM   #4
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
I feel very good with my kwin, it just works, and it also works good. It's faster, simpler, softer, more stable and simpler than compiz, for me. I don't think I'll change. I'm even a compiz lover...But, I won't replace my kwin. Maybe when compiz will get "better". Bye... Thank you for this tutorial, I find it fantastic.
 
  


Reply



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
unable to install KDE4 in slackware 12 gopi.d Slackware 21 08-06-2009 02:52 AM
kde4.2 and slackware 12.2 specialized Slackware 7 05-07-2009 07:26 AM
Problem with Slackware current KDE4 and HAL I guess heimdal Slackware 6 11-05-2008 02:03 AM
slackware and kde4 mbvo Linux - Software 4 09-08-2008 03:25 AM
Slackware-current hacked???? vaworx Linux - Security 4 09-10-2004 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration