Tema: Re: klavisu perprogravimas
Autorius: arunasst
Data: 2011-02-08 12:10:21
On Fri, 04 Feb 2011 18:49:27 +0200, Karolis Labrencis wrote:

> On Wed, 2 Feb 2011 19:01:25 +0000 (UTC) arunasst <a@a.com> wrote:
> 
>> Ubuntu, gnome.
>> Neveikia back klavisas ir noriu ji priskirti kitam, retai naudojamam
>> klavisui, kaip tai atlikti?
> 
> xmodmap turėtų padėti.

Dekui uz pagalba visu pirma, o antra tai man nelabai gavosi, tad dar 
karta uzklausiu.

Turiu fiziskai neveikianti klavisa

KeyRelease event, serial 37, synthetic NO, window 0x4c00001,
    root 0xca, subw 0x0, time 6324632, (1105,684), root:(1108,734),
    state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False
 
Noriu jo funkcija priskirti stai itam klavisui, bet kaip suprantu, tai 
turiu is pirmo ji deaktyvuoti.

KeyRelease event, serial 36, synthetic NO, window 0x3c00001,
    root 0xca, subw 0x0, time 8334005, (170,-12), root:(173,38),
    state 0x0, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


Ka as dariau;

xmodmap -e "BackSpace" 
xmodmap:  unknown command on line commandline:1
xmodmap:  1 error encountered, aborting.


xmodmap -e "add BackSpace = Scroll_Lock"
xmodmap:  commandline:1:  bad add modifier name 'backspace', not allowed
xmodmap:  1 error encountered, aborting.