Compiz Emerald in Trisquel-mini (lxde)

Compiz & Emerald on Trisquel-mini (LXDE)

This guide shows you the process of how to install and configure Compiz and Emerald on Trisquel-mini running LXDE step by step.

note1: This installation is for Trisquel-mini 6.0 Toutatis based on Ubuntu/Lubuntu 12.04 LTS. It may not work under another version or distribution.

note2: don't use the symbol "$" on commands.

1. Install Opengl drivers

$ sudo apt-get install linux-headers-generic mesa-utils libegl1-mesa libglu1-mesa libgl1-mesa-dri libgl1-mesa-dri-experimental libgl1-mesa-glx
$ sudo reboot

2. Install Compiz

$ sudo apt-get install compiz compizconfig-settings-manager compiz-plugins-extra compiz-plugins-main compiz-plugins

3. Install Fusion Icon (tray icon to launch and manage Compiz)

$ sudo apt-get install fusion-icon

4. Enabling stuff in CompizConfig

Enter in CompizConfig and enable: Commands,Composite,Gnome Compatibility, OpenGL, Opacity, Brightness and Saturation, Expo, Viewport Swicher, Animation, Blur Windows, Fading Windows, Window Decoration, PNG, Compiz Library Toolbox, Session Management, Workarounds, Regex Matching, Place Windows, Grid, Move Window, Resize Window,

5. Install Emerald Window Decorator

$ sudo apt-get install git autoconf libtool libwnck1.0-cil-dev libwnck-dev intltool libdecoration0-dev gawk

6. Install CompizConfig Settings Manager (CCSM)

$ sudo apt-get install compizconfig-settings-manager compiz-fusion-plugins-extra compiz-fusion-plugins-main

7. Download latest emerald

Download latest emerald source Tarball (emerald-0.9.5.tar.gz) then compile and install it:

$ wget cgit.compiz.org/fusion/decorators/emerald/snapshot/emerald-0.9.5.tar.gz
$ tar -zxvf emerald-0.9.5.tar.gz
$ cd emerald-0.9.5
$ ./autogen.sh && make clean && make distclean && ./configure --prefix=/usr && make && sudo make install

8. CompizConfig Settings Manager (CCSM)

Run CompizConfig Settings Manager (CCSM) to integrate Emerald with Compiz. Navigate to: Effects –> Window Decoration Change the command parameters “/usr/bin/compiz-decorator” to “/usr/bin/emerald“.

9. Add Emerald theme

Download the theme Avalon-DarkLight. Open Emerald theme manager –> import –> select emerald theme (*.emerald) –> open and select the theme.

10. Compiz Fusion Icon

Open Compiz Fusion Icon and you will see it on the taskbar. Right click on the icon and select "Reload Window Manager". If nothing happens, right click on the same icon set Select Window Decorator->Emerald and then set Select Window Manager->Compiz. Finally, select again "Reload Window Manager".

11. Autostart

To load Compiz when Trisquel starts you have to add it on autostart:

$ gksudo leafpad /etc/xdg/lxsession/Trisquel-mini/autostart 
Then, add these lines at the end:
@compiz --replace ccp
@fusion-icon

12. Replacing openbox with compiz

Execute the following command:

$ gksudo leafpad /etc/xdg/lxsession/Trisquel-mini/desktop.conf
Replace the line
"window_manager=openbox-trisquel-mini"
with:
"window_manager=compiz ccp"
without quotes. Then save it and restart.

13. Checking for problems

a) Go to Menu>Preferences>Desktop Session Settings. On this new window, click on “Advanced Options”, in the box titled "Window Manager". Remove "openbox-trisquel-mini" and type "compiz ccp" then click ok. Restart the computer.

b) Check the terminal output of running the following command:

$ compiz --replace ccp & emerald --replace &

14. Compiz settings for themes

Open "ConfigCompiz Settings Manager" go to Efects -> Blur: - look for the label: "Blur filter" and select "Gaussian" from the drop-down menu - Set "Gaussian Radius" to 11 - Set "Gausian Strenght" to 1

15. Emerald Settings for themes

Open "Emerald theme manager" go to label "Emerald Settings" look down to find "Compiz Decoration Blur Type" and select "All decoration" from the drop-down menu.

Restart your computer or type in terminal:
$ compiz --replace ccp & emerald --replace &

Revisions

01/04/2014 - 10:28
dadix
02/02/2014 - 19:03
antiesnob