Z3r0 Posted April 30, 2006 Share Posted April 30, 2006 (edited) I thought i'd make a howto as it took me a while to get it working on my laptop (with an M200 chipset) ok, firstly, enable all the repositories and install xorg-server-xgl compiz, compiz-gnome and also make sure any packages such as mesa, glitz and cairo are up to date and that fglrx is installed and enabled in the xorg config the easiest way to get it up and running without messing up anything is to do this create a file in your /home/%user% folder called .Xsession (sudo gedit /home/%user%/.Xsession) #!/bin/sh # Start up Xgl, compiz, and GNOME # Run Xgl server on :1, on top of normal X Xgl :1 -fullscreen -ac -accel xv -accel glx:pbuffer & # Tell subsequent X programs to access the Xgl server at :1 DISPLAY=:1 # Start Compiz window manager gnome-window-decorator & compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher & xmodmap /usr/share/xmodmap/xmodmap.us & # Start GNOME exec gnome-session next you must chmod +x .Xsession you must next edit your xorg.conf (sudo gedit /etc/X11/xorg.conf) add these lines under the "Device" section to stop the card randomly locking up Option "OpenGLOverlay" "off" #this isn't necessary for me Option "UseInternalAGPGART" "no" Option "KernelModuleParm" "agplock=0" log out and in again and Xgl will work, note: if something breaks you can log in with the failsafe session and remove the .Xsession to get back to normal X I was having problems with my X randomly crashing, I assumed it was due to my Xgl/Compiz versions being old, this wasn't the case, it's simply that shift+backspace causes the Xgl server to shutdown, you can remedy this by adding xmodmap /usr/share/xmodmap/xmodmap.us to .Xsession as above If you want to get the latest up to take debs try these two repositories (you need both as they both contain vital updates) deb http://xgl.compiz.info dapper main deb http://www.beerorkid.com/compiz dapper main ------------------------------------------------------------- NVidia users try this /usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo instead and change DISPLAY to 0 You also need the nvidia drivers installed Edited May 4, 2006 by Z3r0 Link to comment Share on other sites More sharing options...
Barney T. Administrators Posted April 30, 2006 Administrators Share Posted April 30, 2006 Thanks for adding this. I am sure lots of folks will be interested in it! :yes: Barney Link to comment Share on other sites More sharing options...
Schmoove Posted May 1, 2006 Share Posted May 1, 2006 Thank you so much. Finally after countless attempts I got it working like it should! One question though... how can I do the cube trick? Link to comment Share on other sites More sharing options...
Z3r0 Posted May 2, 2006 Author Share Posted May 2, 2006 I'm glad that someones found this useful too. Press ctrl+alt whilst dragging the desktop to get the cube effect You can also drag apps across screens and that rotates the screen like a cube Alt tab has a pretty cool transparency effect Also try double clicking the top of an app to make it maximize/minimize with the wobble effect Holding ctrl whilst moving an app makes it stick to the sides of the screen briefly Link to comment Share on other sites More sharing options...
Everlive89 Posted July 19, 2006 Share Posted July 19, 2006 I have a question I have a nvidia card and at the end of your guide and what do I replace to use that code? Link to comment Share on other sites More sharing options...
karma_police Posted July 20, 2006 Share Posted July 20, 2006 You can find some how to's for nvidia here http://www.compiz.net/viewforum.php?id=5 or if you use ubuntu try ubuntuforums.org Link to comment Share on other sites More sharing options...
Z3r0 Posted August 5, 2006 Author Share Posted August 5, 2006 I believe you just need to change the following code: # Run Xgl server on :1, on top of normal X Xgl :1 -fullscreen -ac -accel xv -accel glx:pbuffer & # Tell subsequent X programs to access the Xgl server at :1 DISPLAY=:1 to: Xgl :0 -fullscreen -ac -accel xv -accel glx:pbuffer -accel xv:fbo & # Tell subsequent X programs to access the Xgl server at :0 DISPLAY=:0 Link to comment Share on other sites More sharing options...
Recommended Posts