Posted on 1 Comment

Enabling 3D effects in KDE 4

KDE 4 comes with it’s own set of cool 3D effects built-in, but disabled by default. In order to enjoy these effects, you need to enable them manually through the Desktop section of System Settings. But in some cases, enabling 3D can get painfully difficult, as was in my case.

3D can be enabled through one of two options – XRender and OpenGL. Effects using XRender are quite slow and inferior to what is offered by OpenGL.

Enabling 3D with XRender normally works well on almost all machines, but problems start when you try to enable 3D using OpenGL. The most common error that pops us when trying to do so is:

Failed to activate desktop effects using the given configuration options. Settings will be reverted to their previous values

Here are some simple steps to make sure you can enable OpenGL 3D effects without errors and problems.

To start with, make sure you have:

  • Proper video drivers installed (proprietary drivers in case of NVIDIA and ATI) and 3D acceleration enabled.
  • The xorg.conf file setup properly.

In most situations, these sections are usually missing from the file xorg.conf (found in /etc/X11):

Section "Files"
    ModulePath     "/usr/lib/xorg/modules/extensions/nvidia"
    ModulePath     "/usr/lib/xorg/modules/extensions"
    ModulePath     "/usr/lib/xorg/modules"
EndSection
Section "Screen"
    Option       "AddARGBGLXVisuals" "True"
EndSection

Continue reading Enabling 3D effects in KDE 4

Posted on 39 Comments

Install Shockwave in Linux using Wine


Adobe Shockwave is an advanced platform for 3D applications on the Internet, and online games benefit the most out of it. But unfortunately, Adobe never released a version of Shockwave for the Linux platform.

If you are a Linux user, worry not. Using Wine, you can easily play for favorite games made using Shockwave. Wine is a software that allows running Windows applications on Linux. Wine is an open-source, free software, and is now available as a stable 1.0 version.

Here’s what you need to do:

  1. Install the latest version of Wine.
  2. Install the latest version of Shockwave for Windows using Wine. To do that, open command-line (Konsole/Terminal) and cd to the folder where Shockwave’s installer has been stored. Next, issue the command: wine Shockwave_Installer_Slim.exe. This will install Shockwave as it does in Windows.
  3. Next, install the latest version of Mozilla Firefox for Windows using Wine, in the similar way as above.
  4. After it’s installation, open Firefox, go to the desired URL containing your favorite Shockwave application, and viola! The Shockwave application is ready to be used.

The screenshot in the beginning of this post shows Miniclip’s Table Tennis game being played in Google Chrome installed in Linux using Wine.

[ To installed Google Chrome using Wine on Linux, refer to this excellent tutorial ]