View Single Post
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#1285
Originally Posted by rebhana View Post
I encountered some glitches with xvkbd+xbindkeys that I don't fully understand. Perhaps somebody can educate me:

For example an entry
Code:
"xvkbd -xsendevent -text "\[percent]"" 
 Shift+Mod5 + d
in .xbindkeysrc and activated by "debbie xbindkeys" does not produce the % character when I press Fn+Shift+d. Except for F1-F12, escape, and tab, only the characters that I anyway have on my (rx51-tailored) hw keyboard seem to work. (synchroot didn't help btw.)

However, when I start LXDE, open a terminal there, do
Code:
killall xbindkeys
xbindkeys
it does work (but only there, not outside of LXDE). It also doesn't work with "@xbindkeys -f /home/user/.xbindkeysrc" in the autostart file.


By the way, I found a way to take advantage of the virtual keyboard from within debbie applications. Backing out to the Maemo XTerminal, I produce a special character with the virtual keyboard there, copy the character, and can then paste it in the debbie application when the latter has a paste menu item. Fortunately, I need that only rarely because of my suitably remapped hw keyboard. But I would definitely prefer a more elegant solution.
I've had similar problems. Also If I used Mod5 + up or other arrow
keys more than a few times in .xbindkeysrc, the new key
definition did not work. I have no clue why.
I eventually used control +g and
control +t to define the additional characters (control + g is normally the bell and control +t is transpose, which I do not normally use). Regardless I am not happy with this solution. I've come around and think it is better to leave the traditional definitions of control sequences alone. So combining the Shift + Mod5 + "something ", as suggested, is a better solution. Unfortunately it did not work when "something" was an arrow key. Aesthetically it is nice
to use the left or right arrow for say <, >, or { , }. If you have success let me know.

Last edited by mscion; 2010-05-24 at 14:39.