PDA

View Full Version : [ubuntu] Simulate keypress with a script?



Fzang
May 31st, 2009, 11:06 PM
Is it possible to do a script that will do the same as if I pressed a key, say F4?

expelledboy
June 1st, 2009, 09:52 PM
There is a library called python-virtkey that looks like what you would need to get this done that is installed by default in jaunty..

Just requires you know python.. ;)

zhocchao
June 1st, 2009, 09:55 PM
xte can be used for that. I think its installed by default.

MurkMenthaa
June 2nd, 2009, 12:48 AM
xsendkeys