Saturday, July 15, 2006

Improved XGL And Theme Changer For openSUSE 10.1

** You first have to properly install the appropriate proprietary driver for your video card. If you have an ATI card follow my guide here. Nvidia users, try this page to install your driver. **

** If you installed KDE as your default desktop environment, you must make GNOME your default and make sure you use GDM not KDM. **

Compiz And XGL
You need to have Smart installed for this guide. If you don't have it yet, go here.

We need to add QuinnStorm's packages to Smart, in the terminal (all one line):

sudo smart channel --add http://software.opensuse.org/download/Compiz-Quinn/SUSE_Linux_10.1/Compiz-Quinn.repo

Then do a:
sudo smart update
And install Compiz, XGL,and the theme changer (all one line):
sudo smart install cgwd-themes gset-compiz glib2-devel compiz xgl
Then (all one line):
sudo /opt/gnome/bin/gnome-xgl-switch --enable-xgl -accel\ glx:pbuffer\ -accel\ xv:pbuffer

Log out and log back in and XGL should be running.

****If you can't boot back into you GUI type 'sudo gnome-xgl-switch -disable-xgl' then 'sudo reboot'****


Very nice, but ... but there is more. To use Compiz themes type this in the terminal:
cgwd --replace &
Then open the themer press alt+f2 and type:
gcompizthemer
Free Image Hosting at www.ImageShack.us
If you not want to execute 'cgwd --replace &' avery time you login, open '/opt/gnome/bin/gnome-wm' file, go to line 49(aprox) and replace /usr/bin/gnome-window-decorator with /usr/bin/cgwd . Please be carefully with this small hack.

// Before (line 49):
/usr/bin/gnome-window-decorator --replace &

// Now (line 49):
/usr/bin/cgwd --replace &


To change the behavior of XGL and tweak its options press alt + f2 and type:
gset-compiz


SLED Menu:

To install the sled menu first download and install the rpm:
x86
x86_64

Now to add it to your panel, right-click on the panel 'Add to Panel' and choose 'Main Menu'.







3d Acceleration With ATI Cards On openSUSE 10.1

EDIT: Updated to use the newest ATI drivers released on August 18



- First you must have 'kernel-source' and 'compat-expat1' so install it. Assuming you have smart (if not here is a guide):
sudo smart install kernel-source compat-expat1
- Open your terminal and type the following::

x86:
Download ati-driver-installer-8.28.8-x86.run to your Home folder or move it there after it downloads.
Then in the terminal type these 2 lines:
sudo chmod -x ati-driver-installer-8.28.8.run
sh ./ati-driver-installer-8.28.8.run --buildpkg SuSE/SUSE101-IA32

x86_64:
Download ati-driver-installer-8.28.8-x86_64.run to your Home folder or move it there after it downloads.
Then in the terminal type these 2 lines:
sudo chmod -x ati-driver-installer-8.28.8.run
sh ./ati-driver-installer-8.28.8.run --buildpkg SuSE/SUSE101-AMD64
All:
Then install the package that was created: (If upgrading fglrx add the '--replacepkgs' flag)
sudo rpm -Uhv fglrx_6*.rpm

THIS NEXT PART YOU NEED TO WRITE DOWN because we are shutting down x
Do this in the terminal:
su
init 3

Log in as 'root' for the user name when prompted and enter password then:
sax2 -r -m 0=fglrx
(That is the number zero) click the OK button when prompted and then type:
reboot

Friday, July 14, 2006

SLED Menu For Ubuntu (Uslab) Now In Repo

After being noticed by QuinnStorm (of XGL/compiz repo fame), some patches were added to the .deb and she put it to her repo. The patches include:
  • Changing the word 'Computer' to 'Menu'
  • Replacing the little computer icon with the Ubuntu logo
  • Schemas added
  • 'Recently Used Applications' replaced with 'Places'
  • 'Install Software' correctly opens synaptic
If you don't already use her repo for XGL (which you should), here are quick instructions:
sudo nano /etc/apt/sources.list
Add this line to the bottom:
deb http://xgl.compiz.info/ dapper main
Then open the terminal and type these 2 lines to add the gpg keys:

gpg --keyserver subkeys.pgp.net --recv-keys 0x31a5f97fed8a569e
gpg --export --armor 0x31a5f97fed8a569e | sudo apt-key add -

And finally do:
sudo apt-get update
sudo apt-get dist-upgrade
The SLED menu is listed as 'gnome-main-menu', just 'sudo apt-get install' it:
sudo apt-get install gnome-main-menu gcontrol

Then when you right-click and choose 'Add to Panel', you will have the 'Main Menu' choice in the Misceleneous section.

Thursday, July 13, 2006

Add New SLED Menu To Ubuntu

The latest contribution to GNOME by Novell has been the menu overhaul known as 'SLAB' in their upcoming commercial distribution SLED. If you want to try it out you don't have to download and install the SLED pre-release you can add it to Ubuntu. Just like XGL, SLAB is open source.


First we need to take care of some dependencies. Open your terminal and type this (all one line):

sudo apt-get install libgnome-desktop-dev libpanel-applet2-dev libgtop2-dev libdbus-glib-1-dev network-manager-dev libhal-storage-dev libiw-dev libgnome-menu-dev libresmgr-dev libavahi-core-dev banshee f-spot mono

Next download and install this .deb file made by cbudden here.

Then download and install slab.schemas.zip and extract it to your Desktop and do this in your terminal:

cd ~/Desktop
gconftool --install-schema-file=slab.schemas

Now when you right-click on your panel up top and choose 'add to panel' you will notice that in the 'Miscellaneous' section there is an option called 'Main Menu'... this is the one-button SLAB menu. You will also notice that there is now a control panel for Ubuntu. Right-click on programs and 'add to favorites' or drag and drop to modify it.

I played around with my panels a little but my top panel still seems so bare!
Free Image Hosting at www.ImageShack.us

If you want to check out the cvs source and try to compile it:

cvs -z3 -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
(hit enter for password)
cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co -P slab



Thanks to the SLAB thread in the Ubuntu forums.