View Single Post
Posts: 87 | Thanked: 80 times | Joined on Sep 2009
#2790
Originally Posted by Herbb View Post
I've run quassel, but keyboard doesn't work (can't focus on window?).
It seems that input still works on terminal instead of quassel window (I run it directly via chroot).

Anyway what's strange - when I ran quassel from lxde it ran only quassel-client...

Any ideas ? kbd fixes posted on wiki didn't helped me
I had the same problem with some debian apps running natively under maemo.
I have this line in my .xbindkeysrc, and I am using xbindkeys under maemo natively (installed via apt-get):

Code:
###############################################################
# NEW as of Sept 2010:
# Make keyboard active in current window with Fn+Return
# (you need the /home/user/.kbdactive script, of course!)
###############################################################

  "/home/user/.kbdactive"
    m:0x80 + c:36
    Mod5 + KP_Enter

###############################################################

and a /home/user/.kbdactive like this (x11-utils needed to be installed to use xprop):

Code:
#!/bin/sh
ACTIVEWINID=`xprop -root | awk '/NET_ACTIVE_WINDOW/ { print $5; exit }'`
debbie /usr/bin/set-focus $ACTIVEWINID
Works for me with kdepimpi-package natively under maemo and libreoffice ran via debbie.

The only thing could be done more elegant is the set-focus: it must be invoked using debbie because the binary does not work under maemo natively, it drops this error:

Code:
set-focus: relocation error: set-focus: symbol __isoc99_sscanf, version GLIBC_2.7 not defined in file libc.so.6 with link time reference
Does anybody have it compiled against actual maemo to make this work?

CU Michael
 

The Following 2 Users Say Thank You to magic_doc For This Useful Post: