[openbox] keybinding

rez santos metalheadpirate29 at gmail.com
Sat May 28 16:03:51 EDT 2016


Thanks for your reply, I got an idea from it.
I used xmodmap to make the F11(assigned for lowering volume) key to print
the characters 0&), since it(F11) doesn't have any use for me since I have
R_CTR+down/up arrow to control my latop's speaker volume.


On Sun, May 29, 2016 at 1:17 AM, Łukasz Grabowski <graboluk at gmail.com>
wrote:

> I think in this case it would be preferable not to use openbox (although
> in principle you can use e.g. xdotool), but rather directly set a keyboard
> mapping via setxkbmap. For example in debian you could edit the file
> /usr/share/X11/xkb/symbols/latin
> by changing in the section "basic" the line
>     key <AB07><>{ [         m,          M,           mu,    masculine ]>};
> to
>     key <AB07><>{ [         m,          M,           0,    masculine ]>};
> and adding
>     include "level3(ralt_switch)"
> to the end of the section "basic".Then run
> setxkbmap latin basic
> from command line and right_alt+m produces 0 everywhere.
>
> Best,
> Łukasz
>
>
>
>
>
> 2016-05-28 16:08 GMT+01:00 rez santos <metalheadpirate29 at gmail.com>:
>
>> Hello, how can I make a keyboard shortcut for inserting a character (e.g.
>> 0) on any text editor?
>> One of my laptop's key (0) is not working and it doesn't have a numpad so
>> I want to insert the number 0 with "Ctr-m" as a key combination.
>>
>> _______________________________________________
>> openbox mailing list
>> openbox at icculus.org
>> http://icculus.org/mailman/listinfo/openbox
>>
>
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20160529/b4baaae9/attachment.html>


More information about the openbox mailing list