You are not logged in.

#1 2012-03-16 18:41:57

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

[Solved] Problem starting Compiz as a standalone WM

Hi,

The title says it all. I have scoured the forums and wiki and nothing that I've found works. Worse, the Compiz forums don't seem to have been updated since last year. I put exec compiz ccp in my xinitrc and reboot, no login manager. Compiz doesn't load and there's no error message. I get a blinking Arch login. After a minute or so, I can log in. I've tried various entries in the xinitrc file. Compiz, exec compiz, compiz ccp, fusion-icon etc. I also tried using ck-launch-session, also to no avail. If I comment out the compiz entries and uncomment my old openbox entry I can get Openbox to work. If anyone can offer me any advice or point me in the right direction, I would be eternally grateful, thanks for your time.

Last edited by Foxblood (2012-03-21 14:36:59)

Offline

#2 2012-03-16 20:05:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved] Problem starting Compiz as a standalone WM

Try:
.xinitrc:

~/bin/compiz&
ck-launch-session dbus-launch compiz ccp
ewaller@odin:~ 1004 %cat bin/compiz
#!/bin/bash
cairo-dock&
conky&
tilda&
xbindkeys&
nitrogen --restore&
nm-applet&
hp-systray&

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-03-17 11:13:19

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

Re: [Solved] Problem starting Compiz as a standalone WM

Hi, again,

I added the contents of the first section into my xinitrc, I wasn't sure what to do with the second part. Progress, of a sort, was made. Now I can get to an unresponsive black screen with a movable mouse. Not sure how to proceed.

Offline

#4 2012-03-17 15:45:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved] Problem starting Compiz as a standalone WM

The problem with compiz as a WM, is just that.  It is a WM, Not a DE.  You need to launch any docks, trays, applets, etc...  One can launch that stuff from the .xinitrc file if you want.  On my system, I keep a bin directory under ~ into which I place all my private executable tools.  That second code block was showing the contents of a file called compiz  that is under ~/bin.  The first line of that file is a crunch-bang, that identifies it as a bash script.  When the .xinitrc runs, it launches and backgrounds that script, then it launches compiz.  When compiz comes up, it comes up with a dock, xbindkeys ties keystokes to scripts, I get a systray with a couple applets.  I also get a terminal (tilda) that it backgrounded that can be pulled up with a keystroke. 

If you create a file like that, make sure that it is executable.

In your case, I think Compiz is now running, it is just a blank canvas with no controls


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2012-03-18 22:53:21

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

Re: [Solved] Problem starting Compiz as a standalone WM

You're right. Compiz was running. With a panel added to the .xinitrc file I can see that Compix runs. However, it runs quite poorly. It seems very unstable. If I close any window it causes me to be logged out. (Compiz starts again because I don't have a login manager). If I try and resize a window, it freezes and the only option is to Ctr Alt Backspace. The mouse moves but does nothing else. I've tried with Cairo dock, lxpanel and AWN. I get the same issues with all of them. Help?

Offline

#6 2012-03-21 14:36:41

Foxblood
Member
From: Dublin, Ireland
Registered: 2010-10-06
Posts: 29

Re: [Solved] Problem starting Compiz as a standalone WM

Never mind, I found that there was a conflict with nvidia and nouveau. I reset up nouveau and all is well.

Offline

Board footer

Powered by FluxBB