Ivor O’Connor

January 20, 2010

Restarting The Synergy Client

Filed under: Uncategorized — ioconnor @ 5:33 pm

Because of Ubuntu’s buggy screen configurations across reboots synergy must often be restarted once the screens and resolutions are set properly. Here’s my script to do that:

#!/bin/bash
kill $(ps -ef | grep synerg | grep -v grep | tr -s ' ' | cut -d ' ' -f2); /usr/bin/synergyc --daemon --restart ###.###.###.###

It will kill any and all synergy clients and then restart the synergy client hopefully picking up the correct screens and dimensions. I call it RSSC for ReStart Synergy Client.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: