PDA

View Full Version : Terminating Compiz -> no keyboard


Zorael
November 2nd, 2007, 05:30 PM
Whenever I terminate Compiz by 'killall compiz.real' I lose my keyboard. I need to do this sometimes when its CPU usage climbs to ~50% for no apparent reason. No input is recognized, so I can't easily restart it and retake control of my desktop.

The system itself keeps running, and I have mouse control, so it's *possible* to restart it if I make a launcher. Alternatively, I can make a script that first terminates it and then restarts it, but both are workarounds.

I'm running Kubuntu 7.10 with the Compiz available from its repositories. System is a laptop, Acer Aspire 9815.


Is this a known issue?

Deciare
November 3rd, 2007, 02:52 AM
The window manager (Compiz in this case) is responsible for allowing you to focus specific windows, so killing it leaves your keyboard focus stuck in an arbitrary window.

Instead of killing Compiz, it would be better to replace the running instance with some variation of compiz --replace ccp or a repetition of the command you initially used to start Compiz.

Since you're on KUbuntu, "compiz" alone might work.

Zorael
November 4th, 2007, 02:30 PM
That actually makes sense.

Thanks.

(Possible to mark as solved?)