Fedora Linux Support Community & Resources Center
Old 15th January 2012, 09:51 AM
dth4h Offline
Registered User
Join Date: Mar 2009
Posts: 182
How to have keyboard shortcut send action to my script?

I made a bash script that uses xdotool to do a task for me.
Anyway, I want to know how to make it so I can hit a key combination lets say, Ctrl+Alt+E, and have it stop my script.
The reason I need this is because xdotool uses my mouse to do the task for me, so I cannot move my mouse to click on the terminal window to enter Ctrl+C to kill the script.

However it would be preferable to not kill the script and instead have the keyboard shortcut make my script stop its current task (which is clicking on the screen) and bring up a prompt asking me what to do next.
Reply With Quote

action, keyboard, keyboard shortcuts, script, script. bash, send, shortcut, xdotool

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] keyboard shortcut script in terminal captainralf Using Fedora 2 7th April 2011 03:38 PM
where did my keyboard shortcut go? nick.stumpos Using Fedora 11 20th November 2006 11:21 PM

Current GMT-time: 02:46 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat