Archive

Archive for April, 2008

Using multiple routers to extend network

April 22nd, 2008 1 comment

OK, this one makes me a feel a bit silly, but I was trying to extend my network in another room. My main router feeds the internet from a DSL line. Which in turn I have a cable going to another room that I wanted to feed a second router. In that case you cannot insert the output from the main router into the WAN port. It is not the internet source. Rather insert into one of the empty ports. Thereby sharing the internet connection through the hub feature of the router…

Categories: Network Tags:

Synergy: two computers one set of input device

April 22nd, 2008 No comments

Find yourself using two computers right next to each other and having to lift your arms (what a chore!) and move them over to the other keyboard, don’t! There’s a client/server solution to solve this problem called ‘Synergy‘.

Their documentation is actually quite good, but I figured I’d put my config and experience up anyways.

One issue I did have when setting up the system was when trying to use the QuickSynergy GTK program. It was a bit shoddy and did not save the settings after I input them in. Albeit the version that Ubuntu’s got in cbd products repo is outdated…it’s version 0.6 and the most recent version 0.8 setting it up manually seems to be the better bet.

All you need to do is setup one config file named ‘synergy.conf’ and place it in your root (‘~’). This file only belongs on the machine that will actually be controlling the action, namely the machine with the kebyoard/mouse you want to use.

My setup looks as such.

section: screens
server:
client:
end

section: aliases
server:
server-name-on-network
client:
client-name-on-network
end

section: links
server:
right = client
client:
left = server
end

All you need to do after saving that file, on the server (the keyboard/mouse machine) machine running:
synergys

On the other machines run:
synergyc

Categories: Ubuntu Tags:

Localization options in Django

April 16th, 2008 No comments

Was having trouble finding the language abbreviations everyone was using with localization. Apparently it’s a standard: ISO 639-1

Also when setting up localization you need to create a ‘locale’ folder. The location is your choice.
Then add one by one the locales from the same level as where your locale folder is. So if ‘locale’ is in app
app/$ django/bin/make-messages.py -l en

To update the ‘.po’ files later run:
app/$ django/bin/make-messages.py -a

To build the object files (‘.mo’) run:
app/$ django/bin/compile-messages.py

Categories: Django Tags: