Dual Monitors, Dual Taskbars – on Ubuntu

Today, I setup a new PC using Ubuntu 8.10. It works great on dual monitors 22″ and I’m able to get the full resolution (3360*1050). I managed to get 2 top panels and 2 bottom panels. I love having multiple taskbars – one for each screen. This is how I got it to work:

1. Right click on the taskbar and go to “New Panel”

2. I moved the new panel to another monitor.

3. Right click at the new panel and “Add to Panel”

4. Select “Windows List”

5. Close and it works 😉

This is a guide that I found from Google. [Link]

Install Python IDE on Ubuntu

Today, I tried to learn Python with django framework. Python has been on my study list for awhile. Finally, I got around to learn it today.

First of all, thanks go to Tim for recommending an IDE to me. I’m attempting to learn Python via Stani’s Python Editor.

This is how I installed it:

1. Open terminal

2. sudo apt-get install spe

3. And I hit enter. How simple!

Install perl modules on Ubuntu

Today I have to install Net::OAI::Harvester package for a script that Prashant gave me. I have to setup CPAN and use CPAN to install it. This is what I did.

1. Open terminal

2. Type sudo cpan (not sure if I really need to be sudo but having an extra power makes me feel good. So why not sudo?)

3. install Net::OAI::Harvester

And it works ….

Ecplise and SVN

Today I installed Eclipse [3.4] (http://www.eclipse.org/) on my Windows machine. The installtion is very straight forward. However, some extra works are required to get it to work with SVN.

Installing subclipse:

1. Go to Help > Software Updates

2. Go to Available Software tab

3. Add Site: http://subclipse.tigris.org/update_1.4.x

4. Expand subclipse tree.

5. Tick: Subclipse and JavaHL Adapter

6. Install

7. Restart eclipse

My frist attempt was to install without JavaHL Adapter. When I tried to checkout an SVN project, I have got this error “Unable to load default SVN client.” Thanks to Google (http://www.google.com) and this blog (http://www.coldfusionjedi.com/index.cfm/2008/9/5/Subclipse-and-Unable-to-load-default-SVN-client)

Note: Eclipse version in the image is 3.0 but I am using 3.4

Setting up Synergy

Originally, I was working on Windows XP with duo monitors. I had a linux-dev-box sitting on another desk nearby. Today, I decided to move a linux-dev-box to my desk. This gave me a total of 3 monitors, 2 keyboards, 2 mice and 2 pcs. I was thinking about using a kvm-switch to save myself from swapping between keyboards and mice. However, that comes with an extra cost.

In the end, I ended up installing a program called “Synergy” (http://synergy2.sourceforge.net/). This program allows me to share keyboard and mouse through a network. Therefore, in theory, I should only use one keyboard and mouse.

This is the steps I used to install Synergy.

Windows-Box (server)

1. Download Binary version of Synergy from the above website.

2. Install Synergy

3. Set this up as a server. (Share this computer’s mouse and keyboard)

4. Go to Screens and Links configure

5. I added 2 pcs (Screens), which are Windows and Linux hostname/IP

6. I setup links for each monitor, for example,

– Right of Windows is Linux
– Left of Linux is Windows

7. I tested it and Start the server.

(Ubuntu) Linux-Box (Client)

1. Open Terminal

2. sudo apt-get install synergy

3. synergyc -f SERVERNAME

Now, I can control 2 pcs, 3 monitors, with only a pair of mouse and keyboard.

Note: “Synergy does not do any authentication or encryption.” more info > http://synergy2.sourceforge.net/security.html