Spotify keyboard controls not working












0














I am on Ubuntu 16.04, I cannot play, pause, go to the next or the previous song in spotify. There are many answers but most are complicated, is there a simple solution that doesn't require a command line?



I have a Logitech bluetooth keyboard.










share|improve this question



























    0














    I am on Ubuntu 16.04, I cannot play, pause, go to the next or the previous song in spotify. There are many answers but most are complicated, is there a simple solution that doesn't require a command line?



    I have a Logitech bluetooth keyboard.










    share|improve this question

























      0












      0








      0







      I am on Ubuntu 16.04, I cannot play, pause, go to the next or the previous song in spotify. There are many answers but most are complicated, is there a simple solution that doesn't require a command line?



      I have a Logitech bluetooth keyboard.










      share|improve this question













      I am on Ubuntu 16.04, I cannot play, pause, go to the next or the previous song in spotify. There are many answers but most are complicated, is there a simple solution that doesn't require a command line?



      I have a Logitech bluetooth keyboard.







      keyboard shortcut-keys shortcuts spotify key-binding






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 29 '18 at 13:45









      Lynob

      2,533125192




      2,533125192






















          1 Answer
          1






          active

          oldest

          votes


















          1














          There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. The solution is pretty simple and works on any Linux distribution.




          1. Download this file, extract it and make it executable chmod a+x spotify_control

          2. Place it anywhere you want, I'll assume that it is placed in Downloads folder

          3. Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts


          enter image description here




          1. Add new shortcut by clicking the plus button, I'll override the default play/pause/next and previous keys because I only listen to music on spotify, If you need those shortcuts then assign different ones for Spotify


          enter image description here



          The command you see in the picture above is for 'play/pause' function



          /home/your_username/Downloads/spotify_control playpause



          The commands that are available




          1. /home/your_username/Downloads/spotify_control playpause

          2. /home/your_username/Downloads/spotify_control previous

          3. /home/your_username/Downloads/spotify_control next

          4. /home/your_username/Downloads/spotify_control play

          5. /home/your_username/Downloads/spotify_control stop


          Please note that you have to do this



          /home/your_username/Downloads/spotify_control playpause



          Because



          ~/Downloads/spotify_control playpause



          That won't work, at least not in Ubuntu 16.04, unity desktop, the shortcut manager doesn't seem to understand the tilde ~






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1105363%2fspotify-keyboard-controls-not-working%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. The solution is pretty simple and works on any Linux distribution.




            1. Download this file, extract it and make it executable chmod a+x spotify_control

            2. Place it anywhere you want, I'll assume that it is placed in Downloads folder

            3. Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts


            enter image description here




            1. Add new shortcut by clicking the plus button, I'll override the default play/pause/next and previous keys because I only listen to music on spotify, If you need those shortcuts then assign different ones for Spotify


            enter image description here



            The command you see in the picture above is for 'play/pause' function



            /home/your_username/Downloads/spotify_control playpause



            The commands that are available




            1. /home/your_username/Downloads/spotify_control playpause

            2. /home/your_username/Downloads/spotify_control previous

            3. /home/your_username/Downloads/spotify_control next

            4. /home/your_username/Downloads/spotify_control play

            5. /home/your_username/Downloads/spotify_control stop


            Please note that you have to do this



            /home/your_username/Downloads/spotify_control playpause



            Because



            ~/Downloads/spotify_control playpause



            That won't work, at least not in Ubuntu 16.04, unity desktop, the shortcut manager doesn't seem to understand the tilde ~






            share|improve this answer




























              1














              There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. The solution is pretty simple and works on any Linux distribution.




              1. Download this file, extract it and make it executable chmod a+x spotify_control

              2. Place it anywhere you want, I'll assume that it is placed in Downloads folder

              3. Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts


              enter image description here




              1. Add new shortcut by clicking the plus button, I'll override the default play/pause/next and previous keys because I only listen to music on spotify, If you need those shortcuts then assign different ones for Spotify


              enter image description here



              The command you see in the picture above is for 'play/pause' function



              /home/your_username/Downloads/spotify_control playpause



              The commands that are available




              1. /home/your_username/Downloads/spotify_control playpause

              2. /home/your_username/Downloads/spotify_control previous

              3. /home/your_username/Downloads/spotify_control next

              4. /home/your_username/Downloads/spotify_control play

              5. /home/your_username/Downloads/spotify_control stop


              Please note that you have to do this



              /home/your_username/Downloads/spotify_control playpause



              Because



              ~/Downloads/spotify_control playpause



              That won't work, at least not in Ubuntu 16.04, unity desktop, the shortcut manager doesn't seem to understand the tilde ~






              share|improve this answer


























                1












                1








                1






                There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. The solution is pretty simple and works on any Linux distribution.




                1. Download this file, extract it and make it executable chmod a+x spotify_control

                2. Place it anywhere you want, I'll assume that it is placed in Downloads folder

                3. Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts


                enter image description here




                1. Add new shortcut by clicking the plus button, I'll override the default play/pause/next and previous keys because I only listen to music on spotify, If you need those shortcuts then assign different ones for Spotify


                enter image description here



                The command you see in the picture above is for 'play/pause' function



                /home/your_username/Downloads/spotify_control playpause



                The commands that are available




                1. /home/your_username/Downloads/spotify_control playpause

                2. /home/your_username/Downloads/spotify_control previous

                3. /home/your_username/Downloads/spotify_control next

                4. /home/your_username/Downloads/spotify_control play

                5. /home/your_username/Downloads/spotify_control stop


                Please note that you have to do this



                /home/your_username/Downloads/spotify_control playpause



                Because



                ~/Downloads/spotify_control playpause



                That won't work, at least not in Ubuntu 16.04, unity desktop, the shortcut manager doesn't seem to understand the tilde ~






                share|improve this answer














                There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. The solution is pretty simple and works on any Linux distribution.




                1. Download this file, extract it and make it executable chmod a+x spotify_control

                2. Place it anywhere you want, I'll assume that it is placed in Downloads folder

                3. Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts


                enter image description here




                1. Add new shortcut by clicking the plus button, I'll override the default play/pause/next and previous keys because I only listen to music on spotify, If you need those shortcuts then assign different ones for Spotify


                enter image description here



                The command you see in the picture above is for 'play/pause' function



                /home/your_username/Downloads/spotify_control playpause



                The commands that are available




                1. /home/your_username/Downloads/spotify_control playpause

                2. /home/your_username/Downloads/spotify_control previous

                3. /home/your_username/Downloads/spotify_control next

                4. /home/your_username/Downloads/spotify_control play

                5. /home/your_username/Downloads/spotify_control stop


                Please note that you have to do this



                /home/your_username/Downloads/spotify_control playpause



                Because



                ~/Downloads/spotify_control playpause



                That won't work, at least not in Ubuntu 16.04, unity desktop, the shortcut manager doesn't seem to understand the tilde ~







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited yesterday

























                answered Dec 29 '18 at 13:45









                Lynob

                2,533125192




                2,533125192






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f1105363%2fspotify-keyboard-controls-not-working%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 did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局