GNOME 3 two keyboard shortcuts for the same action

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












2














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.










share|improve this question



















  • 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










  • @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










  • @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















2














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.










share|improve this question



















  • 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










  • @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










  • @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













2












2








2







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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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










  • 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






  • 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




    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










  • 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






  • 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay