Synergy

Issue Tracker (powered by SPIT)

Bug #3088 - AltGr key not working on Windows XP client (Linux server) v1.4.7

Status:
Accepted
Priority:
Normal
Assignee:
None
Category:
None
Target:
None
Found:
1.4.7
Created by:
Created on:
6 Feb 2012 15:54
Updated by:
None
Updated on:
5 Jun 2012 08:39
Platform:
Linux
Google ID:
None
Redmine ID:
3137

  • Related to: Bug #3074 - "Shift" and "Alt" keys crash Synergyc
  • Related to: Feature #3042 - Add option to remap altgr modifier
  • Related to: Bug #3102 - Broken dead key on Linux with 1.4 (regression)

Steps to reproduce:

  1. Start Linux server 1.4.7
  2. Start Windows XP 32 client 1.4.7
  3. Establish connexion
  4. Move cursor to any Windows application
  5. Try using AltGr key (for example, with a french keyboard, try having @ with AltGr+à or ] with AltGr+))

Expected: the expected character (with provided examples : @ and ])
Actual: The non AltGr character (with provided examples : à and ))

Versions (Synergy, OS):

Server: 1.4.7 Linux
Client 1: 1.4.7 Windows XP 32

Workaround:

No workaround found currently, appart using a keyboard physically connected to the client PC.


#1

8 Feb 2012 22:27: Nick Bolton wrote a comment.

Did the problem exist in 1.4.5?


#2

8 Feb 2012 23:07: Louis CONVERT wrote a comment.

Nick Bolton wrote:

Did the problem exist in 1.4.5?

Well, I really don't know. I was using successfully 1.3.x branch before, but now that I am using a Linux with Gnome3 shell, I needed the 1.4.7 branch which fixes the gnome shell bug...


#3

23 Feb 2012 16:03: Syam R wrote a comment.

I can confirm Louis' problem with Synergy 1.4.7 on Linux Debian (KDE) server / Windows Seven client (French layouts here too).
Rolling back just the client to 1.4.5 solved the problem, and there seems to be no adverse effect so far.


#4

4 Mar 2012 13:46: Nick Bolton wrote a comment.

I suspect that #3091 may be related.


4 Mar 2012 13:46: Nick Bolton changed Tracker.

Support Bug


4 Mar 2012 13:46: Nick Bolton changed Status.

New Accepted


4 Mar 2012 13:46: Nick Bolton changed Found in ver.

1.4.7


4 Mar 2012 13:46: Nick Bolton changed Platform.

Linux


#5

2 May 2012 09:14: Christian Paruzel wrote a comment.

Linux Synergy Server is 1.4.7 on RedHat EL 6.1
Windows 7 64bit Synergy Client is 1.4.7
Germany Keyboard Layout

I have many problem with the ALT-GR keys when switching to the client (windows) OS.

The @ symbol under Windows with ALT-GR+Q did not work, only workaround with STRG+ALT+Q works. I can confirm that with 1.4.5 I hadn´t this problem, but there were other bugs that led me use this 1.4.7 version now!


#6

4 May 2012 12:08: Patrick Decat wrote a comment.

I too am affected:
* server : Ubuntu 12.04 64bit
* client : Windows XP SP3 32bit

Both are using a French layout.
Workaround is to use Ctrl and Alt instead of AltGr.


#7

4 May 2012 12:09: Patrick Decat wrote a comment.

(Using 1.4.8 beta on both sides)


#8

16 May 2012 09:21: Timi Tuohenmaa wrote a comment.

I had same problem with 1.4.8 with Ubuntu 10.04 as server and Windows 7 (x64) as client.

For some weird reason adding "algr = alt" mapping to Windows machine fixed the problem.


#9

21 May 2012 12:44: Patrick Decat wrote a comment.

I can confirm that Timi's workaround works for me.

BTW, he made a typo, here's the correct line:

altgr = alt


#10

21 May 2012 15:26: Patrick Decat wrote a comment.

Here's a working /etc/synergy.conf example:


section: screens
linux-server:
windows-client:
altgr = alt
end

section: links
linux-server:
right = windows-client
windows-client:
left = linux-server
end


#11

5 Jun 2012 08:39: Louis CONVERT wrote a comment.

Thanks Patrick and Timi,

Using key mapping works well for me too.


#12

28 Jun 2012 13:05: Muris Ahmovic wrote a comment.

Problem still exists with nightly build (Win7) synergy-1.4.9-r1472-Windows-x64.deb and (Linux Mint 13) synergy-1.4.9-r1432-Linux-x86_64.deb.

The workaround is does the job for me! Thanks!


#13

30 Aug 2012 13:35: Vesa-Pekka Palmu wrote a comment.

Yeah, same problem with me and Finnish keyboard layout, debian server 1.4.7, win7 client, 1.4.7. The above keymapping magic in synergy.conf fixes the bug and does not affect the function of the left regular "alt" key.


#14

4 Sep 2012 08:26: Patrick Huber wrote a comment.

Same issue, 1.4.10 on linux (server) and win7 (client). Adding the altgr=alt on the server's config fixes stuff. Is this an actual fix or is it just a workaround?


#15

25 Jan 2013 17:03: Eduardo Lopez Biagi wrote a comment.

I'm having the same problem, 1.4.10 on OS X (server) and linux (client).

I have a spanish keyboard layout so for many useful characters (\|@#[]{}) I need the AltGr key (option/alt key on the mac). I have the same layout on my linux box, and I need the AltGr keypress translated into ISOLevel3Shift for these keys to work. I tried setting "alt = altgr" on the server's screen and it kinda works, but...

  • Most PC keyboards have different uses for the left and right alt keys. Normally, left alt is a regular alt and right alt is altgr. However, the "alt = altgr" option turns both alt keys into "altgr" so I can no longer use the alt key on my linux box.
  • It doesn't work with keys like ` (turns into [ when altgr is pressed) and ´ (turns into { when altgr is pressed) that sort of "wait" for a second keystroke (to check if the next character can take an accent á or if this should become two characters ´p).

Is there any way I can remap only the right alt key? Something like xmodmap's "Alt_R" or using the keycode?

For the "wait for second keystroke" keys I'm a bit stumped on what to do. Debugging with "xev" I see the following behaviour:

  • They keys that work ok, I get a sequence like (altgr + "+"): KeyPress::ISOLevel3Shift, KeyPress::"]", KeyRelease::"]", KeyRelease::ISOLevel3Shift
  • However, when using ` I get something weird like:

    • First time I press altgr + `: KeyPress::ISOLevel3Shift, KeyRelease::ISOLevel3Shift

    • Second time I press altgr + `: KeyPress::ISOLevel3Shift, KeyPress::"`", KeyRelease::"\", KeyRelease::ISOLevel3Shift