Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] Run keypress from command line
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References