opensource: del.icio.us tag/opensource
Application
Applications
Software
linux
GNOME
Apps
opensource
I woke up on Thursday with a left arm more painful than a 100 episodes of Wheel of Fortune. I had almost pulled an all-nighter the night before to finish reviewing/correcting a paper. I went to the doctor, fearing the worst. My left wrist was aching, and no change of position or angle would suppress the hurt.
The doctor said I had tenosynovitis - which is a member of the much talked-about Repetitive Strain Injuries. He advised me against using the laptop on my lap - this keep my hands all hunched up together. He also advised a couple of days of rest. So needless to say, I haven’t typed much over the weekend, though I wanted to write a short guide on implementing a Getting Things Done workflow in Linux. I had set things up for GTD the past week, and the search for tools that work on Linux was frustrating, to say the least. I finally had to narrow it down to an online tool that seems very capable of the task. I have been itching to write the article and yet have resisted.
Monday brought me back to work, and I thought I should look at options to reduce the risk of recurrence of the pain. For two reasons - the pain was real bad, and the doctor said that repeated occurrences of RSI would lead to the much-dreaded Carpal Tunnel Syndrome and perhaps permanent numbness of the digits in my hands.
GNOME is very advanced when it comes to providing methods to save your hands.
There is the Typing Break in GNOME’s keyboard preferences dialog (System -> Preferences -> Keyboard). Here’s a snapshot:

It is easy enough to ask you computer to lock up every once in an hour or so for 5 minutes to enforce a break.
But for those of us who are not satisfied with a fly swatter to swat flies, there is workrave, with the little sheep for a mascot.
You can install workrave using:
$sudo apt-get install workrave
Once installed, you can add it to your panel as an applet by right-clicking on a panel and adding the applet:
.
Once on the panel, you get to right click on the panel applet and set preferences:

There’s a whole lot to choose from - you can choose to have micro-breaks of less than minute every 10 minutes, say. You can also enforce a longer break every hour or so. A break of 5 minutes every hour seems normal. You can also choose whether to be able to postpone the break when you get the warning of an impending break or not. A break can be either just a disabled keyboard, or a locked screen too, just so you don’t use your mouse to sneak a peek at you mail, or visitor stats
Workrave also has a neat feature where you can exercise your fingers, wrist, neck and arms during the break - there is an on-screen display of how to do the exercise and a virtual character does it with you. Marcel has written about workrave in detail and even has some more screenshots - including one of the dudette who does the exercises with you.
In addition to the forced typing breaks, I am thinking this would be a good time to switch to the Dvorak keyboard layout. The initial learning phase where typing gets really slow is what’s holding me back. Maybe that is one thing to filed under “someday/maybe” in my GTD system.

I was looking for a replacement for SecureCRT in Ubuntu. Something that would let me save all my SSH connections and make it possible to open a connection with the least effort.
As is often the case, I found something better than SecureCRT - a panel applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool.

Above, you can see my list of ssh accounts in all their glory. A connection is just a click away.
When you set up the connections, you can specify the geometry - ie, where on your desktop you want the gnome-terminal window to pop up, as well as a “profile” for the gnome-terminal instance - very handy if you want to have different color schemes for different ssh accounts to be able to distinguish between them better.

What’s even better is, in the “Hostname (etc)” field, you can prepend ssh options to the hostname. The figure below shows my port forwarding setup for IRC at school, since I can’t chat using port 6667 at school.

There’s a Debian/Ubuntu repository for SSHMenu, and of course, nothing stops you from downloading the .deb packages and installing them if you don’t wish to add another repository to you list of repositories. I wonder how long before SSHMenu finds itself into the Ubuntu repositories
Once you get SSHMenu installed, you can add it to your panel by right-clicking on your GNOME panel, and selecting “Add to Panel”. SSHMenu should be listed as “SSH Menu Applet” under the “Utilities” section. Then all you have to do is use the tool to add accounts that pops-up when you install the applet, or add the accounts later by clicking on the “SSH” in your panel. However, this still doesn’t take us to “one-click” login, since you will be prompted for your password by the server you are trying to connect to.
To make the connections truly one-click (or two-click), you might want to setup password-less logins using ssh-keygen and ssh-copy-id. A quick overview of that process follows:
On your local computer, type:
$ssh-keygen -t rsa
When prompted for a password, you may want to enter none. If you enter a password there, you will have to enter it everytime you try to use the “passwordless” login, which kind of defeats the purpose.
Enter a password here. Then when you try to connect to the accounts using SSHMenu, you will asked for the password only once, the very first time. (Thanks to Grant, SSHMenu’s author for the explanation in the comments).
Once your RSA key-pair is generated, you need to add the public key to your server’s ~/.ssh/authorized_keys file. You can do this very easily by typing (on your local computer):
$ssh-copy-id ~/.ssh/id_rsa.pub username@example.com
This will copy your public key for the just-generated RSA keypair to the example.com ssh account, where your username is “username”.
Of course, for this passwordless login to work, the server needs to accept this method of authentication. There’s an old article at the Debian Administration blog that describes the process in a little more detail, and countless others have written about this, so you won’t have trouble finding info.

opensource: del.icio.us tag/opensource
Applications
Programming
GNOME
repository
internet
tools
opensource
I woke up on Thursday with a left arm more painful than a 100 episodes of Wheel of Fortune. I had almost pulled an all-nighter the night before to finish reviewing/correcting a paper. I went to the doctor, fearing the worst. My left wrist was aching, and no change of position or angle would suppress the hurt.
The doctor said I had tenosynovitis - which is a member of the much talked-about Repetitive Strain Injuries. He advised me against using the laptop on my lap - this keep my hands all hunched up together. He also advised a couple of days of rest. So needless to say, I haven’t typed much over the weekend, though I wanted to write a short guide on implementing a Getting Things Done workflow in Linux. I had set things up for GTD the past week, and the search for tools that work on Linux was frustrating, to say the least. I finally had to narrow it down to an online tool that seems very capable of the task. I have been itching to write the article and yet have resisted.
Monday brought me back to work, and I thought I should look at options to reduce the risk of recurrence of the pain. For two reasons - the pain was real bad, and the doctor said that repeated occurrences of RSI would lead to the much-dreaded Carpal Tunnel Syndrome and perhaps permanent numbness of the digits in my hands.
GNOME is very advanced when it comes to providing methods to save your hands.
(more…)
Ubuntu offers a lot of fonts, in addition to the defaults installed, and the MicroSoft msttcorefonts package, in its repositories. All these fonts mentioned here are provided as packages, which can easily installed using command line tools like apt-get or using Synaptic. These fonts will come in handy for designing flyers, or for designing headers and graphics for the web using the Gimp. Also, some of these fonts are pretty commonly used to render pages, like Lucida.
I will save the packages with the biggest collection of fonts for the end here. Since I have included screenshots of most of the fonts, and this article is sorta long, please read on by clicking the “More” link below.
I was looking for a replacement for SecureCRT in Ubuntu. Something that would let me save all my SSH connections and make it possible to open a connection with the least effort.
As is often the case, I found something better than SecureCRT - a panel applet for GNOME that gives me a drop-down list of SSH connections. SSHMenu is cool, way too cool.

(more…)