LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2019, 08:08 AM   #1
jamesd1
LQ Newbie
 
Registered: May 2019
Posts: 24

Rep: Reputation: Disabled
Execute a terminal command using Autokey?


Can I execute a terminal command using Autokey?

How?
 
Old 05-24-2019, 09:30 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If this is related to your other thread concerning the microphone toggle (https://www.linuxquestions.org/quest...ey-4175654480/), I replied to that with instructions on how to connect the command to a key sequence.

As an aside, you appear to have created quite a number of threads on related topics. I would recommend that you try and keep all related topics on the same thread in future and only open a new one if a particular question has remained unanswered on your "mega-thread".
 
Old 05-24-2019, 09:38 AM   #3
jamesd1
LQ Newbie
 
Registered: May 2019
Posts: 24

Original Poster
Rep: Reputation: Disabled
Yes, it's related. I did assign it to a keystroke just now so don't need to use Autokey, but I would like to know if and how to issue a Terminal Command in Autokey?

And this relates to my question here: https://www.linuxquestions.org/quest...29#post5998429
 
Old 05-24-2019, 10:04 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jamesd1 View Post
Yes, it's related. I did assign it to a keystroke just now so don't need to use Autokey, but I would like to know if and how to issue a Terminal Command in Autokey?

And this relates to my question here: https://www.linuxquestions.org/quest...29#post5998429
I've just replied to the latter question too.
 
Old 05-24-2019, 10:24 AM   #5
WideOpenSkies
Member
 
Registered: May 2019
Location: /home/
Distribution: Arch Linux
Posts: 166

Rep: Reputation: 61
Quote:
Originally Posted by jamesd1 View Post
Can I execute a terminal command using Autokey?

How?
You could try Simple X Hot Key Daemon (sxhkd) to run terminal commands with keyboard shortcuts.

For example, on my machine, I have MOD+Enter to open my terminal.
 
Old 05-25-2019, 03:42 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
your Desktop Environment most probably already provides hotkey functionality.
bind a key of your choice to a quick script that does what you want.
no need to use (bloated, windows-like) autokey at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I toggle the microphone with a command or with Autokey jamesd1 Linux - Desktop 9 05-24-2019 09:08 AM
LXer: Using Autokey Scripts to Automate Your Linux Desktop LXer Syndicated Linux News 0 05-12-2013 01:11 PM
LXer: Autokey: Make Your Own Keyboard Shortcuts In Linux LXer Syndicated Linux News 0 09-30-2010 02:30 AM
Autokey and current64 charlie_lab Slackware 4 03-20-2010 03:56 PM
LXer: Avoid Typing with Autokey LXer Syndicated Linux News 0 03-27-2009 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration