keynav shell command examples
Posted Sat, 14 Jun 2008
- Press 'f' when keynav is active and instantly jump to my firefox window.
-
# in .keynavrc f sh "activate-firefox.sh", end
Now, in activate-firefox.sh:#!/bin/sh # activate-firefox.sh xdotool windowactivate $(xdotool search -title -- '- Mozilla Firefox')
- Extend that and press 'g' to jump to gmail, assuming that tab is open. (Requires my firefox tabsearch plugin)
-
# in .keynavrc g sh "activate-gmail.sh"
Now, in activate-gmail.sh:#!/bin/sh # activate-gmail.sh ./activate-firefox.sh xdotool key ctrl+apostrophe xdotool type gmail xdotool key Return