SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-03 03:50:25

gdesilva
Member
Registered: 2011-04-07
Posts: 419

How to get Compiz working?

Hi, I just downloaded compiz packages from the repo and trying to work out how to get the compiz cube working. When I run compiz as a command on a terminal I get the following message

compiz (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager

When I use the --replace option it logs me out and takes me back to the logon screen.

Any pointers will be greatly appreciated.

PS. I had compiz running under PCLinuxOS on the same machine.

Offline

#2 2012-01-03 15:42:54

Guest
Guest

Re: How to get Compiz working?

push f1 at log in screen, it should cycle through a list of window managers, compiz might be there, if it isn't then add it manually via some text file somewhere.

#3 2012-01-04 04:22:13

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

Thanks 255.255.255

To get Window Manger options at logon screen, I had to modify /etc/slim.conf file and add compiz as a window manager in addition to openbox, e17 and jwm already listed there. Then I also had to modify my .xinitrc file and add lxpanel and compiz as an option.

All this enabled me to login OK but it appears my compiz-ccsm settings were not being read. No desktop cube, window decorations or ability to move the windows.

Has anyone got any hints?

Thanks

Offline

#4 2012-01-04 07:53:33

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: How to get Compiz working?

This might help: http://forum.lxde.org/viewtopic.php?f=3&t=191

Offline

#5 2012-01-06 05:02:54

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@Trixar_za thanks for the link but I did not find anything of use there.

When I run compiz with --debug option I get the following error message

compiz (core) - Debug: Could not stat() file /root/.compiz-1/plugins/libcore.so : No such file or directory

libcore.so module is not found anywhere else in the file system either.

Offline

#6 2012-01-06 06:34:16

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

After checking other linux forums it appears the error message about libcore.so is not significant.

The problem appears to be that compiz does not read the config file created by ccsm. The .config/compiz-1/compizconfig contains config and Default.ini files which have the correct parms saved by ccsm but somehow compiz does not appear to read them when starting.

Offline

#7 2012-01-06 06:36:32

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: How to get Compiz working?

Do you have all the compiz components installed? Do you have compiz-ccsm, compiz-compizconfig-python, compiz-core, compiz-libcompizconfig and compiz-plugins-main installed? Use tazpkg search compiz to check.

Offline

#8 2012-01-06 07:25:38

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@Trixar_za - yes, I have all packages installed.

Unfortunately, not sure what I did, but after fiddling with config files, I finally managed to get the desktop cube and rotation BUT cannot get window decorations or window positioning and resizing going!! It is wiered!!

Offline

#9 2012-01-07 08:35:29

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

More progress.....

I can now get almost all the basic compiz functions working except for one important feature - window decoration without which it is almost non-useable.

I believe the window decorator used in Slitaz is jwm and I start jwm in .xinitrc but the window borders are not there. I can move the window and resize the windows.

Checking on Compiz Wiki (http://wiki.compiz.org/Plugins/Decoration), it tells me that there are three window decorators recognized by Compiz - gtk-window-decorator, kde-window-decorator and emerald, none of which are on the repos unless they are known by some other names.

Any suggestions will be greatly appreciated.

Offline

#10 2012-01-07 10:17:09

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: How to get Compiz working?

The 'window decorator' (Window Manager) for SliTaz is Openbox and NOT JWM. Also gtk-window-decorator is a generic class called by all GTK+ based Window Managers like Openbox and JWM to name but a few. Any one of them should work. The link I posted describes how you can pick Openbox as your windows manager within Compiz's configuration program. Maybe try that.

You could also try using Compiz with XFCE4. It may work better and there are way more guides on how to do it.

Offline

#11 2012-01-08 06:39:27

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

Tried xfce4 - the result is the same....can get rotating cube, move window, wobbly windows etc but no window decorations even if I specify xfwm4 and the window deocrator in the compiz plugin.

So close yet so far!!

Offline

#12 2012-01-08 07:11:07

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: How to get Compiz working?

http://wiki.compiz.org/Troubleshooting

Is a Window Decorator Running?

Check whether a window decorator is running. Enter the following command into a console window to find out:

[c]ps ax | egrep '(decorator|emerald)'[/c]

If you don't see any commands starting with "emerald", "gtk-window-decorator", or "kde-window-decorator", then no window decorator is running. Try starting Emerald with the following command:

[c]emerald --replace[/c]

Is the Window Decoration Plugin Enabled?

Check whether the Window Decoration plugin is enabled. It must be enabled for the borders drawn by window decorators to become visible. Run [c]ccsm[/c] (compiz config settings manager),then ensure that the check box next to "Window Decoration" is marked.

Offline

#13 2012-01-09 03:44:06

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@mojo, I did try the compiz wiki troubleshooting guide earlier but the only thing I did not try was running emerald. I tried again with emerald but still no luck.

I have coded in my .xinitrc (for selecting when F1 is pressed on Slim logon)

                1. lxpanel & and then exec compiz --replace ccp emerald --replace

                2. xfc4session & and then exec compiz --replace ccp emerald --replace

Can anyone tell me whether there is anything obviously wrong with any of the above lines? Perhaps I am doing something wrong here??

Also tried, jwm, xfwm4 instead of emerald but still window decorations are missing. All other compiz functions are working OK.

Thanks

Offline

#14 2012-01-10 07:33:41

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

Going through Compiz wiki, it appears that the package can be compiled without the window decorator plugin.

I would appreciate if someone can tell me how to check whether Compiz-core has been compiled without the decorator plugin or not.

Also, would like to know whether anyone out there is successfully running Compiz and if so let me know the basic command set used to invoke Compiz.

Many thanks.

Offline

#15 2012-04-24 20:08:16

valen
Member
Registered: 2012-04-24
Posts: 3

Re: How to get Compiz working?

gdesilva need please tell me you did so you worked the cube or tell me which files to modify or even better than your SliTaz copile and mail it to me ASAP

Offline

#16 2012-04-24 20:10:08

valen
Member
Registered: 2012-04-24
Posts: 3

Re: How to get Compiz working?

Help me run compiz SliTaz or download any version and edit and send me

Offline

#17 2012-04-25 00:10:59

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@valen, unfortunately this problem is not resolved but I still haven't got around testing it on Slitaz 4.0 so not sure whether the problem has gone away with 4.0 or not.

The main problem is that the window decorator (borders and window buttons) do not work while most other features (once I tested) appear to work OK.

Unfortunately, I cannot recall full step by step procedure but essentially it involves downloading all compiz packages and installing them. Do a search for 'compiz' in Slitaz Panel which will list all the packages associated with compiz.

Once you install compiz packages, from memory, you have modify the .xinitrc file and instead of running openbox run compiz as your window manager. For some reason I could not run 'compiz --replace' command from a Openbox terminal.

You will also have to run compiz ccsm if you want to modify compiz features.

Sorry, I can't give you specifics as the computer I am using now is not running Ubuntu and I would need to login to my Slitaz box to dig out more details if you want any further information.

Offline

#18 2012-04-25 07:39:56

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@valen,

After installation of compiz packages this is what you need to do to start compiz.

Edit .xinitrc

Add a entry for compiz as follows;

       compiz)

                lxpanel &

                exec compiz --replace ccp ;;

Save .xinitrc and reboot.

When you get the Slitaz login prompt press F1 key. This enables you to choose which window manager you want to use. Keep pressing F1 till you see 'compiz' come up on the bottom part of your screen. Then enter login id and password.

If  you install all the compiz packages you should see CompizConfig Setting Manager option under Applications -> Preferences. Use CCSM to configure your compiz features.

But as I said before I was not able to get the Window decorations working and if you do get it working please post the result.

Thanks.

Offline

#19 2012-04-25 09:20:58

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: How to get Compiz working?

Hi,

I worked on Compiz these last days and it work like a charm :-) I packaged Emerald the missing window decorator and create a 'compiz' package wich provide the script compiz-session. The compiz-session will automaticaly get compiz config files (I enable, window decoration, move, cube and a few more) so user get a working compiz by default. I also created a Slitaz theme for Emerald.

