Gnome Flashback with compiz in a dedicated session

How to create a session with Trisquel's default desktop and compiz

Why create a dedicated session?

Because a session provides a cleaner and more efficient way to use a window manager with a desktop environment.

Install compiz

Install the following packages:

  $ sudo aptitude install compiz compizconfig-settings-manager compiz-fusion-bcop compiz-plugins compiz-plugins-default

Using the script

A script has been made to make the setup faster. First download the compressed file by clicking on the link at the end of the page.

Once the file has been downloaded, summon your favourite terminal emulator and use the "cd" command to place your environment where the new file is, for instance, if your computer is set up to be in English, this should do it:

    $ cd $HOME/Downloads

Then, use the following command to uncompress the file:

  $ tar xvf trisquel-compiz.tar.gz

Afterwards, change file permissions to be able to execute the program:

  $ chmod +x

Now that the execution is allowed, doing it with sudo is required because the program will create files in privileged directories:

    $ sudo ./

After following these steps, a new session will be listed in the display manager.

Further Script functionality

The script is also able to uninstall the session if it is run again because it checks if the files are already on the system before acting, not only that, but it also propose solutions if one of the files is missing.

What the program does

The script basically create two files and place them in "/usr/share/xsessions/trisquel-compiz-session.desktop" and "/usr/share/gnome-session/sessions/". To see the content of the file, one has the option to open the files once created (the script prints the name of the file).

trisquel-compiz.tar.gz1.33 KB


10/10/2015 - 11:59