Ubuntu:Edgy/EyeCandy
From
Eye Candy
How to install Xgl/Compiz (NVIDIA)
- Preparation
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Find this section
Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection
- Comment out dri and GLcore (if present)
Trouble
# Load "dri" # Load "GLcore"
- Make sure the glx module is loaded
Load "glx"
- Find this section (your values may vary)
Section "Device" Identifier "NVIDIA Corporation NV40 [GeForce FX6200]" Driver "nvidia" EndSection
- Insert the following lines, leaving the Identifier and Driver as it is
Section "Device" ... ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection
- Find this section
Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV40 [GeForce FX6200]" Monitor "Generic Monitor" DefaultDepth 16
- Make sure DefaultDepth is set to 24, if it isn't already
DefaultDepth 24
- Save the edited file
- Install Xgl + Compiz
sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup sudo gedit /etc/gdm/gdm.conf-custom
- Scroll to the bottom of the file and replace "servers" section with the following lines, then save the file.
[servers]# Override display 1 to use Xgl 0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true
- Edit your sources.list (sudo gedit /etc/apt/sources.list) and add the following line to the bottom:
deb http://gandalfn.club.fr/ubuntu edgy dev
- Save the file. You must also download the gpg key by running the following command:
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x483170E9 ; gpg --export -a 0x483170E9 | sudo apt-key add -
- After doing the above you must update apt-get:
sudo apt-get update sudo apt-get dist-upgrade
- Now install necessary packages + depencies:
sudo apt-get install compiz compiz-extra compiz-plugins compiz-extra-plugins gnome-compiz-manager gnome-compiz-manager-extra xserver-xgl
- To start Compiz you can type the following into a terminal:
compiz-tray-icon
- You should then see a Compiz icon on your gnome panel. Right click on it and select "GL Desktop".You may also want to add this command to your session start-up programs list.
- Troubleshooting
- If Xgl/Compiz doesn't seem to work, or you get errors, simply restart your machine. (Recommended)
How to install Xgl/Beryl (ATI)
(From Beryl Forums) (Also From Ubuntu Forums)
First make sure you have 3d acceleration available in a normal gnome session. There are lots of howtos for this , Google if you need any help with that. So if glxinfo shows direct rendering: yes , then you are good to go. If not xgl and Beryl wont work!
- Update your system
sudo aptitude update sudo aptitude dist-upgrade
- Prepare and update repositories
sudo gedit /etc/apt/sources.list
- Add to /etc/apt/sources.list
##BERYL REPOSITORIES deb http://ubuntu.beryl-project.org edgy main deb-src http://ubuntu.beryl-project.org edgy main
##BERYL SVN REPOSITORIES deb http://download.tuxfamily.org/3v1deb edgy beryl-svn deb-src http://download.tuxfamily.org/3v1deb edgy beryl-svn
- Download and import the gpg key for beryl & beryl svn project repositories
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
- Update your sources
sudo aptitude update
- Install needed packages
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl \ beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings emerald \ emerald-themes
- Make a startup script for xgl
sudo gedit /usr/bin/startxgl
- Add to /usr/bin/startxgl
#!/bin/sh Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & DISPLAY=:1 exec dbus-launch --exit-with-session gnome-session
- Make the script executable
sudo chmod +x /usr/bin/startxgl
- Make a xgl session for the login manager
sudo gedit /usr/share/xsessions/xgl.desktop
- Add to /usr/share/xsessions/xgl.desktop
[Desktop Entry] Encoding=UTF-8 Name=Xgl Comment=Start an Xgl Session Exec=/usr/bin/startxgl Icon= Type=Application
- System > Preferences > Sessions > Startup Programs > Add
beryl-manager
- Reboot
- In the login manager you can now choose a session named Xgl
- Answer to following question that you want to use Xgl for this session only (if something went wrong you are logged in next time using standard session)
- If everything works fine , you can set it as the default session , remember you can always login a normal gnome session if you want.
- If you own an x series radeon and have problems with lockups, read this post:
http://ubuntuforums.org/showthread.php?t=150854
Note for all cards: glxinfo will show that direct rendering is not working , dont worry thats normal when you are running xgl.
How to install Beryl/AIGLX (Nvidia)
(From Ubuntu Forums)
- Read #General Notes
- Read #How to add extra repositories
- Read #How to install Beta Graphics Driver (NVIDIA)
- Ensure all packages up to date
Install your *ubuntu-desktop metapackage specific to your DE, e.g. sudo apt-get install ubuntu-desktop sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- Add repositories
gksudo gedit /etc/apt/sources.list
- Add the following line at the end of this file (x86 and amd64):
deb http://ubuntu.beryl-project.org/ edgy main
- Add key
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
- Save the edited file then update package lists
sudo apt-get update
- Install Beryl
sudo apt-get install beryl emerald-themes
- Back up xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Add this to xorg.conf "Screen" section
# Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option "DisableGLXRootClipping" "True"
- Add this to xorg.conf "Device" section
Option "TripleBuffer" "true"
- Restart X with ctrl+alt+backspace
- Start Beryl (if it doesn't start on its own)
beryl-manager
- Start Emerald (if it doesn't start on its own)
emerald --replace
- Have Beryl and Emerald load on login
- System -> Preferences -> Sessions
- Startup Programs -> Add
beryl-manager
and
emerald --replace
- If, on reboot, program menus aren't displaying in the correct layer (you can't see them when you select them because they are displaying behind the window) then right click on the 'Beryl Manager' icon in the panel (the red gem icon) and select 'Reload Window Manager'. The problem should be solved the next time you reboot.
- Some users have found that the latest beryl packages are not working properly, and beryl fails to load. This can be fixed by:
Open synaptic package manager, search for beryl, press ctrl+e and select version 0.1.99.2 You have to do this for beryl, beryl-core, beryl-manager, beryl-plugins, beryl-plugins-data, beryl-settings, beryl-settings-binding, libberyldecoration0 and libberylsettings0
Source: http://ubuntuforums.org/showthread.php?t=353809
How to install Beryl/AIGLX (Intel i915)
Follow the how-to on beryl project wiki.
If that does not work, check if you have direct rendering enabled (type into the terminal):
glxinfo | grep direct
The output should be:
direct rendering: Yes
If the output says No, check you have direct rendering manager loaded:
lsmod|grep 915
The output should be:
i915 21632 3 drm 74644 4 i915 tsdev 9152 0
If it shows only tsdev line, you can try to configure xorg.conf to driver i810, restart, CTRL-ALT-F1 to terminal session and configure xorg.conf back to use i915. That helped me.
How to install compiz-freedesktop without XGL / AIGLX utilising the latest Nvidia BETA drivers
- Read #General Notes
- Read #How to install Beta Graphics Driver (NVIDIA)
- Read #How to add extra repositories
- Ensure that all packages are up to date
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- Add repositories
gksudo gedit /etc/apt/sources.list
- Add the following line at the end of this file for the edgy stable repos
## compiz-freedesktop stable deb http://gandalfn.club.fr/ubuntu edgy stable
- Or add the following line at the end of this file for the edgy dev repos
## compiz-freedesktop dev deb http://gandalfn.club.fr/ubuntu edgy stable dev
Note for compiz-freedesktop git repos: these packages are considered experimental and unstable by nature
- Or add the following line at the end of this file for the edgy git repos
## compiz-freedesktop git deb http://gandalfn.club.fr/ubuntu edgy stable dev git
- Add the GPG key
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x483170E9 ; \ gpg --export -a 0x483170E9 | sudo apt-key add -
- Save the edited file then update package lists
sudo apt-get update
- Install compiz-freedesktop
sudo apt-get install compiz-freedesktop compiz-freedesktop-gnome gnome-compiz-manager
- Back up xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Find this section
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 16
- Make sure DefaultDepth is set to 24, if it isn't already
DefaultDepth 24
- Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"
- Save the edited file
- Restart X with Ctrl+Alt+Backspace
- Logon
- Press Alt-F2 to open the Run Application window and enter the following in the text box:
compiz-tray-icon
- Click Run to execute
- Locate the compiz-tray-icon in your system tray, typically in the top right-hand corner of your screen, right-click mouse button and select the GL Desktop option
- To customize preferences, locate the compiz-tray-icon in your system tray, typically in the top right-hand corner of your screen, right-click mouse button and select the Preferences option
How to install alternate boot splash screen
- Read #General Notes
- This installs a minimalistic splash screen that appears when the computer is booting up and shutting down. It is devoid of any text messages.
sudo aptitude install usplash wget -c http://www.users.on.net/~stubby/usplash-minimalistic_0.1.deb sudo dpkg -i usplash-minimalistic_0.1.deb sudo update-alternatives --config usplash-artwork.so
- Select the minimalistic alternative (/usr/local/lib/usplash/minimalastic.so) by entering the corresponding number. If you ever want to revert back to the original splash, select the default (/usr/lib/usplash/usplash-default.so)
- Restart your computer to see the effects
- See the official USplash Customization HOWTO for more customization.
BlogMarks
del.icio.us
digg
Fark
Furl
Newsvine
reddit
Segnalo
Simpy
Slashdot
smarking
Spurl
Wists
