Hi. I can confirm this situation on Lubuntu 17.10 with
onboard-1.4.1-2ubuntu1 installed and Spanish keyboard configured
(localectl set-keymap es). No need for clients generating synthetic
keyboard events: just using onboard, any key, will switch it back to
'us' layout. Same: any physical keyboard usage will switch the system
back to the correct layout.

This is a quite barebones installation for a kiosk; I'm not using fcitx
nor any other fancy IM subsystem. Before removing fcitx, I didn't notice
this bug. It seems like fcitx kept onboard at bay.

Issuing setxkbmap es at the start of the session (in my case in
~/.config/lxsession/Lubuntu/autostart) fixed the problem AFAICT.

Otherwise, I'm VERY happy with onboard and its flexibility. So far I
have been able to overcome all of its quirks and take advantage of its
power, without any need to patch the code. We have custom layout, theme
and colors. Again, very happy with it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/837456

Title:
  XTestFakeKeyEvent changes keyboard mapping to 'us'

Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  Typing with the onscreen keyboard Onboard on a system with German
  default layout immediately switches the keyboard layout to 'English
  (US)'. Touching any key on a physical keyboard switches back to the
  German default. This can be repeated indefinitely.

  Onboard uses XTestFakeKeyEvent to send key events. When switching from
  a physical keyboard to Onboard, the first call to this function leads
  to an unwanted MappingNotify event and the keyboard map changes from
  'pc+de+inet(evdev)', 'German' to 'pc+us+inet(evdev)', 'English (US)'.
  Pressing any key on an attached USB keyboard switches back to
  'pc+de+inet(evdev)', 'German'.

  Running any of the following temporarily fixes  the problem for the current 
session:
  $ setxkbmap de
  $ sudo dpkg-reconfigure keyboard-configuration

  Restarting X brings back the unwanted layout switches.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: xorg 1:7.6+7ubuntu6
  ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: compiz
  Date: Tue Aug 30 16:21:46 2011
  DistUpgraded: Fresh install
  DistroCodename: oneiric
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
  GraphicsCard:
   Intel Corporation 82G33/G31 Express Integrated Graphics Controller 
[8086:29c2] (rev 10) (prog-if 00 [VGA controller])
     Subsystem: Foxconn International, Inc. Device [105b:0df0]
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110826)
  MachineType: OEM OEM
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-9-generic 
root=UUID=3bee4cb7-392a-4347-a496-f32c7141e658 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/04/2008
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: G31MG-S
  dmi.board.vendor: Foxconn
  dmi.board.version: FAB:1.0
  dmi.chassis.type: 3
  dmi.chassis.vendor: OEM
  dmi.chassis.version: OEM
  dmi.modalias: 
dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd09/04/2008:svnOEM:pnOEM:pvrOEM:rvnFoxconn:rnG31MG-S:rvrFAB1.0:cvnOEM:ct3:cvrOEM:
  dmi.product.name: OEM
  dmi.product.version: OEM
  dmi.sys.vendor: OEM
  version.compiz: compiz 1:0.9.5.92+bzr2791-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.26-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20110411+8378443-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/837456/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to