Topic: Compiz-Fusion Standalone on #!
Before I start with the guide, I wanted to let the mods know that I'm aware of the fact that there already are topics about this on the boards. Since those are old and follow a different way than I do, I thought I should make a new topic. If I'm wrong, feel free to merge it ![]()
DarthWound on the French Crunchbang forums has recently set up his Compiz standalone session and wrote a guide on how to do so. I used a Compiz standalone session on Arch too, and now that I'm back on #! I'm using it here too. Since I did it different than DarthWound, I wrote a how-to on how I did it to add to it. I figured I might as well post it here ![]()
A screenshot to show you what it looks like:
Check for a compiz-capable computer
Prior to starting, it is a wise choice to check if your computer is capable of running Compiz. To do this, you'll need the compiz-check script:$ wget http://blogage.de/files/70708/download -O compiz-check $ chmod +x compiz-check $ ./compiz-checkIf the output is all positive, you can safely continue with this guide.
Installing the base packages
Now you can safely install the necessary basic Compiz packages:$ sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extraThere's also compiz-fusion-plugins-unsupported, but I don't use those and find them unnecessary.
Next up, you need decorators. I myself prefer (the deprecated) emerald. You can't currently find them in the Debian repo's, so you'll have to grab the relevant packages from somewhere else:
+ 32 bit:
$ wget http://boisson.homeip.net/debian/pool/squeeze/i386/libemeraldengine0_0.8.4_i386.deb $ wget http://boisson.homeip.net/debian/pool/squeeze/i386/emerald_0.8.4_i386.deb+ 64 bit:
$ wget http://boisson.homeip.net/debian/pool/squeeze/amd64/libemeraldengine0_0.8.4_amd64.deb $ wget http://boisson.homeip.net/debian/pool/squeeze/amd64/emerald_0.8.4_amd64.debTo install them, either use gdebi-gtk or run
$ sudo dpkg -i libemeraldengine0_0.8.4_<arch>.deb $ sudo dpkg -i emerald_0.8.4_<arch>.debSetting up the session
Now we need to set up our session, and this is where my part differs from DarthWound's. I use compiz-alone-utils for this. This is a set of scripts that makes starting Compiz identical to starting Openbox. I packaged all scripts in a .deb file for you, so you can easily install compiz-alone-utils. EDIT: I should probably add that using this way, you can just select the Compiz session from GDM like any other session.Our very own omns has offered me to host the .debs! Thanks again, mate
You can get them this way:$ wget http://omnsproject.org/crunchbang/unia/compiz-alone-utils_1.0_all.debOnce you got the .deb, either install it with gdebi-gtk or run
$ sudo dpkg -i compiz-alone-utils_1.0_all.debNow you have to make ~/.config/compiz and copy the autostart.sh file from /etc/xdg/compiz/autostart.sh:
$ mkdir -p ~/.config/compiz/ $ cp /etc/xdg/compiz/autostart.sh ~/.config/compizThe menu
Again, I took a different way than DarthWound. I picked Compiz-Boxmenu. This is a fork of Compiz-Deskmenu (used by DarthWound), which has extensive icon support, pipeitems (viewport list, window list, filebrowser (never used that one though)) and more. It also has its own graphical editor, but you can of course edit the file manually too. Again, I packaged everything into a .deb file for convenience.Again, grab the .deb from omns's website:
$ wget http://omnsproject.org/crunchbang/unia/compiz-boxmenu_1.0_all.debTo install compiz-boxmenu: again, either with gdebi-gtk or
$ sudo dpkg -i compiz-boxmenu_1.0_all.debTo be able to edit it, and I'm sure you want to, you have to copy the menu.xml to your .config directory:
$ mkdir -p ~/.config/compiz/boxmenu $ cp /etc/xdg/compiz/boxmenu/menu.xml ~/.config/compiz/boxmenu/Now that you have it installed, you have to tweak some settings in compizconfig-settings-manager/ccsm to have it open when you right-click on the desktop only. Firstly, enable the Commands by clicking on the box. Now, follow these steps (all the commands without the quotes " "):
General Options > Commands > Commands > Command line X to "compiz-boxmenu"
General Options > Commands > Key bindings > Run command X to "<Control>space" Optional
Viewport Switcher > Desktop-based Viewport Switching > Plugin for initiate action to "commands"
Viewport Switcher > Desktop-based Viewport Switching > Action name for initiate to "run_commandX_key"
Viewport Switcher > Desktop-based Viewport Switching > Initiate Plugin Action to "button 3" (this can be another button, for example button 2 for middle-click)
Closure
I think that's it! As you can see, with the .deb files, it's actually quite easy and fast to set up a CFS session on Debian. I'll have to find a host for the .debs though, so if you have any tips for me, please, tell me! Also, if you have found any errors (have only tested the .debs on my (amd64) system), please PM me!Have fun with your Compiz!
PS: To shutdown / reboot, I use a modified oblogout script. If there's any interest I will post it here as well. (or I could include it in the compiz-alone-utils.deb)
Last edited by Unia (2011-09-20 16:45:23)


