Compiz Fusion & XFCE4/Sid

Share your own howto's etc. Not for support questions!

Compiz Fusion & XFCE4/Sid

Postby mzilikazi » 2007-07-06 03:00

Updated:
Aug 05 2007 - latest working compiz-fusion:
Nov 22 2007 - tested for accuracy and funcitonality.
Dec 15 2007 - tested for accuracy - added fusion-icon


If you use Debian Stable this is not for you. If you want stability this is not for you.
If you already have Beryl or Compiz installed you may or may not experience issues. If you do, my suggestion is to remove any other compiz related packages, especially packages from any other repos including offical Debian.

Latest compiz-fusion ( I personally have never tried the packages available in experimental)
Code: Select all
$ apt-cache policy compiz-core
compiz-core:
  Installed: 1:0.5.5~git20071212+imudebian0
  Candidate: 1:0.5.5~git20071212+imudebian0
  Version table:
     1:0.6.2-0~emiscabpo+3~debian1 0
          1 http://ftp.us.debian.org ../project/experimental/main Packages
 *** 1:0.5.5~git20071212+imudebian0 0
        500 http://download.tuxfamily.org unstable/compiz-fusion-git Packages
        100 /var/lib/dpkg/status
     0.6.3~git20071104.c9009efd-1 0
        500 http://mirror.datafast.net.au unstable/main Packages
     0.5.2-2 0
        500 http://mirror.datafast.net.au testing/main Packages
     0.2.2-1 0
        500 http://ftp.us.debian.org etch/main Packages


If you have not already edited /etc/X11/xorg.conf, add the following to the end of the file:
Code: Select all
Section "Extensions"
        Option  "Composite"     "Enable"
EndSection


Add a new repo:
Code: Select all
nano /etc/apt/sources.list
deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git

Save & exit
Code: Select all
CTRL+O
CTRL+X

Add the gpg key, get updated and install compiz-fusion:
Code: Select all
wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg -O-|sudo apt-key add -
aptitude update
aptitude install compiz compiz-fusion-plugins-main compizconfig-settings-manager compiz-fusion-plugins-extra compiz-gnome emerald emerald-themes fusion-icon

You can start compiz in more than 1 way. To test it out try it like so:
Code: Select all
compiz --replace &

Start the Emerald themer like so:
Code: Select all
emerald --replace &


To have this done automatically, edit
Code: Select all
~/.config/autostart/Autostart.desktop

Code: Select all
compiz --replace &
emerald --replace &

OR instead of compiz --replace you can use:
Code: Select all
fusion-icon&

fusion-icon puts a nice icon in the systray for compiz-fusion. From there you can access the CCSM, change your WM, window decorator, etc.
Access the Compiz Config Settings Manager from cli :
Code: Select all
ccsm

Or from the XFCE4 menu:
Settings>CCSM

Emerald is a theming engine. You can download some themes for Emerald. If you intend on downloading non-GPL themes open a shell:
Code: Select all
svn ls https://svn.generation.no/emerald-themes

Emerald themes can be configured here:
Settings>Emerald Theme Manager
Be sure that CCSM has Window Decorations enabled
CCSM>Effects>Window Decoration


My XFCE4 autostart script is:
Code: Select all
~/.config/autostart/Autostart.desktop

It looks like so:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Autostart
Comment=Autostart
Exec=/home/glenn/Scripts/startup.sh
StartupNotify=false
Terminal=false
Hidden=false

So Exec= simply points Autostart.desktop to any script of my choosing. I chose to call it startup.sh. You may call it anything you like. My startup.sh looks like this:
Code: Select all
#!/bin/sh
/home/glenn/Scripts/numlock_on.sh &
/home/glenn/Scripts/caplock_off.sh &
nvidia-settings -l &
/home/glenn/Scripts/jack.sh &
alltray envy24control&
fusion-icon&
exit

In startup.sh you add any command you like which could be yet another script like jack.sh (jack seems to prefer it get started by itself - go figure) or a simple command like compiz --replace&
Last edited by mzilikazi on 2007-12-15 13:58, edited 4 times in total.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby mzilikazi » 2007-07-06 14:22

I've had a bit of a chance to play w/ Compiz Fusion and I must say I'm really impressed. It's much more stable than previously and w/ the latest Nvidia 100.14.11 driver (card is a GeForce 6200) a particularly annoying issue has gone away. In the past anytime I switched to a VT it was impossible to get back to Xwindows. CTRL+ALT+F7 simply did nothing. You had to restart X which was a real PITA. Well as I said this problem has gone away thankfully!

One issue that remains is the lack of interoperability w/ the XFCE4 pager. The pager just doesn't get updated so you really don't know which desktop you're on. Additionally sometimes the pager doesn't display applications that are open on any given desktop. For the time being, I removed the XFCE4 pager and use the Wall plugin of Compiz. It's an OK solution but not a final one IMHO.

I did manage somehow to set something that caused my right click button to lose functionality. I just nuked ~/.compizconfig/ and started over. No problems this time.

I left the desktop up and running today. When I get home we'll see if there are any nasty memory leaks or other issues.

If you have any experiences to post please do. Specifically your card and Nvidia driver version.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby berts » 2007-07-07 01:05

Thank you for posting this, and many thanks to whoever is responsible for the compiz-fusion debs.

This is particularly good news for those of us who've become "attached" to the eye-candy beryl provides and were wondering what would happen to the code base after the 2 branches of the project re-joined.

Does anyone know if separate development efforts are continuing with beryl and/or compiz branches?

Regards,
Bert
berts
 
Posts: 78
Joined: 2007-07-01 01:19
Location: E San Francisco Bay Area, CA

Postby berts » 2007-07-07 06:24

mzilikazi wrote:I've had a bit of a chance to play w/ Compiz Fusion and I must say I'm really impressed. It's much more stable than previously and w/ the latest Nvidia 100.14.11 driver (card is a GeForce 6200) a particularly annoying issue has gone away. In the past anytime I switched to a VT it was impossible to get back to Xwindows. CTRL+ALT+F7 simply did nothing. You had to restart X which was a real PITA. Well as I said this problem has gone away thankfully!

One issue that remains is the lack of interoperability w/ the XFCE4 pager. The pager just doesn't get updated so you really don't know which desktop you're on. Additionally sometimes the pager doesn't display applications that are open on any given desktop. For the time being, I removed the XFCE4 pager and use the Wall plugin of Compiz. It's an OK solution but not a final one IMHO.

I did manage somehow to set something that caused my right click button to lose functionality. I just nuked ~/.compizconfig/ and started over. No problems this time.

I left the desktop up and running today. When I get home we'll see if there are any nasty memory leaks or other issues.


Please do let us know how compiz-fusion works out for you.

I'm running Sid on a Dell XPS-410 with an E6600 DuoCore 2.66.GHz, 2 GiB RAM, an NVIDIA 7950 GS, and 2 X 300 GiB non-RAID SATA hdd. The Debian install is on the second of those disks. Beryl seems fine with the NVIDIA drivers installed via the script from their site. At present, this is a pretty much "crash & burn" dev install, so I'm not adverse to experimentation. None the less, I have put a bit of work into it, so I'd be interested to hear more about your experiences before taking the plunge.

Just off the top of my head, I can see a possible conflict between the "emerald" decorator I have installed from http://debian.beryl-project.org and the same package from the repository you offer. Hence, my reluctance to just dive right in :D

Regards,
Bert
berts
 
Posts: 78
Joined: 2007-07-01 01:19
Location: E San Francisco Bay Area, CA

Postby berts » 2007-07-08 05:32

OK, I couldn't resist. Once I'd assured myself that I could remove and re-install the beryl stuff without significant problems, I took the plunge and tried compiz-fusion.

NICE!! Very nice indeed! :D ' Course it'll take some time to be sure it's stable enough for every day use, but so far, so good...

Regards,
Bert
berts
 
Posts: 78
Joined: 2007-07-01 01:19
Location: E San Francisco Bay Area, CA

Postby mzilikazi » 2007-07-09 04:55

