Enabling Compiz Fusion On A Debian Squeeze Desktop (Nvidia GeForce 8200)
Enabling Compiz Fusion On A Debian Squeeze Desktop (Nvidia GeForce 8200)Version 1.0 This tutorial shows how you can enable Compiz Fusion on a Debian Squeeze desktop (the system must have a 3D-capable graphics card - I'm using an Nvidia GeForce 8200 here). With Compiz Fusion you can use beautiful 3D effects like wobbly windows or a desktop cube on your desktop. This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!
1 Preliminary NoteI have tried this on a desktop computer with an Nvidia GeForce 8200. It should work the same way with all other Nvidia graphics cards.
2 Installing Compiz Fusion And The Nvidia DriverOpen a terminal and become root: su While Compiz Fusion is available in the main repository, the Nvidia driver is not - it comes from the non-free repository; that's why we must open /etc/apt/sources.list... gedit /etc/apt/sources.list ... and append the string contrib non-free to all repositories:
Update the package database afterwards: apt-get update Now install Compiz Fusion and the Nvidia driver as follows: apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk fusion-icon compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported nvidia-glx nvidia-xconfig nvidia-kernel-dkms nvidia-settings Reboot the system afterwards: reboot After the system has come up again, become root again... su ... and check if the Nvidia kernel module got loaded: lsmod | grep -i nvidia Output should be as follows: root@debian:/home/falko# lsmod | grep -i nvidia
3 Configuring xorg.confThe next part is a bit tricky - we need to modify the file /etc/X11/xorg.conf. By default, this file does not exist on Debian Squeeze, so we have to generate it (in case the file already exists on your system, make a backup now so that you can restore your xorg.conf in case anything goes wrong). To do this, we need to stop the Gnome display manager, which means you will not have a graphical desktop for a few minutes; instead, we have to go to the console: /etc/init.d/gdm3 stop This will stop the desktop. Press Alt + F2 to open a console. Log in as root. Run X -configure This will create the file xorg.conf.new in root's home directory (you might see some error messages at the end of the output of the command, but usually you can ignore these). Move that file to /etc/X11/xorg.conf: mv ~/xorg.conf.new /etc/X11/xorg.conf Next run nvidia-xconfig This will adjust our /etc/X11/xorg.conf so that the right Nvidia driver is used. Next open /etc/X11/xorg.conf... vi /etc/X11/xorg.conf ... and make the following changes: Add the following section (for example before the "Device" section):
In Section "Device", add the following lines:
In Section "Screen", add the following lines:
My final /etc/X11/xorg.conf looks as follows (please don't copy it as it might not work on your system - it is important that you modify your own xorg.conf!):
Now start the desktop again: /etc/init.d/gdm3 start If the desktop doesn't start, either delete /etc/X11/xorg.conf (if you had no /etc/X11/xorg.conf in the beginning), or, if there already was an /etc/X11/xorg.conf file, restore the original /etc/X11/xorg.conf from your backup and run /etc/init.d/gdm3 start again - this should bring up your original desktop again, but of course, you cannot use Compiz Fusion then. If your desktop did start with your new xorg.conf - fine! Let's go on. Open a terminal again and become root: su Next check if your desktop is ready to use 3D effects: glxinfo | grep direct Output should be as follows: root@debian:/home/falko# glxinfo | grep direct
4 Starting Compiz FusionTo start Compiz Fusion, go to Applications > System Tools > Compiz Fusion Icon: This will actually not start Compiz Fusion, but add a Compiz Fusion icon to the upper right taskbar from where you can configure Compiz Fusion and finally start it:
Right-click that icon and make sure your settings are as follows: Select Window Manager: Compiz
Compiz Options: none selected
Select Window Decorator: GTK Window Decorator
To start Compiz Fusion, select Reload Window Manager:
If you notice that your windows lose their title bar and cannot be moved anymore (like in the following screenshot where the title bar of the terminal window has gone)... ... right-click the Compiz Fusion icon again and select Settings Manager (you can as well go to System > Preferences > CompizConfig Settings Manager):
In the CompizConfig Settings Manager, go to Effects and enable Window Decoration... ... and then go to Window Management and check Move Window and Resize Window: This should bring back your window decorations, and if everything went well, Compiz Fusion is now working, and you can play with your first 3D effects:
|
















Recent comments
14 hours 49 min ago
14 hours 55 min ago
19 hours 53 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 21 hours ago