GNU/LINUX (with COMPIZ XGL) on a Fujitsu-Siemens LIFEBOOK P7010


per a una versió en català d'aquest document, mireu ací

                  fs 2
Welcome to the realm of gnutux
fs 2

Product Details

Key Features
Processor Intel Pentium M 1.2 GHz
 
Installed Memory 1 GB (DDR SDRAM)
 
Display 10.6 in. WXGA TFT Active Matrix
 
Operating System EvilOS XP Professional
 
Mobile Technology Intel Centrino Mobile Technology
Processor
Processor Type Pentium M
 
Processor Manufacturer Intel
 
Processor Speed 1.2 GHz
Motherboard
Chipset Intel 855GME
 
Bus Speed 400 MHz
Memory
Installed RAM 1 GB
 
RAM Technology DDR SDRAM
 
Max Supported RAM 2048 MB
 
Installed Cache Memory 2048 KB
Hard Drive
Hard Drive Capacity 80 GB
 
Hard Drive Rotation Speed 5400 RPM
 
Storage Controller Type IDE
CD / DVD
CD / DVD Type Dual Layer DVD±RW
Display
Display Tech WXGA TFT Active Matrix
 
Display Size 10.6 in.
 
Display Max. Resolution 1280 x 768
Video
Graphic Processor Intel 855GME
 
External Video Resolution 1600 x 1200
Audio
Audio Output Type Headphones • Sound card • Speaker(s) • SPDIF out
 
Audio Input Type Microphone • SPDIF in
Technical Features
Expandability 1 x Type I/II PC Card Slot, 1 x SD Card Slot, 1 x CF Card Slot, 1 x Memory Stick Card Slot, 1 x MMC Card Slot
 
Expansion Ports 2 x USB 2.0, 1 x IEEE 1394a (FireWire), VGA out, RJ-11 (modem), RJ-45 (NIC), S-Video out
 
Input Method Keyboard • Scroll Button • Touchpad
Networking
Networking Type Integrated 10/100 • Integrated Wireless LAN
 
Data Link Protocol Ethernet • Fast Ethernet • IEEE 802.11b • IEEE 802.11g
Modem
Modem Type Fax / Modem
 
Analog Modulation Protocol ITU V.90
Battery
Battery Run Time 6.8 Hour(s).
 
Battery Technology Lithium ion
Miscellaneous
Exterior Color Grey


In general

Working just perfect!!

All I have tested -but external screen with accurated resolution (see ahead)- is working just as a charm

This is what you simply would call the ideal laptop to install GNU/Linux on it


Which distro?

Up to you. I started with gentoo and switched to ubuntu because I had not much time left to 
hack and the power management was giving some trouble (feasible, though), so I went to Ubuntu 
dapper (most things just working out of the box) and hacked here and there. Still, if you have the time, I'd 
recommend in any case the gentoo install... you'll learn a lot!


Wi-fi, speedstep, usb, hotkeys (also in usb perif.), microphone

Nothing to say here. Just working out of the box with ubuntu dapper

A hint for n00bs,

If you have a mac address filter on your router, be sure to 
upload the address of both devices, eth0 and wlan to it!

You can find the number like this:

ifconfig -a


The mac address is the number looking like this (in red)

eth0 Link encap:Ethernet HWaddr 00:13:3D:6F:65:1H
inet addr:192.168.2.100 Bcast:172.126.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe1b:8017/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:181175 errors:0 dropped:0 overruns:0 frame:0
TX packets:93962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:268155966 (255.7 MiB) TX bytes:5972294 (5.6 MiB)
Interrupt:9 Base address:0xc800

eth1 Link encap:Ethernet HWaddr 00:0T:19:5N:62:4Y
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Memory:ffdfd000-ffdfdfff

A small shell script to do automatically all this stuff

