Archive for the ‘Bash’ Category

Dumb Terminal Bells

Wednesday, February 3rd, 2010

I have been plagued for years by my terminal beeping thumping and generally anoying me when I do something wrong. It’s actually quite easy to fix though. Just add this one liner to ~/.inputrc and no more beeping:

set bell-style visible

Non US Keyboards used with Cygwin

Tuesday, December 22nd, 2009

If you have a keyboard that is non US when you type you find different characters appearing to what are marked on the keys. The solution to this is fairly trivial run xmodmap with the appropriate xmodmap file. The problem is you don’t have the file. They are all here as a compressed tar file or you can browse them here. I added a line to my .bashrc file xmodmap xmodmap.uk and that worked nicely.

Start

Friday, February 2nd, 2007

I like to use a command line interface whenever possible. Sometimes though a windowed application is required. In MS Windows you use the start command to bring up the default app, (don’t use this much). In Cygwin I use the cygstart command.

So I was using my Ubuntu system and wanted to do something similar. The command it turns out is gnome-open. Bit of a mouthful so I have this aliased in my .bashrc file to cs for either cygstart or gnome-open which is much more snappy.