epakai / synergy-debian

Synergy packaging for Debian
Other
4 stars 2 forks source link

[580504] synergy: Wrong keyboard layout #77

Open epakai opened 7 years ago

epakai commented 7 years ago

BTS_msg_id: 20100506125143.10443.64406.reportbug@nc10.bc BTS author: Stefan Voelkel sv@its-v.de

Package: synergy Version: 1.3.1-5 Severity: normal

Synergy server 1.3.1 on Windows XP german keyboard layout, 1.3.1 client on squeeze.

When working on the client, the layout is switched to english.

FWIW upstream seems dead, however there is a fork: synergy+

http://code.google.com/p/synergy-plus/

Stefan

-- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash

Versions of packages synergy depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.2-9 GCC support library ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library ii libsm6 2:1.1.1-1 X11 Session Management library ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3 ii libx11-6 2:1.3.3-2 X11 client-side library ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar ii libxinerama1 2:1.1-3 X11 Xinerama extension library ii libxtst6 2:1.1.0-2 X11 Testing -- Resource extension

synergy recommends no packages.

synergy suggests no packages.

-- no debconf information

epakai commented 7 years ago

BTS_msg_id: 20100512161050.GA27593@telefonica.de BTS author: Cord Beermann cord@debian.org

Package: synergy Severity: normal

FTR: the same behaviour appears with synergy+ with Client and Server both on Debian unstable machines.

Cord

-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash

Versions of packages synergy depends on: ii libc6 2.10.2-8 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-1 GCC support library ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library ii libsm6 2:1.1.1-1 X11 Session Management library ii libstdc++6 4.4.4-1 The GNU Standard C++ Library v3 ii libx11-6 2:1.3.3-3 X11 client-side library ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar ii libxinerama1 2:1.1-3 X11 Xinerama extension library ii libxtst6 2:1.1.0-2 X11 Testing -- Resource extension

synergy recommends no packages.

synergy suggests no packages.

epakai commented 7 years ago

BTS_msg_id: 20100606092946.2861.34720.reportbug@enterprise.bluelink.lan BTS author: Darshaka Pathirana dpat@syn-net.org

Package: synergy Version: 1.3.1-5 Severity: normal

Hi!

I actually run synergy with quicksynergy in gnome (2.28+7). I have setup two Debian/squeeze (amd64) machines. And my keyboard layout is set to "Germany Eliminate dead keys" (on both machines).

When working on the client a english keyboard layout was also used with this setup.

Just found a workaround (which works for me):

server-side:

  1. Stop synergy-server
  2. go to System -> Preferences -> Keyboard -> Layout
  3. add United States / USA (Country / Variant)
  4. (you should see "Deu" or "USA" in notification-area)
  5. switch to "Deu"
  6. Start Synergy-Server
  7. working on the client should give you a german layout

(You can also switch to the english layout on-thy-fly).

HTH && HAND,

-- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (650, 'testing') Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash

Versions of packages synergy depends on: ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-1 GCC support library ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library ii libsm6 2:1.1.1-1 X11 Session Management library ii libstdc++6 4.4.4-1 The GNU Standard C++ Library v3 ii libx11-6 2:1.3.3-3 X11 client-side library ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar ii libxinerama1 2:1.1-3 X11 Xinerama extension library ii libxtst6 2:1.1.0-2 X11 Testing -- Resource extension

synergy recommends no packages.

synergy suggests no packages.

-- no debconf information

epakai commented 7 years ago

BTS_msg_id: 20100809154140.GB17563@vdg.blogsite.org BTS author: Julien Viard de Galbert julien@vdg.blogsite.org

Package: synergy Version: 1.3.1-5 / 1.3.1-6 Severity: normal

Hi, I had similar issue but only with one client...

The server runs Sid with synergy 1.3.1-6 and a gnome desktop. The keyboard uses a french layout.

The first client runs Lenny, with synergy 1.3.1-5 on an XFCE desktop this client did not have a wrong keyboard layout.

A second client is a netbook running Testing with synergy 1.3.1-5 and a gnome desktop. This client had a wrong keyboard layout until I added the US keyboard layout on the server as explained...

So I wonder if the bug is in synergy or in gnome (or the way gnome manages the keyboards. I guess it's related to new Xorg managment of hotplug keyboard...) Just thinking of this, only the XFCE client has a keyboard section in it's xorg.conf with a french setting that's probably why it get the french keyboard anyway !!

Anyway, thanks for the workaround !

Regards

-- Julien Viard de Galbert julien@vdg.blogsite.org http://silicone.homelinux.org/ julien@silicone.homelinux.org

epakai commented 7 years ago

BTS_msg_id: 4CD7D1C0.8000409@gmail.com BTS author: Eric Cornely ericcornely@gmail.com

Package: synergy Version: 1.3.1-5 Severity: normal

I'm using synergy client on debian squeeze with XFCE and have the problem with my ubuntu XFCE synergy server with same synergy version.

The server seems to be fine because under windows i haven't any problem.

So what does exactly happen when you use your workaround ?

go to System -> Preferences -> Keyboard -> Layout

I can't find it in XFCE of course and was wondering if i should configure something like export an environement variable, or ... before running synergy client to be sure it will do keyboard translation.

I suppose keyboard event are sent as key number or somthing like that and the client has to translate them back to the right keymap but where does the synergy client get the key map configuration ?

Maybe you workarround is just setting that kind of "preference" so that synergy can do its work correctly.

epakai commented 7 years ago

BTS_msg_id: 4CDABBC9.8030100@gmail.com BTS author: Eric Cornely ericcornely@gmail.com

Under xfce i added and used xfce4-xkb-plugin and after that starting xfce client. It used the correct keyboard mapping.

I read the synergy source code. As java developer it was not easy to understand C++ but it seems that it depends on xkb settings to detect keyboard settings and that plugin set what it's needed.

If somebody need to use synergy client i would say try setting xkb settings and i you use xfce just adding xkb plugin works.

Bye and thank you