Mouseless Computing

The professional programmer encounters a variety of challenges and annoyances in the line of duty, but by far the top job hazard is Repetitive Stress Injury (RSI). We can muddle our way through less than optimal projects and coding blunders (hopefully learning as we go), but it's pretty hard to program if you can't type or double-click.

Jeff Atwood recently wrote about some great tips for caring for your hands and wrists - things like exercise, posture, breaks. I'd like to add to that by discussing some practical ways to avoid the most damaging motion in modern computing - mousing.

Step 1: Mouse Goofy

The simplest thing you can do is to just switch mouse hands. It's a bit frustrating at first, but it's the easiest change you can make and it can give you some immediate relief. I've worked with a few people over the years who switched to left handed mousing and haven't had any problems since then.

Step 2: Ditch the mouse for a better pointing device

If you have to use a pointing device, you can switch to something that puts less stress on your wrists. I switched to a trackball a few years ago (my current trackball is a Logitech Trackman Wheel); the only time I use a mouse is with left hand so I can give my right hand a break. But my primary pointing device is way better...

Wacom Graphire Tablet

I use a Wacom Graphire Tablet. It's great - pointing with a pen isn't nearly as repetitive as with any other pointing device I've used, since you can move around the screen by moving your arm without moving the wrist or hand at all. You can hold the pen in a lot of comfortable positions and easily move around in your chair. The one I've got is wireless (BlueTooth), which was a bit more expensive but a lot more flexible - I can lean back in my chair and work, for instance. Plus, an added bonus is that it's a much better pointing device for art and photo manipulation, so it's not such a conceptual shift to pop open an art program and retouch a website image when the need arises. I mapped one of the tablet function keys to right-click since my pen right-click button doesn't work that well.

There are a lot of other alternative pointing devices out there. I worked with a guy who's tried them all (howdy, Ted!) and settled on one that looks like a joystick. I'm happy with the tablet since it seems the most natural and flexible to me, but just about anything that can replace a mouse is a great step.

Here's a shot of my desk. You can see the tablet in front of the Microsoft ergo keyboard. I've got my left handed mouse a little out of reach on the left to keep me honest, and the trackball even further out of reach on the right. I don't really work with the bright yellow Wumpus sticker under the monitor; that's been known to induce siezures. I only put it there to fulfil the terms of my sweet product placement deal.

Desk

Step 3: Use your keyboard as much as possible

Browsing

I'll talk about some Windows and application specific shortcuts in a minute, but I'm going to start with the hard one first - browsing. The website is the last bastion of inaccessibility, with image buttons and AJAXified links strewn across the screen. What can you do?

Well, in Firefox, you've got some options. By far, the site I use most frequently is Google search, so the Search Keys extension helps quite a bit. Search Keys adds a number shortcut next to each search result, so you can just type the number to go to that result. One thing to be aware of - if you're in the middle of an incremental search, the number keys won't activate Search Keys (that's a good thing, otherwise you could never search a page for numbers). To close incremental search, just hit Ctrl-F, Escape. I've been using Search Keys a while now - maybe a year - and I like it a lot.
Firefox SearchKeys Extension

While using Search Keys  one day I started wondering if there was a way to avoid clicking links on other pages, which lead me to a great article on LifeHacker about Mouseless Firefox. It's got some great tips about Firefox shortcuts, but as is often the case the real goods are in the comments, which mention the Search Keys, Hit-A-Hint, and MouselessBrowsing extensions.

