New Year Snowman

Happy New Year 2013!!

Pages

Friday, December 14, 2012

Xfce+Compiz integration in Linux Mint 14

Finally, after a couple days of playing I decided to make this tutorial so others can get a share of the fun I did :-) This tutorial will work on Xfce environment and I think will also work on other DE (Desktop Environment). And I’m doing it in Linux Mint 14, but I think it will work also in other Linux distros.
First thing to do is installing Compiz. For Ubuntu/Linuxmint users, all u have to do is by doing:

sudo add-apt-repository ppa:compiz-team/compiz
sudo apt-get update && sudo apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-extra compiz-fusion-plugins-main
Those commands will install the latest version of compiz on your desktop, or u can install it without adding the repository because ubuntu/linuxmint have compiz in their repo by default (not up-to-date version). For other distros, just follow the steps explained in Compiz website here.
This assuming you have compiz installed, firstly u have to test it to find out if it works before deciding to use it by doing:
compiz —replace
That command changes your current composition manager to compiz. If it doesn’t have any problem and u decided to make it start on start up, go to settings, session and auto start, add a command:
compiz —replace
in the command box. (for other DE, the process will be the same if your DE have autostart/startup settings or just make a google search for how to auto start a command for your DE).
Next thing to do is setting up compiz to make your DE looks stunning. U have to open CompizConfig Settings Manager (CCSM) and just try doing it yourself. For those who don’t want to waste time on making the stable configurations, I’ve included my settings profile here, just download it and open your compiz settings, press preferences and import the file, u may need to restart your computer to have the profile loaded. And for those who want to do it yourself just play around with the compiz settings and make it according to your liking.
Using compiz may have some problems because it conflicts with your current settings. Mostly the problems occur on windows decoration and workspaces, the problems are like:
1. Windows decorator problem
The “symptom” is u lose your decorator (minimize, maximize and close buttons on your windows). To fix it, just use my configurations, or if u want to fix it yourself, just go to compiz settings and check the window decorator options. Compiz will automatically use the WD u have installed. If u want to change the WD, go to the window decorator settings and change the command to “your wd” —replace, for example gtk-window-decorator —replace (u may need to install libdecoration0). Or perhaps u want to use Emerald as your decorator, it’s made by compiz, but not supported anymore. I’m using it now and don’t get any major problem with it. For more information about emerald just go to emerald section below.
2. Workspace problem
It happens because compiz only have 1 workspace by default, u can change it in compiz settings-general options-desktop, change the number of desktops to your desired number of workspaces. Other problems may show up because it conflicts with your WM workspace settings-general (mine was blank screen without panel and icons in workspace 2−4). Use my configurations to fix it or fix it yourself by tweaking the settings, it need a good combination with horizontal, vertical and number of desktops options. If u want a better workspaces experience, play with the workspace naming, desktop cube and other desktop related settings.
Now u have your Xfce more stunning with compiz integrations. Hope u had your fun with them. Now this is a optional I made for u if u want to try:
Emerald integration
As promised, I’m gonna show u how to use emerald as window decorator. Because emerald is no longer supported, so u won’t get it in repo. To install it, all u need to do is typing this in the terminal:
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
After it’s installed, just open the Emerald theme manager from your menu and play with it. To test it, run
emerald —replace
And if u want to make it start on reboot, open your compiz settings, go to Window decorator menu, change the command parameter to
emerald —replace
This will replace your current decorator with emerald. Emerald have a lot of great theme available, just do a google search or just go here. Install it by doing how the theme developer ask u to do in their theme descriptions because there are lot of ways to do it.
That’s all, I’m gonna stop here and feel free to ask me if u have any problem and I’ll try my best to help. Thanks and have a nice December.

6 comments:

  1. Replies
    1. Do u mean the install command part? if that didn't work u can always install it using synaptic. Just search those packages :-)

      Delete
  2. it should be --prefix, your command is messed up

    ReplyDelete
    Replies
    1. Sorry, which one are u refering at?

      Delete
    2. compiz-fusion-plugins-extra compiz-fusion-plugins-main

      cant find them, but

      compiz-plugins-extra compiz-plugins-main

      works for me

      Delete

Translate Into Your Desired Language Here