Try this script: quicked. I was inspired to have a bash at it, after having tried It's all Text!.. (Hey, I'm Australian; the "bash" pun was unavoidable :)
It isn't as slick as It's all Text! which is limited to use within Firefox, but it works for (almost) ALL text in (almost) ALL windows ...I'm using Ubuntu 10.04
It should(?) work in other X11 / Gnome environments, but it may not(?).
By default it is set to use gedit
, and you can choose gvim
if you prefer...
...just change the value of EDITOR=
Be sure to read all the comments..
It should do the trick until something better comes along...
PS: You must pre-select some text, but there is no need to copy it to the Clipboard.
Just select the text and then press whatever shortcut key you've chosen for quicked
PPS:
In the script's comments I forgot to mention: xwininfo
is in the x11-utils
suite.
...so, to install all the dependencies on Ubuntu/Debianm use the following command
- sudo apt-get install wmctrl xclip xdotool x11-utils zenity