I tried MouselessBrowsing (didn't work for me for some reason) and settled on Hit-A-Hint. It's simple to use - in any web page, you tap the spacebar twice, holding the second time. Small numbers appear on top of every link and form field; just type the number in and release the spacebar to click the link. It takes about 30 seconds to get used to it, and you can easily browse without a mouse. Nice! I use it a lot and highly recommed it.

Firefox Hit-A-Hint Extension

The LifeHacker Mouseless Firefox article runs through a bunch of shortcuts. Here are the ones I use most often:

Control-T (new tab)
Alt-D pops you in the address bar, and Alt-D, Tab puts you in the search box
Alt-Left (Broswe Back) and Alt-Right (Browse Forward)
Control-Tab (next tab) / Shift-Control-Tab (previous tab)

IE6 doesn't seem to work as well without a pointing device. There are shortcuts (IE6, IE7), but they're really just shortcuts for controlling IE, not for clicking links in a page. The official IE solution to clicking a page link seems to be "keep clicking on the tab key". There's an addon from the University of Illinois - IEAccessible - that supposedly improves accessibility for IE. I haven't tried it.  [please recommend any options for IE in the comments below and I'll update this]

Opera has great mouseless support built in.

General Windows Shortcuts

The System Tray (oops, I mean Notification Tray) is a bit tough to get to if you don't know the trick, and it seems like everything wants to minimize there nowdays.
Win-B / Enter to show hidden icons (if necessary) / Right arrow / Right-click button (or Shift-F10)

Quick Launch also requires some keyboard trickery:
WinKey (press and release) / Tab / Right arrow

Use Alt-Tab to switch between applications. I recommend using Task Switch XP (free) to beef up the task switcher interface.

Alt-Space brings up the window command menu, which allows you to move or resize windows with the arrow keys. Very few people seem to know about or use these features, which can cut way down on mouse usage.

Use Alt-F4 to close an application

You can get to any program on your Start Menu by hitting the WinKey and using your arrow keys

Microsoft lists some general Windows shortcuts here.

The Windows Key can do so much it really demands its own post. Luckily Jeff already took care of that - see his Celebration of the Windows Key on Coding Horror.

Right clicking can make you want to reach for your mouse. Instead, use the Context Menu Key to right-click on standard Windows keyboards. You can use Shift-F10 if it's not available (laptop, etc.).

You can do quite a bit with Start / Run commands. There's a great list here.

Use a utility that allows you to copy a file's full path to the clipboard. I like ClipPath. Julie Lerman has a good list of them here. It's a simple little chore I find myself doing all the time, and ClipPath cuts down on mousing and keystrokes.

The Alt Key is your friend
Some applications show accelerator keys undelined by default, others hide them until you hit the Alt key.
Example - in most applications, Alt-F X will exit an application. Look around!

MouseKeys (built into Windows) allows you to move and click the mouse using the number keys. You can enable it by pressing Alt-Left Shift-NumLock. You can change the settings (such as how fast it moves) via the Accessibility control panel widget, which you can launch directly with Start / Run / Access.cpl.

Find shortcuts for applications you use the most

Outlook / Office - Outlook 2003 has keyboard shortcuts for just about everything you'd want to do. The Go Menu (Alt-G) lists the major areas with their shortcuts (Ctrl-2 = calendar, etc.). Office 12 enhances the keyboard sortcuts by making them a lot more obvious, using the same shortcut overlay UI technique Hit-A-Hint does.

Visual Studio - Again, Jeff's got us covered with a nice rundown of keyboard shortcuts for Visual Studio.

SQL Server 2000 Query Analyzer - See the nice list of Query Analyzer shortcuts on OdeToCode. I bet I'm in the minority here, but I always liked the Query Analyzer UI, especially because the the keyboard shortcuts were so comprehensive.

Windows Media Player - Windows Media Player 11 and I aren't really on speaking terms at the moment, but that's the subject of another post. The only way I've found to go from Now Playing to Library view involves hitting the Tab key 16 times. I'm sure there's a better way, but the fact that it's pretty well hidden is unfortunate. Another example - you can play at half speed, normal, and double speed, but in order to do anything else you're camping on the tab key. There are shortcuts to get around in Library mode (Ctrl-7, 8, and 9, Ctrl-E for search). The Media Player site has a list of shortcuts (for WMP 10); it's okay, but I can't picture using WMP without a mouse.

 

Got any tips you'd like to pass along?

Published Wednesday, June 14, 2006 2:26 PM by Jon Galloway

Comments

# Mouseless Computing

Trackback from dotnetkicks.com

Wednesday, June 14, 2006 5:32 PM by dotnetkicks.com

# re: Mouseless Computing

HandyFind
http://www.handykeys.com/Index.htm

works well for IE, Word, Outlook, etc.

Wednesday, June 14, 2006 6:01 PM by Kyle Alons

# re: Mouseless Computing

Best. Post. Ever.

Those Firefox extensions (searchkeys and hit-a-hint) are SWEET, by the way!

Which reminds me of a new rule: your app is only as good as the ecosystem around it. Who cares about the HTML support in Firefox, it's the add-ins that make it a killer app.

Wednesday, June 14, 2006 6:17 PM by Jeff Atwood

# re: Mouseless Computing

Kyle Alons, I want to kiss you. Handy Find adds incremental searching to the entire Windows operating system across all apps. Unbelievably incredibly useful!

And now maybe I can use IE7 without cursing every time I press CTRL+F.

Wednesday, June 14, 2006 6:21 PM by Jeff Atwood

# Favorite Windows Keyboard Shortcuts

Jon Galloway has some cool shortcuts for windows , some of which I hadn't considered before:
The System...

Wednesday, June 14, 2006 6:42 PM by ISerializable - Roy Osherove's Blog

# re: Mouseless Computing

As a founding member of the claw-hand club, I heartily endorse any and all of these tips.

ctrl-l also takes you to the address bar in Firefox, but the same key-combo opens the "open location" dialog in IE. Maybe there needs to be an international keyboard shortcuts standards board?

Wednesday, June 14, 2006 7:28 PM by Scott

# re: Mouseless Computing

Two words (actually jammed together into one):

SlickRun

Wednesday, June 14, 2006 7:43 PM by Haacked

# Re: Mouseless Computing

Unfortunately, SearchKeys doesn't seem to work well with the Google Search Bar.  When I search via the toolbar, the number keys don't work. :(

Wednesday, June 14, 2006 7:47 PM by haacked@gmail.com (Haacked)

# re: Mouseless Computing

Here's a trick I employ: Add your Quick Launch directory to your path. Then, change the names of the shortcuts to meaningful names for you. Now, type Win+R key and a shortcut name. For me 'ff' is Firefox, 'ie' is Internet Explorer, 'pu' is PuTTY, etc.

I'll be trying the Hit-A-Hint. Thanks.

Wednesday, June 14, 2006 8:04 PM by DT

# re: Mouseless Computing

What a gigantic and well-thought post! I can even follow along with the topic!

My advice is to mix it up between keyboard, mouse, and tablet. Variety.

Do plenty of stretches and take breaks.

Go outside.

Wednesday, June 14, 2006 9:56 PM by Paul Goode

# keyboard shortcuts

Jon Galloway lists a compilation of keyboard shortcuts that will be helpful for keyboard lovers like...

Wednesday, June 14, 2006 10:39 PM by jokiz's blog

# re: Mouseless Computing

Hey, that's pretty cool. I need to test that sometime.

Thursday, June 15, 2006 1:23 AM by Paul Mendoza

# Teclas acelaradors de Visual Studio

Leyendo este blog, me acordé de cuando mi hermano Alex era el capo del PowerBuilder 6: solo para impresionar...

Thursday, June 15, 2006 2:22 AM by .NET a 2.860 m de altura

# re: Mouseless Computing

As a web developer, I have gotten used to several shortcuts that reduce the amount of typing and clicking:

FF/IE  In the address bar, type 'google', then press CTRL+ENTER
View Source in FF: CTRL+U, IE: ALT+V,C
ALT-HOME to view home page
In FF use ALT+T,C to open the javascript console
Press CTRL while clicking a link to open in a new tab

Thursday, June 15, 2006 2:35 AM by bdiaz

# Complete Visual Studio Team System shortcut keys listing

Reading this blog entry, I remembered of the times when my younger brother Alex was the capo of...

Thursday, June 15, 2006 2:37 AM by .NET at 9.400 ft above sea level

# Teclas acelaradoras de Visual Studio

Leyendo este blog, me acordé de cuando mi hermano Alex era el capo del PowerBuilder 6: solo para impresionar...

Thursday, June 15, 2006 7:51 AM by .NET a 2.860 m de altura

# Teclas aceleradoras de Visual Studio

Leyendo este blog, me acordé de cuando mi hermano Alex era el capo del PowerBuilder 6: solo para impresionar...

Thursday, June 15, 2006 8:09 AM by .NET a 2.860 m de altura

# re: Mouseless Computing

I'm a bit of a FF extension junky, but I hadn't come across Hit-A-Hint before - very handy!

Another quick tip for launching common applications is to pin them to your start menu and then you can just use WindowsKey-First letter of appname-return to launch it. If more than one app shares the same first letter then pressing it repeatedly will cycle through them in turn.

Saturday, June 17, 2006 10:57 AM by Mark

# re: Mouseless Computing

For Firefox there's actually other shortcut keys for the location bar and search box:

CTRL + L (location)
CTRL + K (search)

Bit less of a stretch for the ol fingers...

Monday, June 19, 2006 12:40 AM by matt

# re: Mouseless Computing

Your site is throwing JS errors on every entry I try to visit:
http://weblogs.asp.net/jgalloway/
My Browser: 6.0.2900.2180.xpsp_sp2_gdr
Service Pack: SP2

Script debugging enabled.
Notification of errors enabled ( obviously ).

I tried to find your email to send you a private message, but I couldn't find anything that let me email you directly (probably a good thing, but I would rather not put notice like this on your public blog, so feel free to delete comment after you read, and preferably fix ;-) ).

Tuesday, June 27, 2006 2:52 PM by Jonathan

# re: Mouseless Computing

Thanks, Jonathan. I think I got them fixed now. Nifty Corners js include wasn't working in IE after weblogs.asp.net upgraded to CS 2.0.

Thursday, June 29, 2006 1:07 PM by Jon Galloway

# re: Mouseless Computing

Hey Jon,

Check out the really cool mouse at http://www.evoluent.com/vmouse2.html

I've been using it for about 6 months now - and it's made a phenomenal difference.  It takes about 2 hours to get used to.

Friday, July 21, 2006 7:29 PM by Bill Richardson

# re: Mouseless Computing

Make your command line more bearable with - http://codebetter.com/blogs/steve.hebert/archive/2006/01/13/136475.aspx

This is also setable with WinXPPowerTools, but if you don't want to install a bunch of extra stuff, you can use the registry hack directly.

Friday, July 28, 2006 12:14 PM by Steve Hebert

# keyboard shortcuts

Jon Galloway lists a compilation of keyboard shortcuts that will be helpful for keyboard lovers like

Friday, August 11, 2006 7:56 AM by jokiz's blog

# Teclas aceleradoras de Visual Studio

Hola este es un post del blog de Edgar Sanchez (MVP ecuatoriano) muy interesante...Leyendo...

# re: Mouseless Computing

F6 in firefox will get you to the address bar too.

i cannot use my hands, i use a stick in my mouth to type- Mouseless Browsing for firefox..  pretty sweet, i've always used it- dunno what i'd do without it

umm...

F2 in Windows to rename file/folder

WIN + e      windows explorer

WIN + d       desktop

WIN + f      windows [crappy] search

arrow keys in windows explorer to expand/collapse trees.

can't think of any more right now...

backspace in FF or windows explorer to go 'back'

Monday, August 21, 2006 2:03 AM by daz

# re: Mouseless Computing

A way to search without using the mouse--is quite possible using http://ugux.com.

Wednesday, March 07, 2007 5:28 PM by MultiZ

# re: Mouseless Computing

hit-a-hint is amazing, because web browsing just seemed to be broken re the keyboard. This has really, really helped.

The surprise star, for me, is MouseKeys. Why isn't this hint thrown around more to techies? It's amazing to think that I never need to use the mouse again, ever, unless I fancy it. I've never really used the keypad before, but now it's been repurposed. Thanks for the hints.

Wednesday, March 28, 2007 5:19 AM by Steve Cooper

# Most redundant keyboard shortcut ever

The Microsoft page that lists Windows keyboard shortcuts lists this shortcut for people who have a Microsoft Natural keyboard and have IntelliType installed:

Windows Logo+S: Toggles CAPS LOCK on and off

So what are they saying here, that the Caps Lock key on their keyboards will break easily? :-)

Wednesday, March 28, 2007 1:52 PM by luweewu

# Just one software?

is just one software for it?

Sunday, April 01, 2007 10:20 AM by Albert

# re: Mouseless Computing

When navigating a web page in Internet Explorer, the PageUp, PageDown, Home and End keys do different things depending on what control you are on e.g. if on a dropdown list, the PageDown key makes the list expand. Some controls don't do anything in response to such keys - novice users are confused by this to say the least, possibly thinking that their computer has frozen! This is annoying if I really wanted to Page Down to see that rest of the page.  To get around this I just mouseclick on any unoccupied area of the web page and then PageDown does what I expect.  Is there a key combination I could use, rather than grabbing the mouse?

Sunday, April 22, 2007 7:18 AM by Michael

# Weaning Yourself From The Mouse » RSI-Relief Blog

Pingback from  Weaning Yourself From The Mouse » RSI-Relief Blog

Monday, May 28, 2007 12:52 PM by Weaning Yourself From The Mouse » RSI-Relief Blog

# re: Mouseless Computing

Yes, whatever it takes to preserve the bodies capacity to do work is well worth the effort. We were simply not designed to do the things we ask our body to do. Everyone is different. And, it's up to the individual to learn what they can handle and take appropriate action to increase internal resistance and reduce external stresses.

Monday, May 28, 2007 1:52 PM by Dr. Eben C. Davis, D.C.

# YOD'M 3D - Multiple Desktops for Windows

One of the coolest things I saw at MIX07 was on a Linux computer. Miguel was showing us something on

Friday, June 01, 2007 1:42 AM by Jon Galloway

# Windows Vista: A prisoner in my own computer « Spontaneous Publicity

Pingback from  Windows Vista: A prisoner in my own computer « Spontaneous Publicity

# Friggeri.net : Archive : Firefox au clavier

Pingback from  Friggeri.net  : Archive   : Firefox au clavier

Sunday, July 15, 2007 10:48 AM by Friggeri.net : Archive : Firefox au clavier

# Cyborg Cyborg » Blog Archive » Projects

Pingback from  Cyborg Cyborg  » Blog Archive   » Projects

Saturday, August 04, 2007 12:30 PM by Cyborg Cyborg » Blog Archive » Projects

# re: Mouseless Computing

You might be interested in my program, Type to Click, which allows the user to click anywhere on the screen using an overlay of alphabetical characters.  Summon the overlay with a shortcut key, align with the cursor keys if necessary and then type three consecutive letters on the overlay to produce a click in the centre of the middle one.  Download it here: teleskiving.wordpress.com/type-to-click

Monday, November 12, 2007 7:03 PM by teleskiving

# re: Mouseless Computing

I’ve used your keyboard shortcuts since the first time I saw your post.  I tell you, they’ve made my work a bit faster and with less idle moments.  I’ve never been so busy yet fulfilled at the end of the day.

Sunday, November 25, 2007 11:49 PM by portrait artist

# re: Mouseless Computing

I would like to add Autohotkey and NumpadMouse Script comes with it, find it in Script showcase off from help file.

It is the best replacement for MouseKeys that comes with windows

- San

Tuesday, January 29, 2008 5:26 AM by Santhosh R.

# re: Mouseless Computing

SlickRun

Firefox + vimperator

and gvim as notepad-replacement.

Saturday, April 19, 2008 8:53 AM by sotto

# Weaning Yourself From The Mouse - RSI-Relief

Pingback from  Weaning Yourself From The Mouse - RSI-Relief

Wednesday, May 07, 2008 8:05 PM by Weaning Yourself From The Mouse - RSI-Relief

# how to sell a home fast

Consumer tip for getting the most out of your contractor: Study the plans and cut longitudinal and transverse sections out of the design to arrive at the most pared down version of your plan. Since so much of the cost of construction is calculated by

Tuesday, May 13, 2008 7:55 PM by how to sell a home fast

Leave a Comment

(required) 
(required) 
(optional)
(required)