Actually you just have to modify you ~/.xinitrc and add a case for compiz

case $1 in

    compiz) exec compiz-session ;;

esac

The packages are not yet in stable (I can push them, but test on cooking is needed before)

http://mirror.slitaz.org/packages/cooking/compiz-0.9.4.tazpkg

http://mirror.slitaz.org/packages/cooking/compiz-core-0.9.4.tazpkg

http://mirror.slitaz.org/packages/cooking/emerald-0.9.4.tazpkg

I also did a LiveCD with compiz working out-of-the-box (tested on intel cards). It is a core system with a 3D desktop, packed in a 39,4 Mb ISO image :-)

http://mirror.slitaz.org/iso/cooking/flavors/slitaz-compiz.iso

On the ISO I use the last ~/.xinitrc from slitaz-base-files:

http://hg.slitaz.org/slitaz-configs/raw-file/tip/rootfs/etc/skel/.xinitrc

I want all WM/DE to be well integrated and easy to install for user, so when it neede I create a windowmanager-session script.

WARNING: On the livecd, we use a custom Compiz config file, cube will rotade with [Shift+button1] but I will change that and use the [Super] key. And to keep LiveCD small I did not include ccsm (dep on Python).

- Christophe

Offline

#20 2012-04-25 10:41:52

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

Fantastic news...thanks a lot Christophe. I will certainly give it a try

Offline

#21 2012-04-25 19:51:43

valen
Member
Registered: 2012-04-24
Posts: 3

Re: How to get Compiz working?

pankso, ​​I loved your work but you have more control than I do about this. I wish that you would install compiz slitaz4 including ccsm and then clean the temporary files. I really like the idea of a compiz SliTaz flavor but compiz does not work on my hardware.

I will check the iso in another PC with higher specs to see if the problem is the pc.

Offline

#22 2012-04-27 08:12:01

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

@pankso, not sure what I am doing wrong....downloaded the slitaz-compiz.iso and booted the livecd. Everything looks OK except for window decorations! Checked to see whether Emerald is running which is the case. Installed config-ccsm but it would not run. Any ideas? Thanks

EDIT : Managed to get ccsm running. Window Decoration was checked and I added Emerald as the decorator command. No luck still. Also window move, resize does not work. Forgot to mention that I am using a ATI Radeon card and not an Intel which you have tested on.

Offline

#23 2012-04-27 08:32:34

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: How to get Compiz working?

OK, it's all good. I had to install the radeon driver and everything came good - looking great! Thanks.

Offline

#24 2012-05-02 22:01:20

AmiNimA
Member
Registered: 2012-05-02
Posts: 5

Re: How to get Compiz working?

I installed compiz,

right click on Desktop and logout do not work in compiz enabled desktop. (exit) from shutdown applet does not do any thing. (excuse me for using gnome vocabularies, I'm very new to Slitaz)

Offline

#25 2012-05-03 10:47:09

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: How to get Compiz working?

Yep it's because the logout box dont handle compiz, I released slitaz-tools 5.0 in cooking wich have the new logout box.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]