Re: [dev] dmenu / enso

From: Donald Chai <donald.chai_AT_gmail.com>
Date: Mon, 22 Jun 2009 02:16:09 -0700

On Jun 22, 2009, at 1:54 AM, Kevin Nagel wrote:

> Regarding the replacing part, i dont know much about where info is
> place in the clipboard, but understand that xclip/xsel can access
> it, and once retrieved i can do whatever i want (e.g. pipe + use
> stdoutput as result). Is is not possible to replace it back by
> simulating the 'ctrl+v' keystrokes? (does not work for all apps, but
> a ruleset can specify ctrl+y for emacs and another ctrl+v for gedit
> etc).

I just tried running xdotool from dmenu, and it seems to do the trick,
so I recant my earlier remark.

You don't need to simulate the paste keystroke, you can just run
"xdotool type sometext".
Received on Mon Jun 22 2009 - 09:16:09 UTC

This archive was generated by hypermail 2.2.0 : Mon Jun 22 2009 - 09:24:01 UTC