(I'll keep improving this, so come back in the future)

Since I don't feel like going through the whole thing each time I have to
look for a connection, I thought it'd a good thing to have a shell script 
doing this for me... which I call "Sense_fils.sh" (Catalan for "wireless") 
Well, here you have it. I assume your wlan interface is eth1 and your 
shell is zsh. Run it as sudo or add sudo to each line

#!/usr/bin/env zsh

# Script "Sense_fils.sh". Stops firestarter, if running, also all possible dhcpcd
# connections and scans for possible networks, giving you the possibility of choising
# one of them and connect to it via wpa (ascii)
# Copyright Pau Amaro-Seoane and released under GPLv2:
# http://www.fsf.org/licensing/licenses/gpl.txt

# Check whether script talks to a person... errr... terminal

tty -s && stdin_is_human=1
tty -s <&1 && stdout_is_human=1


firestarter -p

killall dhcpcd
killall dhcpcd-bin
killall dhclient3

ifconfig eth0 down
ifconfig eth1 up

# list of available wireless connections (aka beams)
beams=( $(iwlist eth1 scan | grep ESSID | cut -d":" -f 2 | sed 's/\"//g') )
n_beams=$#beams

# chose a "beam"
if [[ -n $stdin_is_human ]] && [[ -n $stdout_is_human ]]; then
echo "Master, I've found the following beams to suit you:"
for (( i=1; i<=n_beams; i++ )); do
echo \ \ \[$i\] $beams[$i]
done

echo -n " Which beam do you want (1-$n_beams) ?"
read ibeam
echo ""
mybeam=$beams[$ibeam]
echo " You selected \"$mybeam\"... Very good choice! (what are you doing tonight?)"
echo -n " And... what about your password: "
stty -echo # prevent password to be echoed
read password
stty echo
echo ""
else
ibeam=1
ybeam=$beams[$ibeam]
password=""
fi

iwconfig eth1 essid "$mybeam" key s:$password

dhcpcd eth1

echo "Congratulations Master. You are connected to
\"$mybeam\". My pleasure"


Sleep, hibernate

Dapper only gave me two problems besides this: hibernate (suspend to disc) and 

sleep (suspend to RAM). But this is an easy thing to solve.

For the sleep mode edit

/etc/default/acpi-support

and uncomment the second line by deleting the # character. Reboot your 
machine.  Suspend can be triggered by pressing the laptop's sleep button 
or choosing "suspend" from the GNOME logout menu.

For the hibernate mode remove the boot splash option of your box

vi /boot/grub/menu.lst

Just delet the word "splash" in the options

title Ubuntu, kernel 2.6.blabla
root (hd0,0)
kernel /boot/vmlinuz-2.6.blabla root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.blabla
savedefault
boot

Resolution of the screen

Unfortunately Ubuntu (Xorg) cannot cope with the 1280x768 pixels and gives you
1024x768... But don't worry, there's a small hack on it.

Download this small c program and do the following

gcc -o i8xx_patch 1280patch-845g-855gm-865g.c
sudo ./i8xx_patch 30 1280 768

Of course, you'll have to stop X, gdm etc and then restart it again

When your box has booted and you're in front of your gdm, go to a terminal
(contrl + alt + any FX , X=1 ... 12) and launch this script, which I call
ComencaXambBonaResolucio.sh (Catalan for StartXWithRightResolution)

#!/bin/env zsh
sudo pkill -9 Xorg &&
sudo pkill -9 gdm &&
sudo /home/pau/bin/i8xx_patch 30 1280 768 &&
sudo /etc/init.d/gdm restart

You can just put the script into your home bin and chmod u+x
ComencaXambBonaResolucio.sh

As of now I didn't have the time to find a way to set the right resolution on an
external screen... but it's ok, I can live with that for the moment (and I use it
daily). A possibility is to reboot the laptop with the external screen attached and
DURING THE BOOT press fn + F10 ... the resolution will be automatically set right.

NEWS!!

The Intel Extreme 915GM graphics chip is detected by the Ubuntu installer and it
correctly writes the /etc/xorg.conf file with modelines for 1280x800 that appear to be
appropriate for the built-in panel and no other modelines. Unfortunately the video BIOS
 fails to report the TFT panel's dimensions as one of the modes available from the card
and when X starts however it decides that the most appropriate mode to be in is 1024x768.
 The resulting video gets mapped onto the TFT and looks wrong because its aspect ratio is
