• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: spaces in Xnest again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spaces in Xnest again


  • Subject: Re: spaces in Xnest again
  • From: Jeremy Huddleston <email@hidden>
  • Date: Thu, 11 Sep 2008 07:23:04 -0700

This issue isn't specific to OSX. Xkb sucks and is at the heart of the problem. It isn't going to be an easy fix, but for now, just configure your gnome or ode on your Linux box to not mangle the keyboard settings when you login and don't use the -kb option

On Sep 8, 2008, at 15:32, jernigan <email@hidden> wrote:

Sorry to keep beating a dead horse, but it really would be nice to get Xnest fixed. Xephyr works mostly, but on a dual monitor system the -screen option is a poor substitute for the -geometry option in Xnest and most other X programs. With -screen you can't set an offset, only the size. It also seems to have have a non-standard default for the window location (not the upper, left most corner of the screen) and no man page.

Anyway, I used xev on a RedHat box I accessed through Xnest from X11-2.3.1_rc6. When you type a space, the first time you get only a KeyPress event. The 2nd time you press space (even if it is separated by other typed characters, you get a KeyRelease event. Other keys, such as "q", give both KeyPress and KeyRelease events when you press and release the key.

Below is some xev output. The output for 'q" had 2 keystrokes, the output for "space" had 4 keystrokes:

KeyPress event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140205341, (259,176), root:(314,681),
   state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
   XLookupString gives 1 bytes: (20) " "
   XmbLookupString gives 1 bytes: (20) " "
   XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140210389, (259,176), root:(314,681),
   state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
   XLookupString gives 1 bytes: (20) " "

KeyPress event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140231768, (259,176), root:(314,681),
   state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
   XLookupString gives 1 bytes: (20) " "
   XmbLookupString gives 1 bytes: (20) " "
   XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140243374, (259,176), root:(314,681),
   state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
   XLookupString gives 1 bytes: (20) " "

. . .

KeyPress event, serial 24, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140600016, (85,114), root:(247,616),
   state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
   XLookupString gives 1 bytes: (71) "q"
   XmbLookupString gives 1 bytes: (71) "q"
   XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140600085, (85,114), root:(247,616),
   state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
   XLookupString gives 1 bytes: (71) "q"

KeyPress event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140605793, (85,114), root:(247,616),
   state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
   XLookupString gives 1 bytes: (71) "q"
   XmbLookupString gives 1 bytes: (71) "q"
   XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x2600001,
   root 0x29, subw 0x0, time 1140605892, (85,114), root:(247,616),
   state 0x0, keycode 20 (keysym 0x71, q), same_screen YES,
   XLookupString gives 1 bytes: (71) "q"

Tom

Tom Jernigan, Oak Ridge National Lab, email@hidden
Presently at General Atomics, San Diego, (858) 455-4122



_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


References: 
 >spaces in Xnest again (From: jernigan <email@hidden>)

  • Prev by Date: Xorg 7.4, what's in it for us?
  • Next by Date: Re: remote ooffice hang
  • Previous by thread: Re: spaces in Xnest again
  • Next by thread: remote ooffice hang
  • Index(es):
    • Date
    • Thread