3DDesktop

From CBLFS
Jump to: navigation, search
Download Source: http://downloads.sourceforge.net/desk3d/3ddesktop-0.2.9.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/3ddesktop/3ddesktop-0.2.9-gcc4-1.patch

Contents

Introduction to 3DDesktop

3D-Desktop is an OpenGL program for switching virtual desktops in a seamless 3-dimensional manner on Linux. Somewhat old school in the age of Compiz and Beryl, but works great with modern hardware.

Project Homepage: http://desk3d.sourceforge.net/index.php

Dependencies

Required

Non-Multilib

Compile the package:

patch -np1 -i ../3ddesktop-0.2.9-gcc4-1.patch &&
./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

patch -np1 -i ../3ddesktop-0.2.9-gcc4-1.patch &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

patch -np1 -i ../3ddesktop-0.2.9-gcc4-1.patch &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

patch -np1 -i ../3ddesktop-0.2.9-gcc4-1.patch &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Configuring

Edit ~/.3ddesktop/3ddesktop.conf or /etc/3ddesktop.conf. You can add key and mouse bindings so you don't need to use the command line to switch desktops. Sometimes, when using keybindings, the key will repeat and launch multiple instances of 3ddesk. This will make you have to choose the desktop twice or even three times before it will exit. Here is a simple shell script to fix this.

cat > /usr/bin/3ddesk-once << "EOF"
#!/bin/sh
# This is a script that runs 3ddesk only once, and exits if there is already one running.
if [ -e /tmp/3ddesktop-lock ]; then
   echo "3ddesk cannot have more than one instance running at one time."
else
    echo "">/tmp/3ddesktop-lock &
    3ddesk
    rm /tmp/3ddesktop-lock
fi
EOF
chmod +x /usr/bin/3ddesk-once

Now bind 3ddesk-once to your keys.

Contents

Installed Directories: None
Installed Programs: 3ddesk, 3ddeskd
Installed Libraries: None

Short Descriptions

3ddesk is the application that switches desktops.
3ddeskd is a daemon that periodically takes a "snapshot" of each desktop.
Personal tools