new xdotool version available (20090612)
Posted Sat, 13 Jun 2009
20090612: * Fixed bug where shift modifier was not reset when 'xdotool type' used. http://code.google.com/p/semicomplete/issues/detail?id=5
20090612: * Fixed bug where shift modifier was not reset when 'xdotool type' used. http://code.google.com/p/semicomplete/issues/detail?id=5
20090609: * Add '--delay' to xdotool type. Sets the delay between keys. * Add '--window ' to xdotool type, key, keyup, and keydown. This feature (key events with --window ) only works if the application does not reject X events that have 'send_event' set to true. Special notes: * Firefox appears to ignore all input when it does not have focus. * xterm ignores sendevent by default, ctrl+leftclick menu will let you enable it. * gnome-terminal appears to accept send_event input by default
20090126:
* Change the default behavior of 'getwindowfocus' to get the first
ancestor-or-self window that has WM_CLASS set. WM_CLASS will be set on
(all?) top-level windows and it's possible that the currently focused window
according to X is not a top-level window. To use the previous behavior, use
'getwindowfocus -f'
* Make 'xdotool key at' work correctly. 'at' is usually Shift+2, for example.
Now all shifted characters should work, but I've only tested on a US
keyboard.
* Minor Makefile fixes for package maintainers.
I've tested it in GNOME and Ion-3 with success.
Download: xdotool-20090126.tar.gz
The requirements are listed in the INSTALL file. There are piles of differences between the new C version and the old perl version, including a different config file syntax to let you more easily batch common input sets through the same set of matches. I'll publish a complete feature list when I get around to it, which isn't right now.
The tarball comes with a sample grok.conf that shows you a a few different things you can do with the new version.
To run it, once you've built it, you must have a 'grok.conf' in the same directory from which you are running the 'grok' binary.
Please send any questions you have to grok-users@googlegroups.com.
Download: grok-beta-20081228.tar.gz
20080614.01:
- Several bug fixes and feature additions suggested by Yuri D'Elia.
- Sync xdotool library to 20080606
- Added default key binding Ctrl+[ as 'end' (requested by Luke Macken)
- New command: 'sh' - Executes shell commands.
Example keynavrc: ctrl+x sh "xterm -bg black -fg white"
- New command: 'history-back' - Undo a window change operation
Example keynavrc: a history-back
+ Such operations include: cut-*, grid, cell-select, move-*
+ The history size is currently hard-coded at 100 entries.
+ If you exceed 100 moves, the oldest entry will be removed.
+ Every time keynav is activated, the history is wiped.
- Fix: Any command starting with "start" is now bound globally.
- Fix: All rendering is delayed until after the end of the current command
sequence. This fixes (in order of annoyance, worst first):
1) Crash when a 'start' and 'end' exist in the same command sequence.
2) Visible 2x2 grid first, before a 3x3 grid when the start command is
'start, grid 3x3'
3) Rendering blinking a full white window on the screen before clipping to
the grid.
4) Visible blink when "cut-left,cut-up" and such are run simultaneously.
- Fix: If the 'start' command is invoked again while keynav is active, then
the default arrangement is set (full screen and 2x2 grid). Previously, the
'start' command was a no-op if keynav was active.
20080606: * Correctly report an error if xdotool is invoked with an invalid command. * Fix invalid error code reporting from 'windowraise'
20080603:
* Daniel Kahn Gillmor reported a problem with return codes from xdotool. All
commands return proper exit status now (0 == success, nonzero == error)
* I tested on 3 window managers: Gnome2 2.20.0, OpenBox 3.4, ion-3rc-20070608
- Gnome2 and OpenBox pass all tests.
- ion-3 fails on any desktop-related methods (ion-3 lacks the support).
20080601:
* Add new commands:
- windowactivate: Activate a window. If the window is on another desktop, we
will switch to that desktop and then activate the window.
- set_num_desktops number: Changes the number of desktops or workspaces.
- get_num_desktops: Output the current number of desktops.
- set_desktop desktop_number: Change the current view to the specified
desktop.
- get_desktop: Output the current desktop in view.
- set_desktop_for_window window_id desktop_number: Move a window to a
different desktop.
- get_desktop_for_window window_id: Output the desktop currently containing
the given window.
windowactivate tested and confirmed working in: ion-3 and Gnome2 (metacity)
The rest of the new commands have only been tested in Gnome2. They do not
work in ion-3 due to lacking support for EWMH in ion.
* Rewrote the man page in perlpod format.
Hop on over to the keynav project page and download the new version.
The changelist from the previous announced release is as follows:
Feature request: Grid support.
* New command: 'grid NxM' N and M are row and columns, respectively.
You can divide the screen into any number of rows and columns.
The default is 2x2.
* New command: 'cell-select N' or 'cell-select NxM'
With this command you can select a specific cell to zoom to.
Usage: cell-select N
Selects the Nth cell, counting from top left to bottom right.
The order of a 3x3 grid would be:
1 2 3
4 5 6
7 8 9
Usage: cell-select NxM
Selects the specific cell at NxM. '2x2' will select row 2 column 2.
Other important changes:
- Whitespace before command names works now.
- Added a pile of new examples in keynavrc.