Re: Note to all XCompMgr Users



Timo Korvola said:     (by the date of Fri, 29 Aug 2008 13:30:58 +0300)

> Christopher Bratusek <nano-master gmx de> writes:
> > You all know that the XCompMgr is not perfect (it's leaking, starts
> > working incorrectly at some point) - but I found another solution you
> > all should give a try: the Cairo-Composite-Manager.
> 
> There is also kompmgr from KDE.


Thx. currently to solve any problems with xcompmgr I've bound this
shell script to some key. It toggles transparency on and off by
killing xcompmgr. As a side effect this solves any leak problems also.

The main reason to turn it off, is that it makes resizing windows a
bit sluggish. Are other compisite managers faster WRT to that?


$ cat bin/toggle-transparency 

#!/bin/bash
PID=`ps auxw | grep "janek" | grep -e " xcompmgr$" | fgrep -v "grep" | awk '{print$2}'`
echo PID: $PID
if [ "${PID}" = "" ] 
then
  echo "xcompmgr is not running, starting..."
  xcompmgr &
else
  echo "xcompmgr is running, stopping: ${PID}"
  kill -15 ${PID}
fi


-- 
Janek Kozicki                                                         |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]