berts wrote:Course it'll take some time to be sure it's stable enough for every day use, but so far, so good...

Regards,
Bert

Well in the past 2 days there have been some updates. I can't find any show stoppers. The pager misbehaving thing is still present but I've had no crashes nor any (noticible) memory leaks. I haven't quite gotten all of the window to behave exactly as I'm like but there may be a knob to turn somewhere just yet. There are plenty of them!
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby b9anders » 2007-07-09 15:20

It feels a bit unstable to me and there are some beryl features missing I'd like back, but overall, it seems good. Love the new features.
Linux user as of Jan 20007. Still getting the hang of it.
User avatar
b9anders
 
Posts: 88
Joined: 2007-06-19 18:01

Postby trey » 2007-07-09 15:27

i wish they had up-to-date amd64 packages, come on, it's 2007.
trey
 
Posts: 119
Joined: 2005-06-09 17:47

Postby mzilikazi » 2007-07-09 15:34

b9anders wrote:It feels a bit unstable to me and there are some beryl features missing I'd like back,

I'm no Beryl expert. What features are missing in Compiz-fusion?
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby b9anders » 2007-07-09 16:45

It might be me who just haven't found it yet, but simple things like a menu where I can set what happens in each screen corner when I point to it, or the option to rotate near the edge with a scroll of the wheel. I'd love to active fade to desktop but there are no bindings for it and no menu where I could just point it to the screen edge.
Linux user as of Jan 20007. Still getting the hang of it.
User avatar
b9anders
 
Posts: 88
Joined: 2007-06-19 18:01

Compiz ??

Postby trufflesdad » 2007-07-11 08:44

I have the nvidia drivers installed and followed the scripts but get this error message..
twager@whitebox:~$ Fatal: Failed test: Composite extension
Checks indicate that it's impossible to start compiz on your system.
I am running Debian Sid..

Any help appreciated..
trufflesdad
 
Posts: 2
Joined: 2007-07-11 08:33
Location: High Peak UK

Postby b9anders » 2007-07-11 11:40

This has been a problem for many recently, presumably due to the new xorg(?). Try installing libgl1-mesa-dri. That seems to work for many regardless of what card they use.
Linux user as of Jan 20007. Still getting the hang of it.
User avatar
b9anders
 
Posts: 88
Joined: 2007-06-19 18:01

Postby craigevil » 2007-07-11 12:14

Linux Smokers Club » Blog Archive » beryl is dead, long live compiz fusion
For the adventurous here is the way to install compiz fusion on Debian Sid/sidux in KDE:
—WARNING: THOSE PACKAGES ARE EXPERIMENTAL. PLEASE DON’T USE THEM ON PRODUCTION SYSTEMS AND DON’T COMPLAIN IF IT BREAKS STUFF–

sources.list
To add the repo, just add this line to /etc/apt/sources.list hinzufügen (one line, as root):
deb http://download.tuxfamily.org/shames/de ... /unstable/ ./

Installation:
First get the gpg-key (one line, as root):
wget http://download.tuxfamily.org/shames/A42A6CF5.gpg && apt-key add A42A6CF5.gpg

Then install fusion with all plugins and stuff (one line, as root):
apt-get update && apt-get install compiz-fusion-kde
If you want the very latest inoffical plugins too (e.g. new brand new atlantis plugin):
apt-get install compiz-fusion-plugins-unstable

Start:
To start type in a Konsole (as user):
compiz --replace
Or try the new manager thingy:
fusion-manager
The settings-manager is available via (as user):
ccsm


For support crack open your favourite irc-client and connect to server irc.oftc.net and join channel #sidux-cf
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Postby mzilikazi » 2007-07-11 13:49

craigevil wrote:For support crack open your favourite irc-client and connect to server irc.oftc.net and join channel #sidux-cf

Haha you guys are supporting CF? Excellent!

Last I knew Shame was building debs with checkinstall. Do you know if this is still the case?
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby craigevil » 2007-07-11 16:13

shame and zulu9 are working on cf, I don't think either one is using checkinstall at this point. Even with shame using checkinstall Beryl ran great.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable