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.sh.tar.gz
Afterwards, change file permissions to be able to execute the program:
$ chmod +x trisquel-compiz.sh
Now that the execution is allowed, doing it with sudo is required because the program will create files in privileged directories:
$ sudo ./trisquel-compiz.sh
After following these steps, a new session will be listed in the display manager.
Further Scripts 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).
Revisión
10/10/2015 - 11:59
09/20/2024 - 13:43