How can I add a keyboard shortcut from the command-line or by editing a file?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
On Linux Mint, I would like to bind a shortcut key to run a command*.
I can achieve this using the GUI, but I need a way to add this keyboard shortcut from the command-line, without GUI interaction**.
Further explanation:
* The command it will run is shutter -s
. It lets me take a screenshot of an area of the screen, but that isn't relevant to the scope of this question.
** I run Mint on many machines/VMs, and need to be able to provision new ones quickly. To achieve this, I've scripted the installation of everything I need to do dev work.
command-line linux-mint keyboard-shortcuts
add a comment |Â
up vote
1
down vote
favorite
On Linux Mint, I would like to bind a shortcut key to run a command*.
I can achieve this using the GUI, but I need a way to add this keyboard shortcut from the command-line, without GUI interaction**.
Further explanation:
* The command it will run is shutter -s
. It lets me take a screenshot of an area of the screen, but that isn't relevant to the scope of this question.
** I run Mint on many machines/VMs, and need to be able to provision new ones quickly. To achieve this, I've scripted the installation of everything I need to do dev work.
command-line linux-mint keyboard-shortcuts
1
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash'sbind
command under Builtin commands, particularly the-x
option
â glenn jackman
8 hours ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
On Linux Mint, I would like to bind a shortcut key to run a command*.
I can achieve this using the GUI, but I need a way to add this keyboard shortcut from the command-line, without GUI interaction**.
Further explanation:
* The command it will run is shutter -s
. It lets me take a screenshot of an area of the screen, but that isn't relevant to the scope of this question.
** I run Mint on many machines/VMs, and need to be able to provision new ones quickly. To achieve this, I've scripted the installation of everything I need to do dev work.
command-line linux-mint keyboard-shortcuts
On Linux Mint, I would like to bind a shortcut key to run a command*.
I can achieve this using the GUI, but I need a way to add this keyboard shortcut from the command-line, without GUI interaction**.
Further explanation:
* The command it will run is shutter -s
. It lets me take a screenshot of an area of the screen, but that isn't relevant to the scope of this question.
** I run Mint on many machines/VMs, and need to be able to provision new ones quickly. To achieve this, I've scripted the installation of everything I need to do dev work.
command-line linux-mint keyboard-shortcuts
command-line linux-mint keyboard-shortcuts
asked 8 hours ago
Eric Seastrand
1084
1084
1
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash'sbind
command under Builtin commands, particularly the-x
option
â glenn jackman
8 hours ago
add a comment |Â
1
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash'sbind
command under Builtin commands, particularly the-x
option
â glenn jackman
8 hours ago
1
1
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash's
bind
command under Builtin commands, particularly the -x
optionâ glenn jackman
8 hours ago
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash's
bind
command under Builtin commands, particularly the -x
optionâ glenn jackman
8 hours ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474315%2fhow-can-i-add-a-keyboard-shortcut-from-the-command-line-or-by-editing-a-file%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
I assume your shell is bash: do you use vi-mode or emacs-mode? You'll want to read about bash's
bind
command under Builtin commands, particularly the-x
optionâ glenn jackman
8 hours ago