[opensuse] Run keypress from command line
Further in my quest for a working keyboard I want to make my 'close Program' key work correctly. Now I 'could' just go to the keyboard settings find close program and assign it. But then Alt + F4 stops working. So, I could run a custom command on the close program button. So my question is how can I emulate Alt + F4 keypress from a command line? Is it possible? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday, 27 June 2017 14:50:30 CEST Paul Groves wrote:
Further in my quest for a working keyboard I want to make my 'close Program' key work correctly.
Now I 'could' just go to the keyboard settings find close program and assign it. But then Alt + F4 stops working.
So, I could run a custom command on the close program button. So my question is how can I emulate Alt + F4 keypress from a command line? Is it possible?
Use "xdotool". That should do the job. See http://www.semicomplete.com/ projects/xdotool -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 27/06/17 14:53, Oliver Kurz wrote:
On Tuesday, 27 June 2017 14:50:30 CEST Paul Groves wrote:
Further in my quest for a working keyboard I want to make my 'close Program' key work correctly.
Now I 'could' just go to the keyboard settings find close program and assign it. But then Alt + F4 stops working.
So, I could run a custom command on the close program button. So my question is how can I emulate Alt + F4 keypress from a command line? Is it possible?
Use "xdotool". That should do the job. See http://www.semicomplete.com/ projects/xdotool
Perfect xdotool key Alt+F4 does the job thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Oliver Kurz
-
Paul Groves