Live data from Hacker News

Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

github.com

61–70 of 99 posts

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#61

Earlier quoted context omitted.

> Right now It Works(TM) ;-) That's exactly what I need, no more. :-) I'm at home now, I think I may test it out on another very old laptop with Slackware. I may even dig my OpenBSD laptop out of the closet and see if I can compile it for that platform. My only Mac right now is a C2D mini with 10.6 so I hope it will compile and run there. +++ So I just tried to compile on my Elementary OS workstation and got a few er…

Ah, that must be ubugtu derivative with -Werror by default I suppose? That's your problem, it's a pedantic warning ar best, not an error.

Yep, Elementary is based on Ubuntu 16.04. Unfortunately it's not completing the build. I get this:

  cc1: all warnings being treated as errors
and

  cc: error: obj-x86_64-linux-gnu/touchstream.o: No such file or directory
  cc: error: obj-x86_64-linux-gnu/ts_signal.o: No such file or directory
  cc: error: obj-x86_64-linux-gnu/ts_mux.o: No such file or directory
  Error: cc -o obj-x86_64-linux-gnu/touchstream.bin obj-x86_64-linux-gnu/touchstream.o obj-x86_64-linux-gnu/ts_display.o obj-x86_64-linux-gnu/ts_signal.o obj-x86_64-linux-gnu/ts_master.o obj-x86_64-linux-gnu/ts_clipboard.o obj-x86_64-linux-gnu/ts_display_proxy.o obj-x86_64-linux-gnu/ts_mux.o obj-x86_64-linux-gnu/ts_xorg_keymap.o obj-x86_64-linux-gnu/ts_xorg_client.o -lpthread -lX11 -lXtst -lXfixes -lXext -Wl,--relax,--gc-sections
  touchstream Done
No binaries are created. I'll try it on a Slackware box, I usually never have odd issues building from source on that OS.

+++

Thanks to j1elo above, I modified the Makefile.common and removed the -Werror CFLAG, and it compiled successfully. Now to do the same on the Mac and see what I get. :-)

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#62
post #60

Earlier quoted context omitted.

> Right now It Works(TM) ;-) That's exactly what I need, no more. :-) I'm at home now, I think I may test it out on another very old laptop with Slackware. I may even dig my OpenBSD laptop out of the closet and see if I can compile it for that platform. My only Mac right now is a C2D mini with 10.6 so I hope it will compile and run there. +++ So I just tried to compile on my Elementary OS workstation and got a few er…

Edit Makefile.common and remove -Werror from there. This is a widespread mistake, using -Werror unconditionally. This flag forbids all warning messages from the compiler, no matter how superficial the actual issue is. -Werror is a very good tool to use during development, i.e. for private (Debug) builds, but it should be disabled for publicly released code (aka Release), or at least a shortcut should always be provid…

Gotcha, thanks! I'll give it a whirl.

+++

And it worked! Thanks for that! I'll file that in my notes for building on Ubuntu and derivatives for the future.

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#63

Earlier quoted context omitted.

This looks awesome and may get me to stop using Synergy altogether! One of my daily use machines at work is a very old laptop I'm basically using as a second screen via Lubuntu, and Synergy is the most resource-heavy program on it by far. It's also really glitchy, causing me to have to stop working and fix it several times a day.

Careful, it doesn't appear to support encrypting traffic between systems, which means anyone can intercept mouse movements and keyboard presses, and introduce their own.

Thanks. I'm the sysadmin at work, there are twelve employees, and none of them know much more than how to turn on a PC and use Office and Quickbooks. I'll definitely put it through its paces at home before bringing it to the office though.

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#64
post #60

Earlier quoted context omitted.

Edit Makefile.common and remove -Werror from there. This is a widespread mistake, using -Werror unconditionally. This flag forbids all warning messages from the compiler, no matter how superficial the actual issue is. -Werror is a very good tool to use during development, i.e. for private (Debug) builds, but it should be disabled for publicly released code (aka Release), or at least a shortcut should always be provid…

Gotcha, thanks! I'll give it a whirl. +++ And it worked! Thanks for that! I'll file that in my notes for building on Ubuntu and derivatives for the future.

You'd better write it in the compiler-specific notes! ;-)

As I said, new warnings are added to each new version of the compiler, that's why -Werror is dangerous for code that is intended to keep compiling without changes. The unused-result warning was added in GCC 4.5, I bet in some of those older distros you can try and it will compile just fine, because they come with GCC 4.4 or older... Likewise, probably the author used an sufficiently old GCC version when this code was written.

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#65

Hi all, I'm the CEO of Symless, the company behind Synergy. I wanted to chime in and let everyone know that you can ask me anything (reply to this comment). I've been working on Synergy as the lead developer since 2006 (before I started the company). Synergy 2 is an early beta and is still under development (the final version will be quite different to what's you see now). All users have access to Synergy 1 ( https:/…

I payed for Synergy because I love the concept, but the UI is pretty much unusable on high DPI screens on Windows and looks like Windows 95. Are there any plans to update it?

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#66
post #64

Earlier quoted context omitted.

Gotcha, thanks! I'll give it a whirl. +++ And it worked! Thanks for that! I'll file that in my notes for building on Ubuntu and derivatives for the future.

You'd better write it in the compiler-specific notes! ;-) As I said, new warnings are added to each new version of the compiler, that's why -Werror is dangerous for code that is intended to keep compiling without changes. The unused-result warning was added in GCC 4.5, I bet in some of those older distros you can try and it will compile just fine, because they come with GCC 4.4 or older... Likewise, probably the auth…

Got it. As I said I'm certainly not a developer but you've given me a lot of great info here. I do a good bit of compiling from source on Slackware for packages not available in the official or third party repos, and I've rarely had build issues similar to this one. Now I know one more thing to look for.

Thanks again!

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#67

I was using an old version of Synergy, until one day it stopped working. Since I only needed it for Windows clients, I found Mouse without Borders: https://www.microsoft.com/en-us/download/details.aspx?id=354... . It has the benefit that all input devices can access all devices (Synergy has a "master-slave" structure).

I too use MWB and worry about it being old and not updated. Anyone aware of problems we should know about?

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#68
Synergy 2 has so many issues that force me to restart it several times a day. I also need to keep the window open because my Ubuntu machine keeps stealing input priority. It breaks copy paste randomly. But I absolutely need it for quick cross platform testing and there seems to be no other solution besides a KVM switch. I hope this turns the business around.

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#69

Earlier quoted context omitted.

Careful, it doesn't appear to support encrypting traffic between systems, which means anyone can intercept mouse movements and keyboard presses, and introduce their own.

Thanks. I'm the sysadmin at work, there are twelve employees, and none of them know much more than how to turn on a PC and use Office and Quickbooks. I'll definitely put it through its paces at home before bringing it to the office though.

Consider folks who have gained unauthorized access to your network, possibly by one of your 12 employeers plugging in some random usb drive or clicking on some email attachment... that's what you'd have to worry about more than them.

Re: Synergy-core: Open source core of Synergy, the keyboard and mouse sharing tool

#70

Earlier quoted context omitted.

Chromebooks. I know ChromeOS considers all programs to be hostile but how long does it take to get either a) Synergy ported to this new operating system or b) some explanation as to why there are no plans to create a ChromeOS version? Even a phone version would be nice. It would enable people to type their texts rather than 'peck' at the keyboard. The thing is that people find other workarounds and other products com…

See the related issue on the repo: https://github.com/symless/synergy-core/issues/3363

That is quite funny. Stock Synergy on stock Windows is an install too far for the regular folk you meet in offices, so the idea of 'just simply installing crouton...' is just kind of lacking convenience.

I find it hard to believe that the Google people who write this ChromeOS would not just put together a version of Synergy to solve their own development use cases. Compared to self-driving cars it is not exactly rocket science.

I can remember when computers went from being networked to being 'personal' and a whole generation of people used non-networked PCs, not knowing any better. We have slipped into that era when it comes to keyboard/mouse sharing.

Post reply on HN