Configuring XGL when using the KDE Desktop with SLED 10
Novell Cool Solutions: Tip
By Hicham Mourad
Digg This -
Posted: 17 Aug 2006
With SUSE Linux Enterprise Desktop 10 Novell has put significant efforts into adding graphics capabilities to the desktop. Novell's contribution to the graphics subsystem (Xgl, and Compiz) provides for a great user experience and increased productivity. These are referred to as "Desktop Effects".
Are you a KDE fan?
Do you really like the new graphics capabilities and want to use them with KDE?
This is the article for you!
Here you will find the "easiest" instructions to turn on "Desktop Effects" if you are using the KDE desktop.
- Make sure that when you installed SLED 10, you installed both GNOME and KDE. (even if you don't use GNOME install it as the integration of Xgl/Compiz and GNOME is very tight - remember I said "easiest instructions")
- Install the graphics drivers for the graphics card that you have in your machine. Your card needs to support 3D acceleration.
- Login to GNOME
- Go to the GNOME "Control Center".
- Select the "Desktop Effects"" icon, and then select "Enable 3D Desktop"
- Please go through the reboot after this.
- Login to GNOME again and verify that the new graphics capabilities are there. Do this by doing something like "Ctrl-Alt-Left Arrow" to rotate the cube to the left.
- Open a terminal (or use your favorite editor) to do the following:
- Make sure you are logged in as the user you normally login as or the user you want to enable these graphics capabilities for in KDE.
- Change to the /home/<user>/.kde/Autostart directory
- Create a shell script file called compiz.sh in that directory with the following: content:
#!/bin/bash compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher water & gnome-window-decorator &
- Make sure the shell script is flagged appropriately. Use the following command as the user:
chmod 750 compiz.sh
Note: What you just did in 5.3 and 5.4 is setup a shell script that will automatically run when the user logs in to KDE. This script will launch compiz and the window decorator that are necessary for the enhanced graphics to function. (In GNOME this is done automatically).
- Logout from the GNOME desktop, and login to KDE. You should now be good to go, enjoy...
- Most common keyboard shortcuts
- Switch windows = Alt + Tab
- Arrange and View All Windows = Moving the pointer to the top right screen corner turns on or off; clicking a window will zoom it to the front (you can change this in the GNOME Control Center - Desktop Effects tool as with many other options)
- Switch desktops on cube = Ctrl + Alt + Left/Right Arrow
- Switch desktops on cube - with active window following = Ctrl + Shift + Alt + Left/Right Arrow
- Rotate cube manually = Ctrl + Alt + left-click AND grab an empty desktop space.
- Move window = Alt + left-click
There are several more for you to discover.
Best of luck.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com