incorrect (1280x800 is a widescreen TFT and 1024x768 is a standard screen mode) and the
pixels of the mode don't exactly map onto the pixels on the panel. There are also some
unfortunate times when bits of windows fall off the screen and can't be accessed.

I was pointed in the direction of a program called 855resolution which rewrites the video BIOS
tables of machines with the Intell 855 Centrino chipset and allows the reported modes to be
redefined. I was unsure whether 855resolution was suitable for my 915GM card but I located
a fork of the project called 915resolution which definitely is.

915resolution is actually in the Dapper repositories, making it much simpler. Just do this:

1. Install it from Synaptic or apt-get

2. Find a mode you want to overwrite by typing "915resolution -l" and choosing a resolution you
    don't use, like 1920x1440

3. sudo gedit /etc/defaults/915resolution, and set x=1920, y=1440, mode=3d (or whatever mode you don't need)

4. Then start 915resolution (do sudo /etc/init.d/915resolution start)

5.Restart X (ctrl-alt-bkspc).

XGL/COMPIZ

I know you're waiting to read this... Here it goes:

It works fine!
Not for MacOSX "users" (actually I'd say useds)


Have a look to the movie to see the results.

The link is
http://video.google.com/videoplay?docid=-3646776221296869370

This is the only thing that requieres half an hour or so to think about.
If you rather prefer to invest your time reading a good book (please classical
literature, avoid ANY best seller with raised, golden characters in the cover!)


then just follow these steps (taken and adapted from the ubuntu forums)

All packages as based on Kristian Høgsberg fixes, forums compiz packages 
and official packages. 

For people using NVidia they should continue to use Xgl server. compiz-aiglx 
doesn't work on the card !

1. Download packages

aiglx :
First you should add reggaemenu compiz repository in your source.list


deb http://xgl.compiz.info/ dapper aiglx
deb http://xgl.compiz.info/ dapper main

and update all deb

sudo apt-get update
sudo apt-get dist-upgrade

install the latest dri modules packages :

sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`

If after a linux-restricted-modules or linux-image update you have some troubles,
start this command to regenerate modules.dep :

sudo /sbin/ldm-manager

compiz:

compiz aiglx are now partially official, compiz-vanilla or compiz-quinn packages work
now on xorg-aiglx. All compiz-aiglx packages are now deprecated. First uninstall
all compiz-aiglx packages

sudo aptitude purge compiz-aiglx compiz-aiglx-gnome
You can then either install compiz-vanilla packages :

sudo apt-get install compiz-vanilla-aiglx compiz-vanilla compiz-vanilla-gnome
Or compiz-quinn packages:

sudo apt-get install compiz-quinn-aiglx compiz compiz-gnome
Note: In principle they are equivalent, but for me only compiz-quinn worked

2. Configure Xorg

Good news... you can work in 24 depth mode
Edit your Screen section and modify your DefaultDepth

DefaultDepth 24

Activate dri,dbe, glx and all necessary modules like this :

Section "Module"
# Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

add Option "XAANoOffscreenPixmaps" and remove all other option in device section like this :

Section "Device"
Identifier "Intel Corporation Intel Default Card"
Driver "i810"
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0"
EndSection

add AIGLX option in your ServerLayout section like this :

Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

uncomment all dri section

Section "DRI"
Mode 0666
EndSection


and you must have:

Section "Extensions"
Option "Composite" "Enable"
EndSection

is required.


3. Configure gdm

Create or modify /etc/gdm/gdm.conf-custom to change your xorg server like this:

[servers]
0=aiglx

[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true

and restart gdm

sudo /etc/init.d/gdm restart

4. Compiz-aiglx start script

the compiz-aiglx start script is now in package and automatically started on all gnome session startup.
If you have some trouble with it you can remove compiz-aiglx.desktop file in /etc/xdg/autostart.

5. Fix totem playback

To have an optimised video playing on xorg-aiglx :

If you have totem-gstreamer :
launch gstreamer-properties and select on default video playback "XWindow (NoXv)" in video tab.

If you have totem-xine :
edit ~/.gnome2/totem_config and replace this line :

#video.driver:auto
with

video.driver: xshm


NEWS!

Now the installation of Beryl/XGL is easier. Just follow these instructions:


   --> http://wiki.beryl-project.org/index.php/Install/Ubuntu/Dapper/AiGLX


Minimise the non-open-source software of your box

If  you want to add some non-free features to your laptop because you 
don't have any kind of ethic (I am 45% joking), try this:  easyubuntu; to download,
visit this site

I must say here that I am using this and still keep my ethic untouched, because I
am a good boy and already payed my fee to the Free Software Foundation this year
and think it's reasonable to use that kind of software while the good boys develope
a free version :)

NEW  --> Do-it-all for me: sh script <--

Here you are a script I use to do everything like a breeze. 

#!/usr/bin/env bash

cd /tmp &&

# Get gartoon icon set

wget http://www.aei.mpg.de/~pau/gartoon.tar.gz ; mkdir $HOME/.icons; mv gartoon.tar.gz $HOME/.icons && tar xvfz $HOME/.icons/gartoon.tar.gz ;

# Become su for the rest of the script

su -s &&

# Make the icons available in the pixmaps directory to use them for apps

sudo mkdir /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/svg/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/apps/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/devices/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/emblems/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/filesystems/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/mimetypes/* /usr/share/pixmaps/gartoon;
sudo ln -sf $HOME/.icons/gartoon/scalable/Xtras/* /usr/share/pixmaps/gartoon;

# Get nice ComixCursor theme for the cursor and install it

wget http://www.aei.mpg.de/~pau/ComixCursors-0.4.2.tar.bz2 ; sudo tar xvfj ./ComixCursors-0.4.2.tar.bz2 ; sudo mv ComixCursors-* /usr/share/icons ;

# Backup sources.list

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_ORIGINAL ;

# Get the modified one

wget http://www.aei.mpg.de/~pau/sources.list_dapper && sudo mv -f ./sources.list_dapper /etc/apt/sources.list ;

# gpg procedure requiered for automatix

wget http://www.getautomatix.com/apt/key.gpg.asc ;
gpg --import key.gpg.asc ;
gpg --export --armor 521A9C7C | sudo apt-key add -

# gpg procedure required for engage

sudo wget soulmachine.net/public.key && sudo apt-key add public.key ;

# update, upgrade

sudo apt-get update ;
sudo apt-get -y -V upgrade ;

############################ Automatix ############################
sudo apt-get install -y -V zenity && sudo apt-get install -y -V automatix2 &&
automatix2 &&
############################ Automatix ############################

# In case we didn't do this with Automatix
sudo apt-get install -y -V sun-java5-jre sun-java5-plugin &&
sudo update-java-alternatives --set java-1.5.0-sun &&
sudo apt-get install -y -V flashplugin-nonfree &&
sudo update-flashplugin &&
wget -c http://www.users.on.net/~stubby/FrostWire-4.10.9-2.i586.deb &&
sudo dpkg -i FrostWire-4.10.9-2.i586.deb &&

############################ Engage ############################
wget http://www.aei.mpg.de/~pau/engage_osx.tar.gz ;
mkdir -p ~/.e/e/applications/allmkdir -p ~/.e/e/applications/engage ;
mv engage_osx.tar.gz ~/.e/e/applications/engage ;
cd ~/.e/e/applications/engage/ && tar xvfz engage_osx.tar.gz&&
cd /tmp&&
sudo apt-get install -y -V engage eutils
clear ;
echo "Use e_util_eapp_edit ~/.e/e/applications/engage/gnome-terminal.eap to configure the files of engage";
sleep 4;
############################ Engage ############################

############################ kiba dock ############################
clear &&
sleep 3 &&
echo "Installation of the kiba dock; you'll need xgl though..."
sleep 3 &&
sudo apt-get -y -V install automake1.4- &&
sudo apt-get -y -V install automake1.9 build-essential cvs libpango1.0-dev libgtk2.0-dev libgconf2-dev libglitz-glx-dev librsvg2-dev checkinstall libglade2-dev &&
cvs -d:pserver:anonymous@metascape.afraid.org:/cvsroot co kiba-dock &&
cd ./kiba-dock&&
./autogen.sh&&
make&&
make install-schemas&&
sudo checkinstall&&
cd /tmp &&
############################ kiba dock ############################

############################ Moblock ############################
clear &&
sleep 3 &&
echo "Installation of Moblock..."
sleep 3 &&
gpg --keyserver subkeys.pgp.net --recv DEDA0559 &&
gpg --export --armor DEDA0559 | sudo apt-key add - &&
sudo apt-get -y -V install moblock-nfq &&
############################ Moblock ############################

######################## Googleearth (if not done with Automatix) ########################
clear &&
sleep 3 &&
echo "Installation google earth; click _exit_ when finished"
sleep 3 &&
wget -c http://dl.google.com/earth/GE4/GoogleEarthLinux.bin &&
sudo sh GoogleEarthLinux.bin &&
sudo cp /usr/local/google-earth/googleearth.desktop /usr/share/applications/ &&
clear &&
echo "google earth installed"
sleep 3 &&
######################## Googleearth (if not done with Automatix) ########################


###################### Multimedia codecs (if not done with Automatix) ######################
sudo apt-get install -y -V gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base &&
sudo apt-get install -y -V gstreamer0.10-plugins-good gstreamer0.10-plugins-bad &&
sudo apt-get install -y -V gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly &&
sudo apt-get install -y -V gstreamer0.10-plugins-ugly-multiverse &&
sudo apt-get install -y -V w32codecs &&
###################### Multimedia codecs (if not done with Automatix) ######################

# How to install DVD playback capability
#
# ironss: gstreamer dvd plugin is available as part of plugins-bad (or ugly?)
# and does not work reliably. However, Totem works with the xine backend to play
# back DVDs. This will keep you going until gstreamer gets dvd playback. Note
# that you do not have to install xine-ui or mplayer as suggested in

sudo apt-get install -y -V libdvdread3 &&
sudo /usr/share/doc/libdvdread3/examples/install-css.sh &&
sudo apt-get install -y -V totem-xine &&

################################################################ Not serious thingies ################################################################
sudo apt-get install -y -V wormux pingus lbreakout2 stellarium celestia d4x azureus bittornado bittornado-gui amule skype streamtuner streamripper cowbell banshee audacity bum stellarium
################################################################ Not serious thingies ################################################################

################################################################ Serious thingies ################################################################

sudo apt-get install -y -V zsh zsh-lovers vim-gnome lynx xine-ui libxine-extracodecs qiv dhcpcd dvdbackup mjpegtools mkisofs mplayer mp32ogg easytag inkscape nvu build-essential wine quanta kdebase kde-i18n-ca k3b libk3b2-mp3 gparted firestarter ethereal gthumb mcrypt gv gnome-gv kpdf a2ps tetex-base tetex-extra tex-common latex-beamer xfig aspell maxima wxmaxima maxima-doc labplot gnuplot grace g77 most mencal kwifimanager ksnapshot pstoedit libtheora\* libogg-dev libvorbis-dev ffmpeg2theora grip subversion gnubiff mutt gworldclock stopwatch wifi-radar xmame-x xmms xmms-skins psutils &&
################################################################ Serious thingies ################################################################

clear ; rehash &&

echo -n ""

#################################################################### Theora ####################################################################
cd /tmp&&
echo "Installation of last version theora..."
echo -n ""
sleep 3;

#theora darrera versio
lynx -dump http://downloads.xiph.org/releases/theora/ | grep "tar.gz" | gawk '{print $2}' | tail -2 | grep libtheora-1 > /tmp/theora.txt &&
wget `cat /tmp/theora.txt`&&
tar xvfz /tmp/libtheora* &&
rm /tmp/libtheora* &&
cd /tmp/libtheora* &&
./configure ;
make ;
sudo make install ;
cd examples ;
cp $HOME/bin/encoder_example $HOME/bin/encoder_example_old ;
gcc -o $HOME/bin/encoder_example encoder_example.c -logg -lvorbis -lvorbisenc -ltheora;
clear;
echo "Installation last version Theora finished... "
sleep 3;
#################################################################### Theora ####################################################################

#################################################################### skype-rec ####################################################################
echo "Installation of last version skype-rec..."

echo -n ""

sleep 3;
cvs -d:pserver:anonymous@skype-rec.cvs.sourceforge.net:/cvsroot/skype-rec co skype-rec &&
cd skype-rec&&
make&&
sudo make install&&
cd /tmp&&
cat /usr/share/applications/skype.desktop | sed 's/Exec=skype/Exec=\/usr\/bin\/skype-rec/' > /tmp/skype.desktop.txt &&
sudo mv -f /tmp/skype.desktop.txt /usr/share/applications/skype.desktop &&
clear;
echo "Installation last version skype-rec finished... "
sleep 3;
#################################################################### skype-rec ####################################################################

#################################################################### Wengo ####################################################################


echo -n ""

sleep 3;
# The binary deb doesn't work (sound problems). Have to fetch last nightlybuild
#
# wget http://wengofiles.wengo.fr/wengophone/rc/wengophone-0.958m-1.i386.deb &&
# sudo dpkg -i wengophone-0.958m-1.i386.deb &&

lynx -dump http://download.wengo.com/nightlybuilds/binary/NG/GNULinux/rc2/ | tail -1 | gawk '{print $2}' > /tmp/Wengo.txt&&
wget `cat /tmp/Wengo.txt`&&
tar xvfj wengophone*&&
rm wengophone*&&
mv wengo* $HOME/wengo&&
# wget http://www.aei.mpg.de/~pau/wengo.desktop.txt &&
# sudo mv ./wengo.desktop.txt /usr/share/applications/kde/wengophone.desktop &&
clear;
echo "Installation Openwengo finished..."
sleep 3;
#################################################################### Wengo ####################################################################

#################################################################### Xara Xtreme ####################################################################
clear;
echo "Instal.lacio de la darrera versio de Xara Xtreme..."
echo -n ""
sleep 3;

lynx -dump http://www.xaraxtreme.org/download/ | grep "Recom" | tail -1 | gawk '{print $2}' > /tmp/xara.txt &&
wget `cat /tmp/xara.txt`&&
tar xvfj RecomX* &&
sudo mv xaral* /opt &&
sudo ln -s /opt/xara*/bin/* /usr/bin/
wget http://www.aei.mpg.de/~pau/xara.desktop.txt &&
sudo mv xara.desktop.txt /usr/share/applications/xara.desktop &&
clear &&

echo "Installation Xara Xtreme finished... ";
sleep 3;
#################################################################### Xara Xtreme ####################################################################

#################################################################### Cube ####################################################################
clear;
echo "Installation of Cube..."
echo -n ""
sleep 3;
wget http://yeknan.free.fr/blog/fichiers/games/cube_20040522-4_i386.deb &&
sudo dpkg -i cube_20040522-4_i386.deb &&
rm -f cube_20040522-4_i386.deb
#################################################################### Cube ####################################################################

#################################################################### Tremulous ####################################################################
sudo mkdir /usr/local/games/tremulous&&
cd /usr/local/games/tremulous&&
sudo wget http://easynews.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0-installer.x86.run&&
sudo chmod a+x tremulous-1.1.0-installer.x86.run&&
sudo sh tremulous-1.1.0-installer.x86.run&&
sudo rm tremulous-1.1.0-installer.x86.run&&
cd /tmp&&
wget http://www.aei.mpg.de/~pau/tremulous.txt&&
mv tremulous.txt /usr/share/applications/tremulous.desktop&&
#################################################################### Tremulous ####################################################################

#################################################################### Second life ####################################################################
sudo mkdir /usr/local/games/second-life&&
cd /usr/local/games/second-life&&
sudo wget -c http://secondlife.com/downloads/viewer/SecondLife_i686_1_12_1_13.tar.bz2 && sudo tar xvfjp SecondLife_i686_1_12_1_13.tar.bz2&&
sudo rm SecondLife_i686_1_12_1_13.tar.bz2&&
sudo mv SecondLife_i686_1_12_1_13/* .&&
sudo rm -r SecondLife_i686_1_12_1_13&&
sudo wget http://www.aei.mpg.de/~pau/secondlife.txt&&
sudo mv secondlife.txt /usr/share/applications/secondlife.desktop&&
cd /tmp&&
#################################################################### Second life ####################################################################

echo -n ""
echo "xmms installation and general setup..."
echo -n ""
wget -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb &&
sudo dpkg -i xmms-wma_1.0.4-2_i386.deb &&
#Associate XMMS to play MP3/M3U/WAV files
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup &&
sudo cp /usr/share/applications/defaults.list /tmp/defaults.list_tmp &&
sudo sed -e 's/audio\/mpeg=.*/audio\/mpeg=XMMS.desktop/g' /tmp/defaults.list_tmp > /tmp/defaults.mp3 &&
sudo sed -e 's/audio\/x-mpegurl=.*/audio\/x-mpegurl=XMMS.desktop/g' /tmp/defaults.mp3 > /tmp/defaults.m3u &&
sudo sed -e 's/audio\/x-wav=.*/audio\/x-wav=XMMS.desktop/g' /tmp/defaults.m3u > /tmp/defaults.list &&
sudo mv /tmp/defaults.list /usr/share/applications/defaults.list &&
sudo rm -f /tmp/defaults.* &&

clear &&

echo "xmms installation and setup finished... "
sleep 3;
#################################################################### xmms ####################################################################

echo -n ""

echo "Instal.lacio de kino i configuracio general..."

echo -n ""


#kino
sudo apt-get install -y -V kino &&
sudo apt-get install -y -V kinoplus &&
sudo apt-get install -y -V kino-timfx &&
sudo apt-get install -y -V kino-dvtitler &&
sudo modprobe raw1394 &&
sudo modprobe ohci1394 &&
sudo modprobe video1394 &&
sudo mknod -m 666 /dev/raw1394 c 171 0;
sudo chmod 666 /dev/raw1394 &&

#nessus
sudo apt-get install -y -V nessus &&
sudo apt-get install -y -V nessusd &&
sudo nessus-adduser &&
sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd &&
sudo /etc/init.d/nessusd start &&

#rar
sudo apt-get install -y -V rar &
sudo ln -fs /usr/bin/rar /usr/bin/unrar &

#DVD Ripper (dvd::rip)
sudo apt-get install -y -V dvdrip vcdimager cdrdao subtitleripper &&
sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80 &&
wget http://www.aei.mpg.de/~pau/dvdrip.desktop.txt &&
sudo mv ./dvdrip.desktop.txt /usr/share/applications/dvdrip.desktop &&

#extrafonts
sudo apt-get install -y -V xfonts-intl-arabic &&
sudo apt-get install -y -V xfonts-intl-asian &&
sudo apt-get install -y -V xfonts-intl-chinese &&
sudo apt-get install -y -V xfonts-intl-chinese-big &&
sudo apt-get install -y -V xfonts-intl-european &&
sudo apt-get install -y -V xfonts-intl-japanese &&
sudo apt-get install -y -V xfonts-intl-japanese-big &&
sudo apt-get install -y -V xfonts-intl-phonetic &&
sudo apt-get install -y -V gsfonts-x11 &&
sudo apt-get install -y -V msttcorefonts &&
sudo fc-cache -f -v &&

clear &&
echo "Ja esta. He instal.lat un fum de coses; ara reengeguem..."
sleep 3 &&
sudo reboot

Download from here the very last version of the script. I keep on adding things.

The nice watermark gnu?

Comes from Drawingomme

Merci!

You've found this guide somehow interesting or useful?

Then drop me a few words... I'll be happy to know I've helped you.
If you find mistakes etc please do tell me

amaro.seoane -- something called "at"-- gmail.com

sudo apt-get install vrms

Run vrms on a terminal and tell me the result... I'm curious!

Linux On LaptopsTuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones