<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d23884446\x26blogName\x3dJust+Another+Tech+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://justanothertechblog.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://justanothertechblog.blogspot.com/\x26vt\x3d-484221019928432923', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Just Another Tech Blog

Anything and everything having to do with technology, computers, science, and most of all... Linux! The documentation of my Linux endeavor.



Sweet! XGL up and RUNNING!

Sunday, September 17, 2006

I have finally set up XGL on my SuSE 10.1 hard drive! AND IT IS AWESOME!!!! Seriously, those who say XGL isn' good for anything... well they have never used it before. I mean is something that makes your life more enjoyable useless? Contrary to what I thought, XGL was one of the easiest things I ever had to install! Really, I did it in less than 5 minutes! Nothing went wrong, everything just worked! But how did I do it you ask? Well, I followed Novell's Cool Solutions Guide: Xgl on SUSE 10.1 for Gnome and KDE with NVidia Graphics Cards. Follow those instructions and you'll have XGL/ Compiz running in no time! Here are basically the steps:

You need make, gcc, and kernel-source. Get those through Yast.

  1. Install the nVidia graphics card drivers
    -Dowload them here (save in your home directory or some other easy place to remember)
    -Hit CTRL-ALT-F1, this will take you to a virtual terminal
    -as root, type:
    # init 3
    -cd to the directory that contains the nVidia Driver
    -type:
    # chmod +x ./NVIDIA [press TAB to complete the rest of the name]
    to give executable permissions
    -then run the installer:
    # ./NVIDIA [press TAB to complete the rest of the name]
    -answer yes to everything
    -type
    # reboot

  2. Now, install the XGL and Compiz packages using Yast.

  3. Ok, now comes the editing of the config files.
    -Open a terminal
    -Become root
    -Use any editor of your choice to edit the xorg.conf file (I used kate)
    # kate /etc/X11/xorg.conf
    -Find the device section, it should look something like this:
    Section "Device"
    Identifier "Device[0]"
    Driver "nvidia"
    VendorName "NVidia"
    BoardName "GeForce 6200 (0x0221)"
    EndSection

    -Add Option "NoFlip" "True"
    -now it should look something like this (depending on your graphics card):
    Section "Device"
    Identifier "Device[0]"
    Driver "nvidia"
    VendorName "NVidia"
    BoardName "GeForce 6200 (0x0221)"
    Option "NoFlip" "True"
    EndSection

    -Now go down to the very bottom and add this:
    Section "Extensions"
    Option "Composite" "off"
    EndSection

    -Close the xorg.conf file, and open
    # kate /etc/sysconfig/displaymanager
    -Find the line that says DISPLAYMANAGER_XSERVER="Xorg". Replace the "Xorg" with "Xgl"
    -it should look like this:
    DISPLAYMANAGER_XSERVER="Xgl"
    -Then, find the line that says DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:pbuffer". Change the xv:pbuffer to xv:fbo.
    -now it should look like this:
    DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:fbo"

  4. Finish it up
    -type:
    # SuSEconfig
    at the terminal as root
    -then, you must delete a symbolic link and make a new one:
    -first
    # rm /var/X11R6/bin/X
    -then
    # ln -s /usr/X11R6/bin/Xgl /var/X11R6/bin/X

  5. Configure for KDE
    -Upon up your favorite editor and paste into it the following:
    [Desktop Entry]
    Encoding=UTF-8
    Exec=compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & gnome-window-decorator &
    GenericName[en_US]=
    StartupNotify=false
    Terminal=false
    TerminalOptions=
    Type=Application
    X-KDE-autostart-after=kdesktop

    -save it in /home/[your user name]/.kde/Autostart as compiz.desktop

  6. Your done! Enjoy XGL!!!!
So there you have it, that is how I set up xgl on my SuSE 10.1 install, and I think you can easily do the same. Here are some basic commands (yes, I took them from the Novell website).

Window Operations
Move Window ALT + Left-Click and Drag
Move Window - Snap to screen CTRL + ALT + Left-Click and Drag
Resize Window ALT + Right-Click and Drag
Switch Windows ALT + TAB
Switch Windows (Scale Mode) F11
Wobbly Windows Left-Click Window and Drag
Translucency ALT + Mouse Up / Mouse Down
Cube
Rotate Cube - Next Desktop CTRL + ALT + Left or Right Arrow
Rotate Cube - Next Desktop Move Mouse cursor to extreme edge of desktop
Rotate Cube - Take Active Window CTRL + SHIFT + ALT + Left or Right Arrow
Manually Rotate Cube CTRL + SHIFT + Left-Click on Desktop and Drag
Zoom
Zoom Once Super-Key (Windows Key)
Zoom In Manually Mouse Wheel Scroll Up + Super-Key (Windows Key)
Zoom Out Manually Mouse Wheel Scroll Down + Super-Key (Windows Key)

Screenshots? Coming soon!

Note from the Nerd: The only problem I encountered was with superkaramba and my system monitor. The system monitor would always be on top of every window, which was very annoying. So, I am currently searching for a cure for this... hopefully I find one soon... I love my system monitor!

Second Note from the Nerd: THIS IS MY 500th Post!!!! w00t!
posted by linnerd40, Sunday, September 17, 2006


0 Comments:

Add a comment