wow's thread
wNOP v0.2
Step 1
Desktop Environment
First off you're gonna need a compositing window manager like Xfce, Gnome, or KDE.
NOP
Forum member gray, maintains an excellent XFCE-based version of Puppy, the Puppy 4 version can be found here.
Pure CF window management
I have also had success running CF without any window manager at all, therefore using Emerald to decorate windows, Rox to provide the wallpaper and Cairo-Dock as a taskbar/panel. This is very exciting and I would like to release a Puplet of this, but it still needs a lot of work. If you're interested in experimenting with this the adventure begins with this command,
Code: Select all
xwin rxvt
Step 2
3D acceleration
This is definitely the trickiest bit. Ordinary Puppies, don't automatically enable your graphics card to work at its fullest potential. At best Puppy will get Xorg running for you, this is essential as CF will not work with the Xvesa X server.
You may already know how to get your graphics card fully 3D enabled, that's great, otherwise you are best advised to seek out the instructions for your specific card. But please note that even if you do get 3D going there are only 3 main types of card that can run CF; ATI (newer than 7000), Intel (newer than i810) and Nvidia (newer than GeForce2).
Regardless of your card-type, the first thing you're gonna need to install is the remains of the full Xorg X server -- xorg_xorg_full_dri-7.3.pet
nVidia
It's possible however that nVidia users may not need that package, there's no harm in installing it, but what nVidia users will need is the latest nVidia driver.
nvidia-9639 for most nvidia cards (officially Gf2 to Gf4 but have tested on Gf7 OK).
nvidia-100.14.11 for latest cards (Gf5 to Gf8).
Remember to reboot (maybe just X) after installing.
ATI
ATI cards are a pain for a couple of reasons Firstly their Linux drivers are not supported well and Puppy has some bugs that effect ATI 3D setup.
FGLRX
For the very newest ATI cards you will need ATI's proprietary driver, which always gets bad reports. There are some instructions here. If this works then you will not need to follow any other instructions here to geet 3D working, you can go straight to installing CF.
Bug Fixes
Here's the first bug-fix;
open up /usr/sbin/findhostbridge and find line 97, which reads:
Code: Select all
shell("ls /lib/modules/2.6/char/agp/*.ko>/tmp/findhostbridge.tmp")
Code: Select all
shell("ls /lib/modules/2.6/kernel/drivers/char/agp/*.ko>/tmp/findhostbridge.tmp")
Add
Code: Select all
modprobe sis_agp
For these fixes to take effect a FULL REBOOT is needed!
Now follow the instructions for Getting xorg.conf sorted
Intel
You need to add the line
Code: Select all
modprobe -n i915
Getting xorg.conf sorted
xorg.conf is found at /etc/X11/
PLEASE MAKE SURE TO MAKE A BACKUP FIRST!!!!!!!!!!!!!
Add:
Code: Select all
Option "AIGLX" "true"
Code: Select all
Section "Server Layout"
...
EndSection
Code: Select all
Option "XAANoOffscreenPixmaps" "true"
Option "AddARGBGLXVisuals" "True"
Code: Select all
Section "Device"
...
End Section
Code: Select all
Section "Extensions"
Option "Composite" "Enable"
EndSection
In order to activate these changes X must be restarted. A full reboot is not needed, you can simply press CTRL+ALT+BACKSPACE to exit to the command line and restart X by typing xwin. If X fails to start because of a bad xorg.conf file you can always edit it from the command line with:
Code: Select all
e3 /etc/X11/xorg.conf
Code: Select all
cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf
Basically DRI must be active for Compiz to work. After installing glxinfo and typing
Code: Select all
glxinfo | grep dri
at the command line will tell you whether DRI is active and if it is not, typing
Code: Select all
cat /var/log/Xorg.0.log | grep dri
Installing Compiz-Fusion
Finally, we're here!
We need the libwnck library as it's an Emerald dependency;
Install libwnck-2.23.4-i686.pet
Now you can install Compiz-Fusion! fusion-0.7.7.pet
(Thanks to forum member wow for this pet package)
Now before running compiz the line:
Code: Select all
export XLIB_SKIP_ARGB_VISUALS=1
Code: Select all
#export XLIB_SKIP_ARGB_VISUALS=1
Now! CF is run by typing:
Code: Select all
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering --sm-disable ccp &
Code: Select all
emerald --replace
Code: Select all
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering --sm-disable ccp &
sleep 3
Configuring Compiz
In order to run the Compiz Config Settings Manager (CCSM) that comes with the fusion package Python (a programming language) needs to be installed.
python_for_CCSM.pet
(This version of Python was compiled for Puppy 3 but I have tested it as working in Puppy 4, there is a Puppy 4 version of these Python packages somehwere I just haven't looked to find them)
Once installed Settings->CCSM from the menu should work. There is SOOOO much you can do with compiz, it's not just about wobbily windows you know!
If you find this How To useful you might like to put a colour memory in my database (and tell all your friends about it!).