Fix scrolling on Synergy clients

Synergy

I have a number of systems & monitors on my desk, and one thing which has irked me for long time is scrolling didn’t work on one of my linux synergy clients. Today I needed to fix it!

With a little bit of help from here: https://code.google.com/p/synergy-plus/issues/detail?id=28#c17 it was fixed within minutes!

First off all quit synergyc, quicksynergy or whatever you are using.
Lets now start it manually, fire up a terminal and enter:

$ synergyc -f -d WARNING --name debian 192.168.0.200

Synergy should now be working as normal, now open up a web browser and attempt to scroll.

You should see messages similar to the following:

Feb 1 18:32:45 localhost Synergy+ 1.3.4: 2010-02-01T18:32:45 WARNING: Wheel scroll
delta (28) smaller than threshold (120)#012#011CXWindowsScreen.cpp,858

That delta number is the important bit!

Quit synergyc and now add --yscroll 28 (or whatever your delta is) the full command should look like this:

$ synergyc -f -d WARNING --yscroll 28 --name debian 192.168.0.200

Scrolling should now work!

If this works for you (or doesn’t!) let me know in the comments!

Best Operating System for me.

IMG_0276

Over the years I’ve changed my operating system a lot. Sometimes too regularly. A lot if my day to day work is managing remote servers over SSH or RDP.

OSX

I’ve been using a Mac mini at work now for a little over a year. Its a great spec, (i7, 16GB RAM) and with multiple dual 24″ monitors it’s a system to be reckoned with. It’s got an underling *nix system so I have native access to linux tools, including SSH. With the addition of Homebrew a lot of tools are easily installable too.

Windows

I still lean towards Windows for gaming, mainly on Steam.

FPS is still loads better on my Windows 7 i5 machine.

Debian GNU Linux

I LOVE Debian. It’s always been my server os of choice. If multi monitor support was better and less work, no doubt it would be my main desktop OS. Gaming is getting so much better too.

OS Pros Cons
 OSX  Native *nix stuff. Great Multi monitor support.  Poor graphics support for gaming.
 Windows  Great multi monitor support  No native SSH/linux stuff.
 Debian  Flexibility, performance.  Poor multi monitor support.

It looks like I’m keeping a few different systems a while longer!

Expanding your LVM with a new disk

Our Debian LVM was getting a bit full so we got two new 2TB drives. We’ll add one of these to our LVM to increase the space.

First of all check to see if your new disk has been seen by the  BIOS.

If it has great! If not might be worth rebooting to check if a SATA port needs turning on for instance.

Once the disk has been recognised by the system it will show up with the above command.

We now know that the disk is /dev/sdb. Thats good. We can now prepare it for use.

Hit ‘n’ to create a new partition. It should be primary (p)
choose the default partition number (usually 1)
I hit enter twice to use the full space.

Press ‘p’ and you should see something similar to this:

Press ‘t’ to change the partitions id. Use 8e as it’s going to be a Linux LVM.

Hit ‘w’ to write the changes.

Now lets create a volume:

Now we need to find the name of our existing volume group to add this volume too:

 

Great! Lets extend the id05 LVM to use /dev/sdb1 as well:

pvscan should now show us the physical volumes to confirm:

Now lets find the logical volume that we want to increase. The lvdisplay command will show them all:

Here we have 2 (the other one is a swap)  The one we want to make bigger is /dev/id05/root.

Now lets resize the filesystem (this may take some time!)

All done! Check your new lovely space out!

VM Management with Archipel

zoom-controls
For a while now I’ve been experimenting with virtual machines on a variety of software & hardware solutions. The one issue which always bugged me was finding a nice web tool (or even writing one) where I could manage all my VM’s in one place. This last week I found the product: Archipel