admiralakber / thinkpad-yoga-scripts

Thinkpad Yoga S1 scripts for GNU/Linux
http://blog.admiralakber.com/?p=400
GNU General Public License v3.0
147 stars 31 forks source link

Repeatedly launches xbindkeys instances until no more x clients can be opened #18

Open sdahdah opened 8 years ago

sdahdah commented 8 years ago

If I leave these scripts running for a while, I eventually can't open any more windows. If I try and open a window from the command line I get an error like :

cannot open display: :0.0
Maximum number of clients reached

Running sudo lsof -U +c0|(printf 'PID%3suser%6sFD%6sinode command\n';awk 'NR>1{printf"%5d %-8s%5s%10d %s\n",$2,$3,$4,$8,$1}') shows a huge number of xbindkeys instances. I suspect the tablet mode script is somehow launching new instances of xbindkeys until the maximum number of x clients is reached? Which then prevents me from opening more windows? Not sure...

FYI I'm running Ubuntu 15.10.

sjjh commented 8 years ago

I can confirm the problem (with a Yoga 12 on Ubuntu 15.10 as well).

ogni90 commented 7 years ago

Problem still exists with Ubuntu 16.10