VGTech is a blog where the developers and devops of Norways most visited website share code and tricks of the trade… Read more



Are you brilliant? We're hiring. Read more

Synergy + Norwegian keyboards

Misc

Synergy is a really cool application which lets you easily share your mouse and keyboard between multiple computers. I’ve been using it both at work and at home – having both a Linux and a Windows computer available in this manner is a pretty powerful setup. It does have a few issues with international keyboards, such as the Norwegian layout.

When using Windows as the host computer and Linux as the client, most of the keystrokes would be incorrect by default (dash, slash – those kind of keys). This is actually fairly easy to solve, by adding and activating an English keyboard layout on your client machine. This may seem a little counter-intuitive since the keyboard is actually Norwegian, but I suppose it has to do with normalizing or some such.

The next problem you might face is that some of the keys accessible through the AltGr-key no longer works (@ and $, among others). I managed to solve this by making sure both English and Norwegian keyboard layouts were added, and on the keyboard layout configuration panel going to “Options”, “Key(s) to change layout” and checking “Right Alt (while pressed)”. This basically switches to Norwegian keyboard layout whenever I press AltGr and seems to do the trick. I’m unsure if this is an option on all Linux distributions – your mileage may vary (I did this on Linux Mint 15).

Developer at VG with a passion for Node.js, React, PHP and the web platform as a whole. espen.codes - @rexxars


1 comments

  • Federico

    Awesome! I couldn't make it work and this worked like a charm. Note I didn't have to install a new keyboard layout, just do the Right Alt thing. Using Synergy 1.7 with Windows 10 server and Xubuntu 14.04 client.

    Cheers!


Leave your comment