sur sa machine (pc01): le serveur synergy :- /etc/synergy.conf ou ~/.synergy.conf
section: screens
pc01.nomblot.org:
pc02.nomblot.org:
end
section: links
pc01.nomblot.org:
right = pc02.nomblot.org
pc02.nomblot.org:
left = pc01.nomblot.org
end sur le client synergy (pc02), avec notify, plus chouette (ma petite touche sympa) !#!/bin/bash
pkill synergyc
remotepc=pc01.nomblot.org
icon=/usr/share/icons/gnome/scalable/apps/terminal.svg
/usr/bin/synergyc --debug INFO -f $remotepc 2>&1 | while read x ; do
msg=`echo $x| grep screen | cut -d\ -f3,4`
/usr/bin/notify-send -u critical -i $icon "$pc $msg"
done
|