Package Details: synergy2-bin 2.0.11.stable~b56+8c94f00f-1

Git Clone URL: https://aur.archlinux.org/synergy2-bin.git (read-only)
Package Base: synergy2-bin
Description: Keyboard and mouse sharing solution. Synergy allows you to share one mouse and keyboard between multiple computers. Work seamlessly across Windows, macOS and Linux.
Upstream URL: https://symless.com/synergy
Keywords: synergy2
Licenses: unknown
Conflicts: synergy, synergy2-bin
Submitter: jaap
Maintainer: jaap
Last Packager: jaap
Votes: 21
Popularity: 4.307724
First Submitted: 2017-08-25 15:39
Last Updated: 2018-05-08 13:43

Pinned Comments

jaap commented on 2018-01-17 16:00

!!!!synergy 2 is officially in beta, ill update one more time, and then ill make a new package, something along the lines of synergy2-bin-beta

for any errors, bugs, and other problems with synergy go to the symless forums. for any errors in the pkgbuild, any changes I made in .install, the synergy.service on https://gist.github.com/JAicewizard/a70388a3a7c52fef21299f961a652364, or any dependency problem comment here. suggestions are welcome too of course.

I do not work for symless, cannot always update the packages immediately, I don't actually use synergy 2 on a daily basis so flagging the package is the best way to inform me of an update. old versions will still work so you (probably) won't die because of this.(if you do, I sincerely apologize for the inconvenience)

PS. I finally worked out how linebreaks work :)

Latest Comments

jaap commented on 2018-05-22 14:06

hmm, this isnt supposed to be a 100% fix, it should get it on urntime.

the only reason I do it like this is because there isnt an actual fix yet, but since the synergy-core itself is opensource you can try to fix stuff youself, just without UI and some extra layers(ssl encryption etc). My display is the default again, so I cant really test this, but if anyone has a better service feel free to tell me.

Eschwartz commented on 2018-05-22 13:58

That would explain why it doesn't work, then, since "when you run makepkg it should put the current $DISPLAY variable" has little to nothing to do with the DISPLAY value at the time you run this.

Unfortunately the "fix" is equally meaningless as it too runs during makepkg rather than when it should (during runtime).

The usual workaround for systemd services that need to be aware of the display, is, well, don't do anything. It's handled automatically by /etc/X11/xinit/xinitrc.d/50-systemd-user.sh

But explicitly setting the DISPLAY in the service file will break these sort of systemd DISPLAY-aware applications on general principle, for anyone who has a working systemctl user session.

I'm not sure why this runs as a systemd system service instead of a user service, but you'd need to fix that too I guess.

jaap commented on 2018-05-22 13:31

@m3thodic this should already happen, when you run makepkg it should put the current $DISPLAY variable into the service file. if this doesn't work for you, ill test your solution, but I don't see how it doesn't work.

m3thodic commented on 2018-05-20 06:23

Hey @jaap I updated the PKGBUILD to programatically figure out which DISPLAY variable to use as well as removing the external synergy.service (raw) file. I'm not sure how it ended up this way but for some reason my laptop uses :1 for it's main display and my workstation at home uses :0 -- thanks!

https://gist.github.com/tonylambiris/36e2b928f5afcc7940e9b720c74990ec

jaap commented on 2018-04-28 18:49

@galvez_65, yeah that is indeed correct, I dont know if arch helpers automaticly switch packages if a merge happens on the AUR, but to be sure just install synergy2-bin, it conflicts with synergy2 so you might have to remove that first.

galvez_65 commented on 2018-04-27 13:44

@jaap so I guess the proper thing to do at this point it to uninstall synergy2 and install synergy2-bin

Eschwartz commented on 2018-04-25 20:16

https://lists.archlinux.org/pipermail/aur-requests/2018-April/023678.html

https://bbs.archlinux.org/viewtopic.php?pid=1781653#p1781653

jaap commented on 2018-04-25 20:16

@galvez yeah, I asked myself the same question yesterday evening :)

because synergy2 and synergy2-bin are basically the same(except one includes beta releases, but this wasn't really made clear in the pkg description). so @Eschwartz merged them. the rules for -bin, -git and -beta aren't made clear anywhere as I am aware. this will be the main stable release version, and synergy2-beta-bin will be for the beta's (ill make that one later, no real betas atm)

galvez_65 commented on 2018-04-25 20:08

what happened to synergy2? looking just now its gone and I only see suynergy2-bin

Eschwartz commented on 2018-04-24 21:03

You neglected to update the .SRCINFO

Note this can be easily automated using e.g. https://github.com/eli-schwartz/pkgbuilds#hooks

All comments