With the current HF6 synergy doen't run anymore because it can't find the config file in the home directory anymore. do you know where if have to put my cfg now?
Into the appdata-folder of synergy, because with the new HF the HOME-directory-variable is automatically changed to that directory. That is: <path_to_sd-card_where_the_pnd_is_on>/pandora/appdata/synergy
For example on my system the location is: /media/trans8/pandora/appdata/synergy/.synergy.conf
My personal, favorite way of running synergy is indeed to install it. You can install it in two ways:
- from the angstrom-repository: Just open a terminal and run
Code:
sudo opkg install synergy
-
OR copy over the two needed binary-files to the right directory. For this you need to start the synergy-pnd, leave the menu open and open a terminal. There you need to type in the following:
Type in your userpassword. Then:
Code:
cp /mnt/utmp/synergy/synergyc /usr/bin/
cp /mnt/utmp/synergy/synergys /usr/bin/
exit
"exit" will bring you back to the user-right-level in the terminal. Note that synergy-cfg-file has to be in your real home-directory at ~/synergy.conf for the installed synergy-binaries, because you are not using the PND-system anymore and the HOME-variable will not be changed when you run them. Once you copied over the files you can close the menu of the PND-synergy, which should unmount the PND once again.
Now you should be able to run any of the two commands no matter in which directory you are. For example you could try to run the synergy-client by entering:
where "<host>" is either the ip (something like 192.168.1.34) or the hostname of the computer that is running the synergy-server. Using the hostname will only be available if you either are running a local DNS-server for your home-network where you configured it, or if you entered the hostname-configuration in the file "/etc/hosts" on you Pandora-system.
In order to edit the hosts-file:
Code:
sudo su
mousepad /etc/hosts
The mousepad-editor should show up showing the content of /etc/hosts. There you have to enter the ip and the hostname you want to use at the bottom. Something like:
Save the file and exit. And from now on you should be able to access the computer with the ip "192.168.1.34" by using the name "homepc". Of course this is again just an example and needs to be replaced with the ip and hostname that suits your network/taste.
If you want to build yourself a menu-entry or an icon on the desktop that runs "synergyc <host>" you just need to build yourself a desktop-file like described in the end of
this thread. For a icon on the desktop you could also right-click on an empty place on your desktop, chosse "Create launcher" and fill out the fields. I recommend to use the full path in "command", e.g. "/usr/bin/synergyc <host>".
One issue that might confuse linux-newbies, is the fact that synergyc and synergys run invisble in the background. If you ever want to check if it's already running, then open a terminal an type
where <username> is the name of the user that you are currently logged in as.
If you want to close (kill) synergyc or synergys, the either carefully search the PID of synergyc/synergys from the output of the ps-command above (be sure not to choose the PID of a different program) and type
or just use for example:
which would kill all running synergyc-programms.
So much for now. This is also partially explained in the advanced guide of the PND. Ah, one last thing: The quicksynergy-programm of the PND that is linked
here does show an icon in the system-tray while running. The drawback is that AFAIK quicksynergy does not offer a way to directly start with a prespecified host. Maybe I'm wrong there. I didn't look much into this yet.