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

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

 



  On Aug 30 at 22:20, Måns Rullgård spoke:

> 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.

Yes, but I also have different values for det=* and also for root=*
and the ones in perentheses:

Event: KeyPress        (2):det=64 scr=0 (32207,113) root=47 Msk=63028 TS=0
Event: KeyPress        (2):det=37 scr=0 (32207,113) root=47 Msk=63028 TS=2
Event: KeyPress        (2):det=107 scr=0 (-31265,113) root=47 Msk=63028 TS=195
Event: KeyRelease      (3):det=107 scr=0 (-31138,113) root=47 Msk=63028 TS=69
Event: KeyRelease      (3):det=64 scr=0 (-31259,113) root=47 Msk=63028 TS=213
Event: KeyRelease      (3):det=37 scr=0 (-31259,113) root=47 Msk=63028 TS=3


-Hanspeter
_______________________________________________
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