Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-28-2007, 09:19 PM
|
#1
|
Member
Registered: Mar 2007
Distribution: Slackware
Posts: 264
Rep:
|
Compiz +kde +nvidia (Slackware-current)
This is just a quick how to for getting compiz working with a nvidia card and kde on slackware current.It is not meant to be an exhaustive how to and it maybe totally wrong but works for me.
Install the nvidia driver if you have not yet done so.
Quote:
sh NVIDIA-xxx.run --x-prefix=/usr --x-module-path=/usr/lib/xorg/modules
|
Edit your xorg.conf and add the following lines.
In section device. Section "Device"
Identifier "Nvidia"
Driver "nvidia"
>--add these lines--<
Code:
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
>-----stop----------<
EndSection
In section screen. Section "Screen"
>--add these lines--<
Code:
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
>-----stop----------<
Create a new Extentions section. >--add these lines--<
Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
>-----stop----------<
restart X
Open a termnal and run the following commands.
Code:
compiz --replace decoration wobbly fade minimize cube switcher move resize place rotate zoom scale &
kde-window-decorator --replace &
The list after compiz --replace is a list of plugins to load edit it to your liking there are more.
NOTE: If you can't run the kde-window-decorator --replace command.
Make sure you are using compiz-0.3.6-i486-2.tgz or higher the first build of it did not have kde-window-decorator.
You may see and error like this but don't worry about it.
compiz: Failed to load slide: freedesktop <-- this error is not critical
EDIT: Thanks erklaerbaer
If it works then you can have it auto load when kde starts by creating a script and adding it to ~/.kde
Name it startcompiz.sh
Code:
#!/bin/sh
compiz --replace dbus png svg decoration wobbly fade minimize cube switcher move resize place rotate zoom scale
kde-window-decorator --replace
Make sure you make it executable chmod +x startcompiz.sh
And now make a second script in ~/.kde/env named compizwm.sh
mkdir ~/.kde/env if you do not have a ~/.kde/env directory
Code:
#!/bin/sh
KDEWM=$HOME/.kde/startcompiz.sh
export KDEWM
Hope this helps.
Last edited by XGizzmo; 04-01-2007 at 06:39 PM.
|
|
|
03-28-2007, 10:12 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
you know what? i _just_ screwed up my slackware 11 install (prior to reading this--not your fault!)
ive become very disappointed at the visual performance (crashes) and appearance (choppy) of kde. i found out just yesterday that compiz is included in slackware-current. so i installed slapt-get (and using -current repo.), ran 'slapt-get --update' and 'slapt-get --upgrade' and it screwed up the install, due to dependencies for gcc.
i did a fresh reinstall and after 'slapt-get --update' i just installed compiz via 'slapt-get --install compiz', couldnt get it to work.
ive read it needs the newer Xorg 7.1+, so i tried to install all xorg packages from 'slapt-get --search xorg' then X broke!
as you have it working, did you upgrade _everything_ to -current? i assume this would work with slackware 11, as long as compiz is installed, nvidia driver is installed, and the appropriate Xorg version is installed. do you have the X-server stuff from -current as well?
Last edited by nadroj; 03-28-2007 at 10:13 PM.
|
|
|
03-28-2007, 10:25 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,887
|
well, i guess he's using compiz included in -current and that would depend on new Xorg which is on -current also
|
|
|
03-28-2007, 10:37 PM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
yes i was afraid of that. when i tried to update it it ruined my system.
XGizzmo, is there anything special you did to successfully update your Xorg?
|
|
|
03-28-2007, 10:45 PM
|
#5
|
Member
Registered: Mar 2007
Distribution: Slackware
Posts: 264
Original Poster
Rep:
|
This is a full install of slackware current from a slackware-current dvd. Upgrading to -current right now is a tricky deal you must read and follow http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT.
You cant mix and match slackware -11.0 and -current packages due to new gcc, glibc, and a ton of others and X11 and kde changing paths, current is all or nothing right now.
|
|
|
03-28-2007, 10:52 PM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,887
|
yup, i also had some problems when i upgraded to -current, but now it's fixed 
here's my post on my blog : http://willysr.blogspot.com/2007/03/...e-current.html
XGizzmo: What packages needed to run compiz? is it enough to install all packages in x directory? (besides NVIdia driver)
|
|
|
03-28-2007, 10:53 PM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,887
|
yup, i also had some problems when i upgraded to -current, but now it's fixed 
here's my post on my blog : http://willysr.blogspot.com/2007/03/...e-current.html
XGizzmo: What packages needed to enable compiz? is it enough to install all packages in x directory? (besides NVIdia driver)
|
|
|
03-28-2007, 10:53 PM
|
#8
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539
Rep:
|
yes im not very familiar with following instructions that long! but i will try and follow it so i can enjoy compiz.
thanks for your time and ill try and update before the weekend.
|
|
|
03-29-2007, 06:54 AM
|
#9
|
Member
Registered: Mar 2007
Distribution: Slackware
Posts: 264
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
XGizzmo: What packages needed to run compiz? is it enough to install all packages in x directory? (besides NVIdia driver)
|
All of x series and freetype,fontconfig, with the xf86-video* and xf86-input* drivers you don't need removed is a safe bet.
|
|
|
03-31-2007, 07:01 PM
|
#10
|
Member
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 51
Rep:
|
Does anyone know how to configure compiz? Looks like it has no any other way except gconf2 (which installation on slack is somehow tricky and useless except for this kind of things). I read that there is a new plugin called "ini" which allows compiz configuration through a flat-file, but can't seem to find it. Anyone?
|
|
|
03-31-2007, 08:11 PM
|
#11
|
LQ Newbie
Registered: Aug 2003
Location: superior,wi.
Distribution: J.A.M.D Linux 0.0.6
Posts: 3
Rep:
|
Hey XGizzmo thanks for the great walk through, one question though. Compiz is working although I loose all my window borders, I'm suspecting it has something to do with the kde-window-decorator portion of the command. I did a clean install and a full one. What package did you install for this prob?
Thanks,
C-rin
|
|
|
04-01-2007, 03:10 AM
|
#12
|
Member
Registered: Mar 2007
Distribution: Slackware
Posts: 264
Original Poster
Rep:
|
Quote:
Originally Posted by crin
Hey XGizzmo thanks for the great walk through, one question though. Compiz is working although I loose all my window borders, I'm suspecting it has something to do with the kde-window-decorator portion of the command. I did a clean install and a full one. What package did you install for this prob?
|
Make sure you are using compiz-0.3.6-i486-2.tgz the first build of it did not have kde-window-decorator.
|
|
|
04-01-2007, 02:25 PM
|
#13
|
Member
Registered: Mar 2006
Posts: 381
Rep:
|
Quote:
If it works then you can have it auto load when kde starts by creating a startup script and adding it to ~/.kde/Autostart
|
better: make a small script,that starts compiz and kde-window-decorator and make a file "set-compiz-as-windowmanager .sh" in $HOME/.kde/env/ with this content:
Code:
#!/bin/sh
KDEWM=$$HOME/bin/mysript
export KDEWM
have a look at the startkde script, if you want to know why 
|
|
|
04-01-2007, 10:30 PM
|
#14
|
LQ Newbie
Registered: Aug 2003
Location: superior,wi.
Distribution: J.A.M.D Linux 0.0.6
Posts: 3
Rep:
|
Thanks ran slackpkg update and updated my compiz pack and all is good.
Thanks again!!!!
C-rin
|
|
|
04-02-2007, 11:59 AM
|
#15
|
LQ Newbie
Registered: Feb 2007
Location: Corsica
Distribution: Slackware
Posts: 28
Rep:
|
Hi, i think that i'm on the good post because you'll all seems to be very good with Nvidia !
So this is my trouble :
I've a laptop with nvidia 6800 i install the last nvidia out of X the 9755 ... the installation works well
after i start X ... the Nvidia screeshot appear and the kde appear on 1440x900 (the good screen definition)
after i want to restart ... and at this time ... my screen burn in white & black ... the computer restart well
like nothing appen and i start again X ... all thing right but just to see if i had a bad dream i restart again and, again, my
screen seems to burn in black & white at the moment of X fall down just before the computer restart !
I'm a bit affraid.
|
|
|
All times are GMT -5. The time now is 12:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|