Imported issue:
It looks like some users are having trouble using additional mouse buttons
such back and forward, etc. I know from experience that mouse buttons can
have an array of extra buttons, which some users do make use of.
From user, Id:
"http://groups.google.com/group/synergy-":http://groups.google.com/group/synergy-
plus/browse_thread/thread/015cb5e4da7d7ed4
Is there a way to get the mouse buttons (back and forward on the side
of the mouse) to work using synergy?
I am using a Windows synergy server and a Ubuntu client.
Also, when I press a keyboard button and keep it pressed, the key is
not sent several times afterwards. For example, while editing this
text, if I put my cursor at the end, then press backspace (and keep it
pressed), only one letter will be erased.
Corrected URL:
"http://groups.google.com/group/synergy-plus/browse_thread/thread/015cb5e4da7d7ed4":http://groups.google.com/group/synergy-plus/browse_thread/thread/015cb5e4da7d7ed4
I have a Logitech mouse with extra buttons, so I will try and reproduce this.
I have the same problem, but the next/prev buttons seem to work if I hold down 'Alt'
I have this issue and wanted to add a bit of insight. I have a Logitech VX
Revolution on Windows 7 64-bit, installed Synergy+ 1.3.4 64-bit on both client and
server.
My back/forward buttons do not work at all either on the server or the client. I am
also unable to select text. It appears that synergy is somehow remapping functions
of the mouse, as I do get an output of pressing back while in Microsoft Word,
something similar to a page down keypress, but in a browser I get nothing.
I also have an issue with Microsoft Word 2007. When I first switch to the window, I
can select text correctly. If I press and release left Alt, I can no longer select
text, it just puts the cursor where I first clicked.
There seems to be a larger issue surrounding synergy's handling of Alt that is
causing the issues. All of it is alleviated the moment I close synergys.
I have a similar issue; my synergy server is running on Ubuntu and the client is
Windows. My forward and back mouse buttons _do_ both work under Ubuntu but do not
seem to work on the Windows client.
Some more notes that I've found today after looking at the debug2 log; when I click
the back and forward buttons on the client screen, the log does indeed show a button
6/7 received message. However, they don't seem to do anything. Using the back and
forward buttons in a browser window don't do anything, and I can't use the buttons to
click anywhere.
Hi, I did yet more work figuring out what's going on here, and I've got it figured
out now.
I used the linux command xev to figure out which events were being sent to the x
server on clicks. I switched my setup around so that I have the synergy server
running on my Windows 7 machine, and the client on my Ubuntu 9.10 machine.
I ran xev and moved the mouse from one machine to the other.
When the mouse is attached to the Linux box, xev shows that back/forward clicks
generate button events 8 & 9, respectively. After moving the mouse to the Windows
box (the synergy server), and mousing over to the Linux desktop, the same button
clicks generate button events 6 & 7.
I also have this issue. It seams to be related to this bug:
"https://bugs.launchpad.net/ubuntu/+source/synergy/+bug/476870":https://bugs.launchpad.net/ubuntu/+source/synergy/+bug/476870
whenever i hit the back button or side to side mouse buttons (logitech G5) while on
the client machine, im kicked out of synergy on the client. Need to close the client
and open it again.
after reading the thread above i plugged my G5 directly into the client and ran
'xinput list' which showed the client also having the same mouse as the server.
I unplugged the mouse and returned it to the server without touching the laptop again
and now the mouse buttons work on the client.
Both server and client are kubuntu 9.10. Its not a fix because im sure ill need to
do it each time i either touch the laptop keys or reboot.
Oh, and after being kicked out once the keyrepeat on the client no longer works.
holding down 'a' or any other letter will only produce 1 'a'
Depending on what buttons you need you can work around this by using the actions
system to do the mapping on the server side.
"http://synergy2.sourceforge.net/configuration.html#actions":http://synergy2.sourceforge.net/configuration.html#actions
e.g. I have a Logitech G5 attached to an Ubuntu system as a server and a windows
system as a client. I was experiencing the following symptoms: trying to sidescroll
using the wheel was triggering back and forward actions, while the back/forward
buttons weren't working at all.
To resolve this, I added to following to my synergy configuration in the options
section:
mousebutton(6) = keystroke(WWWBack)
mousebutton(7) = keystroke(WWWForward)
mousebutton(4) = ;
mousebutton(5) = ;
This resolves the issue for me.
I'm using Synergy+ 1.3.4 64-bit on both client (Windows 7 64-bit) and
server(arch64)
in the debug log I'm receiving events for click all my mouse buttons, and in a
browser, middle mouse button opens links like it should. However it seems in all my
games (the purpose of even having a windows box) the extra mouse buttons don't do
anything (ie mouse scroll and middle click)
I currently have these added to my conf
mousebutton(6) = keystroke(WWWBack)
mousebutton(7) = keystroke(WWWForward)
can anyone advise what else I could possibly add to get scroll/middle click working?
or is this related to how the mouse driver is implemented?
cheers
Running Synergy+ 1.3.5 RC-2 64-bit on Kubuntu 10.04 and Kubuntu 9.10. Problem is my
mouse. Logitech MX Revolution.
Whenever I use the side thumb buttons for Forward and Back history, I get kicked from
the client machine. Have to kill the prior connection and reconnect. I tried adding
the mousebutton configure lines but doesn't seem to do any good. Suggestions?
my config:
section: screens
Jenny:
Misty:
end
section: options
mousebutton(6) = keystroke(WWWBack)
mousebutton(7) = keystroke(WWWForward)
mousebutton(4) = ;
mousebutton(5) = ;
end
section: links
Jenny:
left(10,90) = Misty
Misty:
right(10,90) = Jenny
end
I was having this problem too on 2 kubuntu 9.10 systems connected together.
The only way i found to have the mouse act correctly was to unplug it from the main
machine, plug it into the client machine then click the back buttons. Then return it
to the main machine again.
after that the mouse is usable normally.
One of the side effects of being kicked from the client machine that also happened
was that the client keyboard repeat would be turned off. so usually if you hold down
a key it would repeat, eg: 'h' hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
but after being kicked the key repeat would be turned off and I would need to
re-enable it through the "Keyboard-System Settings" by checking a check box.
After upgrading to Kubuntu 10.04 64bit for both machines, the back mouse button no
longer causes the client to crash. However it still does cause that keyboard repeat
to be turned off.
Main problem is gone, side-effects remain.
Here's my synergy.conf:
section: screens
rohan-laptop:
rohan-netbook:
end
section: links
rohan-laptop:
right = rohan-netbook
rohan-netbook:
left = rohan-laptop
end
section: options
mousebutton(6) = keystroke(WWWBack)
mousebutton(7) = keystroke(WWWForward)
mousebutton(4) = ;
mousebutton(5) = ;
end
I'm not getting the back and forward buttons working. Any ideas?
I was able to make the left and right shoulder buttons on my IntelliMouse Optical work with Windows 7 and Synergy+ 1.3.4 as server and Ubuntu Lucid 10.04 LTS and synergy package (1.3.1) as client by manually adding the following to my synergy.sgc in my user's Documents on the server (actually there was already a section: options and I just added those two lines):
section: options
mousebutton(4) = mousebutton(6)
mousebutton(5) = mousebutton(7)
end
I'm also on Windows 7 as server and Ubuntu 10.04 as client and putting:
section: options
mousebutton(4) = mousebutton(6)
mousebutton(5) = mousebutton(7)
end
Worked for me!
Thanks jkhohm for your post.. been trying to fix this for a while now.
None of these solutions seem to work for me using a logitech s520 wireless mouse and keyboard combo...my extra buttons just dont seem to work...seems like mine seem to come and go...sometimes they work if I reload the configuration and other times they dont seem to.
Hope this gets resolved soon as its driving me nuts.....
Stephen Erickson wrote:
None of these solutions seem to work for me using a logitech s520 wireless mouse and keyboard combo...my extra buttons just dont seem to work...seems like mine seem to come and go...sometimes they work if I reload the configuration and other times they dont seem to.
Hope this gets resolved soon as its driving me nuts.....
I should state that I am using windows 7 as my server and that is where I am having my problem...(Server side)
Hi, I'm using Mac OS 10.6.4 as server and Ubuntu 10.4 as client (synergy version 1.5.0). Left and right scrolling (buttons 6 and 7) doesn't work, however, up and down scrolling (buttons 4 & 5) does.
Three+ finger gestures do not work at all (but they do not even fire events when using xev on the Mac OS, so I guess that is driver dependent).
greets
I'm using 1.4.7 server on Windows 7 and 1.4.7. on Mac OS 10.7. When the server service is started my extra buttons on my mouse aren't working.
I have 1.4.9 Server on Windows XP (running as a service) with a MS Intellimouse Explorer 3.0, and 1.4.9 Client on Mac OS X 10.7.4. Everything is working fine except the extra mouse buttons on the side.
On the server, if I set the debug level to DEBUG1, I can see that the 2 side buttons on the mouse generate button events 4 & 5. Spinning the scroll wheel doesn't appear to generate events at all, at least within the Synergy debug context, although it works perfectly in any app with a scrollable area.
On the client, if I run xev, I see that spinning the scroll wheel generates button events 4 & 5 (clicking it generates, as expected, button 2). However, the two side buttons on the mouse both generate button event id=2 on the client - thus emulating a middle click.
I've tried various combinations of the settings mentioned above (e.g. mousebutton(4) = mousebutton(6), or mousebutton(6) = keystroke(WWWBack), etc.) but to no avail.
Any other ideas on how to get these 2 buttons working on the Mac client?
Thanks,
Dave.
To fix this problem on Ubuntu (client) I can use the following commands to remap the incorrect buttons.
joel@ubuntu:~$ xinput list
? Virtual core pointer id=2 [master pointer (3)]
? ? Virtual core XTEST pointer id=4 [slave pointer (2)]
? ? Logitech USB-PS/2 Optical Mouse id=8 [slave pointer (2)]
? ...
joel@ubuntu:~$ xinput set-button-map ***INSERT ID FROM XTEST*** 1 2 3 4 5 8 9 6 7 10
The bug seems to be caused by my mouse being a "10 button" mouse (left, middle, right, scroll up, scroll down, scroll left, scroll right, "button 4", "button 5", don't know the 10th).
Synergy sends the back/forward buttons as 6/7 because it does not know that it's emulating a 10 button mouse. Ubuntu assumes that 6/7 are the left/right scrolling (try it, resize this browser window so there is a horizontal scroll bar and push the buttons). The xinput command will tell Linux that the mouse is sending non-standard input (or the user wants to change the purpose of buttons. e.g. left-handed mouse). This is a major bug and I do not know how it has existed for about 3 years with no fix!
I think the solution would to be to determine if the mouse is a "10 button" mouse and send buttons 8/9 if it is. Currently buttons 6/7 are always sent which may work for a mouse with no side scrolling.
My setup: Win7 64-bit (host). Ubuntu 12.04 64-bit (client). Microsoft IntelliMouse Explorer 4.0 USB.
BTW I think the Mac issue is a different bug. When I use my 5 button mouse with OS X I am required to use the IntelliPoint driver to actually use the 4th and 5th buttons. Synergy may send them correctly, but as far as I know OS X does not know what to do with them natively.
The USB Kensington Expert Mouse model K64325 marks the upper-right button as Button 8 in X Windows and Button 8 is the "Back" button. This button does not get sent via Synergy as the "Back" button to a MS Windows client.
Please note that this button (upper-right) is also defaultly mapped as the "Back" button when plugged directly into a MS Windows system.
So, we need to figure out to send Button 8 in X Windows over as "Back" button in MS Windows via Synergy.
Just to add to the mix, I have a Mac OSX Mavericks client, and a Windows 7 64bit server, with an Intellimouse with back & forward, and a Microsoft 4000 keyboard with back & forward.
I would love to see all those buttons work!
As you're looking into it... Additional nice buttons to include would be volume controls - mute, volume up, volume down.
I think there are different ways to emulate:
I would prefer method 2. even it this means to find out the different ways to send those commands in the different OSes and maybe have a more limited set of functionality than in 1.
Similar to Kris Kline above, I'm running Win 7 64bit server with Synergy 1.5.0, with OSX 10.9.4 client on Synergy 1.5.0, and my Logitech Trackball mouse wheel button, and back/forward buttons do not work.
I have a similar problem to Dave Lomas above, except I'm running the server on ubuntu and I have my trackball configured for emulatewheel. Horizontal and vertical scrolling work perfectly on the server, but on the mac client any sidewards movement of the ball when trying to scroll up or down causes a button 2 (middle click) event. This is highly frustrating when scrolling through my inbox, for example...
I have USB overdrive installed on the mac, but it doesn't recognise synergy as an input device and so can't perform any button mapping. I've tried mapping the buttons in the options stanza as suggested by some, but this doesn't seem to do anything.
As far as I'm aware Mac OSX does not recognize mouse buttons 4 & 5 (default forward and backwards buttons). What I've done to get this to work is to bind mouse button 4 & 5 to control + [ & ], in Mac OSX these are the universal forwards and backwards buttons and it should allow you to use the forward and back buttons on your mouse in any program. To achieve this you can go through the interactive configuration and press your mouse button as the hotkey and then bind it to keystroke on your Mac OSX client, or edit your synergy configuration file and under the options section add these two lines
mousebutton(4) = keystroke(control+bracketL)
mousebutton(5) = keystroke(control+bracketR)
or
mousebutton(4) = keystroke(control+bracketL,*MACNAME*)
mousebutton(5) = keystroke(control+bracketR,*MACNAME*)
and the only way to get As for scrolling sideways I'm not entirely sure how windows or OSX handle these actions, I'll try and see if I can't figure out a solution.
Sideways scrolling can typically be achieved by holding Shift while scrolling up and down (on a wheel mouse for example). That is, when holding Shift actually works.
I have a Microsoft mouse with the forward and back buttons. I'm using a Mac as the server with the intellipoint drivers to get them working correctly, however Synergy is mapping them oddly to the windows client. Instead of acting as back and foward, they seem to act to snap windows to the side of the screen. What mappings do I need to make to correct this?
Same issue, back and forward mouse buttons do nothing.
Logitech G500s
Server: Ubuntu 14.04
Client: OS X 10.10.5
Synergy Version 1.7.4
Doesn't work for me either. Tried Logitech MX Master and Logitech Performance MX.
Host: Debian
Guest: Windows
Synergy 1.7.4
Does not work here either. Back and forward buttons does nothing. Mouse is SteelSeries Rival.
Host: Arch Linux
Guest: Windows 10
Synergy: 1.7.5
However, got the buttons working by adding this to Synergy server configuration in the section: options
mousebutton(6) = mousebutton(4)
mousebutton(7) = mousebutton(5)
However, got the buttons working by adding this to Synergy server configuration in the section: options
It will not work with config file generated by wizard, it uses a completely a different format.
That's how mapping mouse button 4 to 4 generated:
hotkeys\2\keys\1\key=5
hotkeys\2\keys\size=1
hotkeys\2\actions\1\keys\1\key=5
hotkeys\2\actions\1\keys\size=1
hotkeys\2\actions\1\type=2
hotkeys\2\actions\1\typeScreenNames\size=0
hotkeys\2\actions\1\switchScreenName=debian
hotkeys\2\actions\1\switchInDirection=0
hotkeys\2\actions\1\lockCursorToScreen=0
hotkeys\2\actions\1\activeOnRelease=false
hotkeys\2\actions\1\hasScreens=false
hotkeys\2\actions\size=1
But I counln't figure out how to map 6 to 4, seems any higher number than 5 in key=5 is being ignored.
I managed to get the back and forward mouse buttons to work on Mac OS by doing:
mousebutton(6) = keystroke(meta+left,nameOfMac)
mousebutton(7) = keystroke(meta+right,nameOfMac)
You can omit nameOfMac if you only have Mac OS as clients.
To add another data point, this here worked for me:
Synergy 1.8.2 Host: Ubuntu Guest: Mac
In synergy.conf::
mousebutton(6) = keystroke(Meta+[,macname)
mousebutton(7) = keystroke(Meta+],macname)
In Ubuntu the back and forward buttons on the Logitech mouse are recognized as 4 and 5, also in the synergy UI for hotkeys. But only assigning 6 and 7 in the config file results in input events on the Mac side. Configuring through the UI is therefore not possible.
I'm not sure how this switch happens, but it seems that the button numbering changes when the focus switches to the other machine.
Can confirm on Synergy 1.8.4 mousebutton(6) and mousebutton(7) work for me as well. Server Ubuntu Client MacOsx
Author: mjkalba
Date: 05/04/17 at 10:24 PM
I don't know if something changed with the latest update to Windows 10 Creators Update
(Build 15063.rs2_release.170317-1834), but synergy no longer seems to be
passing my mouse identification through to the client systems.
I have a Microsoft Wireless Laser Mouse 8000, with additional (left and
right side) buttons. I am no longer able to use these on the client systems.
I am running Synergy 1.88-stable.c30301e
I have 3 systems currently active, all running the same version of WIndows and Synergy as specified above.
Looking in the server log file, if I press either of the 2 additional side buttons, they both produce:
[2017-05-05T15:46:36] DEBUG1: event: button press button=0
[2017-05-05T15:46:36] DEBUG1: event: button release button=0
The normal left and right buttons have values of 1 and 3
Logfiles
I have the same issue. as Paul, above. Same versions.
Host is the windows box, client is ubuntu 16.04.
Joining @BarrettStephen, the issue persists with the same versions
Same problem as @paul-suarez
Server Windows 10
Client Ubuntu 16.04
I get this for both buttons (forward/back)
[2017-06-21T21:56:25] DEBUG1: event: button press button=0
[2017-06-21T21:56:25] DEBUG1: event: button release button=0
Does not work here either. Back and forward buttons does nothing. Mouse is SteelSeries Rival.
Host: Arch Linux
Guest: Windows 10
Synergy: 1.7.5However, got the buttons working by adding this to Synergy server configuration in the section: options
_mousebutton(6) = mousebutton(4)_ mousebutton(7) = mousebutton(5)
This seems to work for me under version 1.10.1-stable
Server : Xubuntu 18.04.2
Client: Windows 10
Mouse: Roccat Nyth using 7 as Browser backwards (configured through the app).
Does not work here either. Back and forward buttons does nothing. Mouse is SteelSeries Rival.
Host: Arch Linux
Guest: Windows 10
Synergy: 1.7.5
However, got the buttons working by adding this to Synergy server configuration in the section: options_mousebutton(6) = mousebutton(4)_ mousebutton(7) = mousebutton(5)This seems to work for me under version 1.10.1-stable
Server : Xubuntu 18.04.2
Client: Windows 10
Mouse: Roccat Nyth using 7 as Browser backwards (configured through the app).
Same here, version 1.11.1-stable
Server: 18.04.4 LTS (Bionic Beaver)
Client: Windows 10 Enterprise, build 17763
Mouse: Logitech M-U0007
Leaving this comment so search for this the next time is easier.
section: options
mousebutton(4) = keystroke(alt+left)
mousebutton(5) = keystroke(alt+right)
end
Most helpful comment
Does not work here either. Back and forward buttons does nothing. Mouse is SteelSeries Rival.
Host: Arch Linux
Guest: Windows 10
Synergy: 1.7.5
However, got the buttons working by adding this to Synergy server configuration in the section: options