A while back I found out geektool, at first I didn’t thought much of it so I didn’t use it. But boy was I wrong. All it wanted was some love. So the picture below shows my current desktop, and the sections below that show the code in order to create what I have.
-
GeekTool
Posted Aug 12th, 2009 in Noteworthy With | Comments Off -
New Theme
Posted Aug 4th, 2009 in Clippings With | 3 CommentsHello people,
I know it’s been a while since I’ve written something here, this doesn’t mean that I have given up. There are lots of stuff in the drafts and I will try to finish something by the end of this month.
I have been working on changing the theme for the site for quite some time now, I’ve played with so many themes that I lost tract of what I wanted. Thankfully I found it and here it is.
If you are reading this in your favorite RSS reader or email head over to the site for a quick look and let me know what you think.
If you see anything broken drop me a line.
-
Synergy
Posted May 22nd, 2009 in Noteworthy With | 2 Comments
The Setup
I have one desktop computer running Ubuntu Linux connected to a wall mounted screen. I also have a 15″ Unibody MacBook Pro connected to a 24″ Apple Led Cinema Display.
The Problem
All this hardware creates a clutter on my desk requiring me to have more than one set of keyboard and mouse. It also makes it difficult to work on both computers at the same time.
The Solution
A small piece of software called Synergy. This piece of software gives me the ability to share my keyboard and mouse connected to one of the computers via the network interfaces, either being wireless or wired.
Synergy works with almost any setup and any operating system that being either windows, macintosh or linux. And the best part is that the client computers do not have to have a keyboard or mouse connected to them.
Synergy give me the ability to control 2 or more computers (windows, mac, linux) with the keyboard and mouse of only one of them. This means that the wall mounted computer doesn’t need to have any keyboard or mouse. For my problem this was the perfect solution.
Not having a keyboard for said computer in the long run presented some other problems. Like I could not restart the machine, or logout or switch users. Since when I did any of the previously mentioned actions it resulted in Synergy loosing connection and me needing to plug in a keyboard to make everything work again.
Thus a solution was needed to be created.
I’ve altered my login scripts to start Synergy so it will connect to the sever automatically. Bellow you will find what files I’ve either edited or created in order to make this work.
File: /etc/gdm/init/default
and File: /etc/gdm/PreSession/default/etc/init.d/synergy stop /etc/init.d/synergy start
File: /etc/init.d/synergy
#!/bin/sh # Start synergy to connect to server pc2 case "$1" in 'start') synergyc pc2 ;; 'stop') killall synergyc sleep 1 ;; 'status') ps auwxx | grep synergyc ;; *) echo "Usage: $0 { start | stop | status }" ;; esac exit 0Also for the above file the following command need to be executed.
chmod +x /etc/init.d/synergy
For the configuration file of Synergy itself here is a sample but this depends on your setup. Remember that the opposite of this configuration file must exist on the server otherwise you won’t be able to move your mouse back to it.
File: /etc/synergy/synergy.conf
section: screens pc1: pc2: end section: links pc1: right = pc2 pc2: left = pc1 end



















Recent Comments