GNOME 3 two keyboard shortcuts for the same action
Clash Royale CLAN TAG#URR8PPP
I would like to have two keyboard shortcuts associated to the same action. Is it possible to use a list of shortcuts for that?
I get a single value/shortcut if I execute:
$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-down
but, could that be a list? (a pair of shortcuts). I have tried, without success:
$ gsettings set org.gnome.settings-daemon.plugins.media-keys volume-down
"['shortcut_0', 'shortcut_1']"
Executing that command does not throw an error, however, none of the elements in the list end-up working.
Note that I am trying to avoid creating a new "custom shortcut", in which I could specify a command which does the thing that I want (i.e.: lower the volume down), but with a different shortcut. I would like to keep all shortcuts associated to the "official" gsettings
.
Using: GNOME 3.20. Although I wouldn't mind an answer if it works in a more recent GNOME version.
gnome keyboard-shortcuts gnome3
add a comment |
I would like to have two keyboard shortcuts associated to the same action. Is it possible to use a list of shortcuts for that?
I get a single value/shortcut if I execute:
$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-down
but, could that be a list? (a pair of shortcuts). I have tried, without success:
$ gsettings set org.gnome.settings-daemon.plugins.media-keys volume-down
"['shortcut_0', 'shortcut_1']"
Executing that command does not throw an error, however, none of the elements in the list end-up working.
Note that I am trying to avoid creating a new "custom shortcut", in which I could specify a command which does the thing that I want (i.e.: lower the volume down), but with a different shortcut. I would like to keep all shortcuts associated to the "official" gsettings
.
Using: GNOME 3.20. Although I wouldn't mind an answer if it works in a more recent GNOME version.
gnome keyboard-shortcuts gnome3
1
No, if you usedconf
to alter that key value you'll see it's of typestring
(not an array of strings) which means that particular key accepts only a single value.
– don_crissti
Dec 2 '16 at 1:37
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to thedconf
database (hencegsettings
...)
– don_crissti
Dec 2 '16 at 1:47
@don_crissti how do you see the type ofdconf
key?
– anatoly techtonik
Dec 25 '18 at 6:36
1
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40
add a comment |
I would like to have two keyboard shortcuts associated to the same action. Is it possible to use a list of shortcuts for that?
I get a single value/shortcut if I execute:
$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-down
but, could that be a list? (a pair of shortcuts). I have tried, without success:
$ gsettings set org.gnome.settings-daemon.plugins.media-keys volume-down
"['shortcut_0', 'shortcut_1']"
Executing that command does not throw an error, however, none of the elements in the list end-up working.
Note that I am trying to avoid creating a new "custom shortcut", in which I could specify a command which does the thing that I want (i.e.: lower the volume down), but with a different shortcut. I would like to keep all shortcuts associated to the "official" gsettings
.
Using: GNOME 3.20. Although I wouldn't mind an answer if it works in a more recent GNOME version.
gnome keyboard-shortcuts gnome3
I would like to have two keyboard shortcuts associated to the same action. Is it possible to use a list of shortcuts for that?
I get a single value/shortcut if I execute:
$ gsettings get org.gnome.settings-daemon.plugins.media-keys volume-down
but, could that be a list? (a pair of shortcuts). I have tried, without success:
$ gsettings set org.gnome.settings-daemon.plugins.media-keys volume-down
"['shortcut_0', 'shortcut_1']"
Executing that command does not throw an error, however, none of the elements in the list end-up working.
Note that I am trying to avoid creating a new "custom shortcut", in which I could specify a command which does the thing that I want (i.e.: lower the volume down), but with a different shortcut. I would like to keep all shortcuts associated to the "official" gsettings
.
Using: GNOME 3.20. Although I wouldn't mind an answer if it works in a more recent GNOME version.
gnome keyboard-shortcuts gnome3
gnome keyboard-shortcuts gnome3
edited Dec 25 '18 at 11:56
anatoly techtonik
900825
900825
asked Dec 2 '16 at 1:26
Peque
1,19821527
1,19821527
1
No, if you usedconf
to alter that key value you'll see it's of typestring
(not an array of strings) which means that particular key accepts only a single value.
– don_crissti
Dec 2 '16 at 1:37
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to thedconf
database (hencegsettings
...)
– don_crissti
Dec 2 '16 at 1:47
@don_crissti how do you see the type ofdconf
key?
– anatoly techtonik
Dec 25 '18 at 6:36
1
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40
add a comment |
1
No, if you usedconf
to alter that key value you'll see it's of typestring
(not an array of strings) which means that particular key accepts only a single value.
– don_crissti
Dec 2 '16 at 1:37
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to thedconf
database (hencegsettings
...)
– don_crissti
Dec 2 '16 at 1:47
@don_crissti how do you see the type ofdconf
key?
– anatoly techtonik
Dec 25 '18 at 6:36
1
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40
1
1
No, if you use
dconf
to alter that key value you'll see it's of type string
(not an array of strings) which means that particular key accepts only a single value.– don_crissti
Dec 2 '16 at 1:37
No, if you use
dconf
to alter that key value you'll see it's of type string
(not an array of strings) which means that particular key accepts only a single value.– don_crissti
Dec 2 '16 at 1:37
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to the
dconf
database (hence gsettings
...)– don_crissti
Dec 2 '16 at 1:47
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to the
dconf
database (hence gsettings
...)– don_crissti
Dec 2 '16 at 1:47
@don_crissti how do you see the type of
dconf
key?– anatoly techtonik
Dec 25 '18 at 6:36
@don_crissti how do you see the type of
dconf
key?– anatoly techtonik
Dec 25 '18 at 6:36
1
1
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f327470%2fgnome-3-two-keyboard-shortcuts-for-the-same-action%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f327470%2fgnome-3-two-keyboard-shortcuts-for-the-same-action%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
No, if you use
dconf
to alter that key value you'll see it's of typestring
(not an array of strings) which means that particular key accepts only a single value.– don_crissti
Dec 2 '16 at 1:37
@don_crissti Sad to hear that... :-( Thanks. Consider adding your answer here. Hope one they they will change that!
– Peque
Dec 2 '16 at 1:42
I don't think they will ever change that since the vast majority of people out there only need one shortcut. Also, keep in mind that custom shortcuts that you add via settings interface are also added to the
dconf
database (hencegsettings
...)– don_crissti
Dec 2 '16 at 1:47
@don_crissti how do you see the type of
dconf
key?– anatoly techtonik
Dec 25 '18 at 6:36
1
@anatolytechtonik - that's a separate question now, if no one else answers it in 48 hours I'll do it.
– don_crissti
Dec 25 '18 at 16:40