Enabling Compiz On Linux Mint 12 (GNOME Classic)

Version 1.0
Author: Falko Timme , Christian Schmalfeld <c [dot] schmalfeld [at] projektfarm [dot] de>
Last edited 12/02/2011

This tutorial shows how you can enable Compiz on a Linux Mint 12 Lisa desktop (the system must have a 3D-capable graphics card - I'm using an NVIDIA GeForce 8200 here). With Compiz 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 Note

I have tried this on a desktop computer with an NVIDIA GeForce 8200. It should work the same way with all other NVIDIA graphics cards. Compiz is not supported on GNOME 3 yet, that's why this how-to is applicable only for the classic GNOME desktop. To switch to the classic desktop, log out of your current session and click on the cogwheel icon next to your username in the log-in screen:

Select GNOME Classic from the dropdown-menu and log back in:

 

2 Enabling The NVIDIA Driver

To use 3D effects on an NVIDIA graphics card, we need the proprietary NVIDIA driver which we can install from the Additional Drivers tool. The Additional Drivers tool can be started from Applications > System Tools > System Settings > Additional Drivers:

The Additional Drivers tool should tell you that there are NVIDIA graphics drivers available for your system - select the recommended one.

To install it, click on Activate. You will be asked to type in your password afterwards:

The NVIDIA driver is now being downloaded and installed:

The Additional Drivers tool should now tell you that a system restart is required to activate the driver. Click on Close to leave the Additional Drivers tool but don't restart yet:

To make sure that your machine uses the proprietary NVIDIA graphics driver after the reboot, specify them in your xorg.conf file, which is located in /etc/X11. List this directory's contents to see if the file is present:

ls -l /etc/X11

ctest-System-Product-Name X11 # ls -l /etc/X11
total 72
drwxr-xr-x 2 root root  4096 2011-04-26 01:06 app-defaults
-rw-r--r-- 1 root root    14 2011-04-26 01:04 default-display-manager
drwxr-xr-x 4 root root  4096 2011-04-26 01:01 fonts
-rw-r--r-- 1 root root 17394 2010-02-19 01:02 rgb.txt
lrwxrwxrwx 1 root root    13 2011-09-27 16:10 X -> /usr/bin/Xorg
drwxr-xr-x 3 root root  4096 2011-04-26 01:06 xinit
drwxr-xr-x 2 root root  4096 2011-02-08 14:27 xkb
-rw-r--r-- 1 root root   101 2011-09-29 14:57 xorg.conf
  <---
-rwxr-xr-x 1 root root   709 2010-11-02 22:17 Xreset
drwxr-xr-x 2 root root  4096 2011-09-28 09:30 Xreset.d
drwxr-xr-x 2 root root  4096 2011-09-28 09:30 Xresources
-rwxr-xr-x 1 root root  3730 2010-12-02 04:34 Xsession
drwxr-xr-x 2 root root  4096 2011-09-30 15:09 Xsession.d
-rw-r--r-- 1 root root   265 2010-02-19 01:02 Xsession.options
-rw-r--r-- 1 root root   601 2011-04-26 00:55 Xwrapper.config
ctest-System-Product-Name X11 #

If there's no file named like that, create one with

sudo touch /etc/X11/xorg.conf

After you have found the file or created a new one, open it with

sudo gedit /etc/X11/xorg.conf

If the file already existed, there should be a section called Device in it. Add the line Driver to it just like in the following example. If you created the file yourself, add the whole section to it:

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
Driver "nvidia"
EndSection

Save the file afterwards.

Share this page:

10 Comment(s)

Add comment

Comments

From: Albert at: 2011-12-19 10:05:04

You don't need to install a driver for nVidia anymore on Mint 12 (you indeed needed to install a driver on Mint 11 and before). Nouveau works right out-of-the-box and can just run Compiz on any card up to GeForce 405. If it isn't broken, don't try to fix it.

Only on newer cards you still need a driver.

 But indeed, you can install that driver if the performance is not sufficient or the card runs hot.

From: Jeannie at: 2011-12-15 19:40:09

Gnome Classic in Mint 12 is NOT Gnome2, it's Gnome 3 in Fallback mode. Peopel seem not to get this and keep on talking about Gnome 2, but this is simply WRONG, please correct your article.

From: Anonymous at: 2012-01-12 14:24:17

@Jeannie: No need to be abrasive in your comment for an honest mistake on his part. You can offer advice or a correction without hurtful.

From: Anonymous at: 2012-05-09 13:45:28

What are you talking about? Abrasive? Hurtful? Nonsense!

From: Anonymous at: 2011-12-15 21:18:36

I think your terminology is a bit confused here. Mint 12 running Gnome Classic is not running Gnome 2. It is running a layer over Gnome 3. Closer to Gnome 2 is the Mate environment, which is available with Mint 12, but is not completely polished yet.

From: Anonymous at: 2012-04-23 08:24:01

Your tutorial fails at step 1.... there is no "gnome classic option" at log-in :(

From: john at: 2011-12-20 06:09:57

I am using the LMDE of 12 with an ATI graphics card using the non-free drivers in the repo.  I am running Gnome 3.0.2 on Kernel 3.0.0-1-amd64.  Compiz works beautifully on my desktop.

From: Anonymous at: 2011-12-19 22:34:54

Have you tried this tutorial on the MATE desktop manager? 

From: RavenFB at: 2012-03-06 19:34:59

It should be noted that if you wish to use the Cinnamon desktop environment, you will have to go to Startup Applications, and UNcheck the box for Compiz BEFORE loading Cinnamon. If you do not do this, then Cinnamon won't work. The panel won't be rendered, so you won't have a menu. I have not tried other DEs with Compiz enabled, so I cannot speak for them.

 I also have a minor question: I cannot seem to figure out how to get more than two "faces" on the 3D cube, meaning I can only get a single, two-sided "panel", rather than an actual cube. I checked through the various Compiz settings, and I do not see where I can add more faces. I recall having once had an ten-sided "desktop" on Mint 11 (eight faces, and the bottom and top), but I cannot recall how I did it. For some reason, I remember there being an option to add or remove faces in the >Desktop Cube tab, but I cannot find the option now. Any help=Greatly appreciated!

From: at: 2012-03-07 12:30:18

Hi, thanks for the update on Cinnamon! You can add desktops by going to General Options under General in the main CCSM window. Then click on the Desktop Size tab (the last one). The options there should also handle the number of desktops.