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

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

 



Can't that output depend on wich keyboard (layout) you're using? I'm using 
Japanese keyboard and it's 106 key, so keymappings are probably different 
(or?). Now I'm way too much of a linux-newbie to be able to try it out 
myself, but it was just a random thought of mine and probably in noones 
intrest anyway. :)

On Friday 29 August 2003 10:21, Måns Rullgård wrote:
> Hanspeter Roth <hampi@xxxxxxxxxxxx> writes:
> >> > how can one send the key sequence ctl-alt-del to the window manager?
> >>
> >> Configure the window manager to intercept that combination and press
> >> the keys.  Which window manager are you using?
> >
> > I'm using icewm.
> > But I want a program to send the key sequence. Is there a program
> > capabel doing this?
>
> 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.


_______________________________________________
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