Re: [XFree86] Re: Re: sending ctl-alt-del to the window manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hanspeter Roth <hampi@xxxxxxxxxxxx> writes:

>> xtrapin can do it.  From a script you could do it like this:
>> 
>> xtrapin <<EOF
>> Event: KeyPress        (2):det=109 scr=0 (0,0) root=32768 Msk=0 TS=5621
>> Event: KeyPress        (2):det=117 scr=0 (0,0) root=32768 Msk=0 TS=209
>> Event: KeyPress        (2):det=107 scr=0 (0,0) root=32768 Msk=0 TS=260
>> Event: KeyRelease      (3):det=107 scr=0 (0,0) root=32768 Msk=0 TS=143
>> Event: KeyRelease      (3):det=117 scr=0 (0,0) root=32768 Msk=0 TS=2892
>> Event: KeyRelease      (3):det=109 scr=0 (0,0) root=32768 Msk=0 TS=244
>> EOF
>> 
>> This was cut from the output of "xtrapout -e" while I pressed the keys
>> in question.
>> 
>> You could also store those lines in file and use "xtrapin -f file".
>> Read man xtrap for more information.
>
>
> Thank you very much!
> On my keyboard the key events look a little different. But it works.

The only value that matters is the det=*, and the event name, of
course.  The TS=* is totally arbitrary.

-- 
Måns Rullgård
mru@xxxxxxxxxxxx
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux