Volume keys are working in unity but not in xfce4











up vote
20
down vote

favorite
5












My volume keys are not working in xfce. When I used them it shows an indication on the screen that the volume is being changed, but the volume is not changing at all (same thing with the mute key).



The weird thing is that when I go from xfce to ubuntu the keys are now working fine.



I don't know if this matters but I have a sound card in my computer.



How can I make the volume keys work in xfce?










share|improve this question
























  • Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
    – Christian Skjødt
    May 15 '12 at 17:56















up vote
20
down vote

favorite
5












My volume keys are not working in xfce. When I used them it shows an indication on the screen that the volume is being changed, but the volume is not changing at all (same thing with the mute key).



The weird thing is that when I go from xfce to ubuntu the keys are now working fine.



I don't know if this matters but I have a sound card in my computer.



How can I make the volume keys work in xfce?










share|improve this question
























  • Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
    – Christian Skjødt
    May 15 '12 at 17:56













up vote
20
down vote

favorite
5









up vote
20
down vote

favorite
5






5





My volume keys are not working in xfce. When I used them it shows an indication on the screen that the volume is being changed, but the volume is not changing at all (same thing with the mute key).



The weird thing is that when I go from xfce to ubuntu the keys are now working fine.



I don't know if this matters but I have a sound card in my computer.



How can I make the volume keys work in xfce?










share|improve this question















My volume keys are not working in xfce. When I used them it shows an indication on the screen that the volume is being changed, but the volume is not changing at all (same thing with the mute key).



The weird thing is that when I go from xfce to ubuntu the keys are now working fine.



I don't know if this matters but I have a sound card in my computer.



How can I make the volume keys work in xfce?







shortcut-keys xubuntu xfce volume-control






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 7 '12 at 22:38









pl1nk

4,28852143




4,28852143










asked May 15 '12 at 16:26









skeept

203125




203125












  • Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
    – Christian Skjødt
    May 15 '12 at 17:56


















  • Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
    – Christian Skjødt
    May 15 '12 at 17:56
















Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
– Christian Skjødt
May 15 '12 at 17:56




Do you have other sound devices activated such as HDMI? Perhaps the volume keys are configured to these devices rather than your primary speaker. Try go to the volume control (or type pavucontrol in terminal) and look under configuration for other devices. Turn any other devices off than your built-in audio and log out to see the changes.
– Christian Skjødt
May 15 '12 at 17:56










9 Answers
9






active

oldest

votes

















up vote
14
down vote



accepted










This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on screen notifications. It's really tricky to get it all working, so I opened a bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-mixer/+bug/1085752



In detail, in xfce4-mixer you want it to look something like this:



xfce4-mixer



This should show only the primary volume control of your sound card. You have to choose a sound card at the top and then click "Select Controls..." to add controls.
Then in the xfce4-settings-editor you need to set the "active-card" like this:



xfce4-settings-editor



Under "sound-cards" you'll see a list of every sound card for which you added mixers. You will probably have multiple cards so it might take some trial and error here to find the right one. You need to copy the name of the correct card from "sound-cards" to "active-card" - this will be the mixer which the volume buttons control.






share|improve this answer























  • I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
    – corvec
    Apr 2 '13 at 14:44






  • 2




    For some reason "active-card" is not listed under "Property" for me.
    – user87317
    Feb 14 '14 at 18:08










  • @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
    – logoff
    Mar 15 '14 at 15:29


















up vote
5
down vote













xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode:



kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon &


This runs the process using nohup, so the terminal in which you run this command can be closed without killing the process.






share|improve this answer

















  • 2




    Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
    – Ponkadoodle
    Nov 17 '14 at 8:20












  • Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
    – nmz787
    Jan 6 '15 at 3:28


















up vote
4
down vote













Those volume keys are gnome based... Or unity based or whatever... You have to create a custom keyboard shortcuts in the keyboard settings gui to reduce, increase and mute volume...
For volume increase, the command is "amixer set master 5%+"
for volume decrease "amixer set master 5%-"
for mute "amixer set master toggle"






share|improve this answer





















  • This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
    – kolslorr
    Nov 6 '12 at 7:45


















up vote
1
down vote













I had the same problem in Xubuntu 12.04, though I don't know if it would have worked in Unity, since I only have Xfce4. In terminal, type:



$ xfconf-query -c xfce4-mixer -p /active-card -s xfconf-query -c xfce4-mixer -p /sound-card


Source: https://wiki.archlinux.org/index.php/Xfce#Xfce4-volumed






share|improve this answer























  • This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
    – Alistair Buxton
    Dec 3 '12 at 0:37


















up vote
1
down vote













If this is a temporary problem, like it was in my case, just do it in command line:



killall xfce4-volumed && xfce4-volumed






share|improve this answer




























    up vote
    0
    down vote













    I fixed the problem changing the "Active Card" parameter in the xfce4-settings-editor



    I have two sound card (one HDMI and the other a normal one) and the selected card was different from the normal card that I was using.






    share|improve this answer






























      up vote
      0
      down vote













      I had this very odd problem as well, I could adjust the volume slider in the menu and it would do nothing. Also, if I tried adjusting it with my keyboard, the slider would move but nothing would change with the actual volume.



      I fixed it by going to PulseAudio Volumne Control. In the Output Devices panel, you can see all of your sound card options. From there, I made sure the port was set to Analog Output. In your case it might be HDMI or headphones depending on where you want your sound to go. Then select the 'set as fallback option'. It looks like a green check mark.



      I didn't have to install xfce4-mixer to get this to work.






      share|improve this answer




























        up vote
        0
        down vote













        In Settings > Settings Manager > Keyboard > Applications Shortcut:




        • add amixer set Master 3+ to increase volume

        • add amixer set Master 3- to decrease volume

        • add amixer -D pulse set Master Playback Switch toggle to mute/unmute sound






        share|improve this answer




























          up vote
          0
          down vote













          I met similar problem, and managed to solved it.



          I realize in my Ubuntu Studio 18.10 XFCE4, the startup application included XFCE Volume Daemon, which when I disabled it, reboot, and installed xfce4-pulseaudio-plugin, it'll then works as intended.



          Hope it helps others out there.






          share|improve this answer








          New contributor




          Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            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',
            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%2f137421%2fvolume-keys-are-working-in-unity-but-not-in-xfce4%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            9 Answers
            9






            active

            oldest

            votes








            9 Answers
            9






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            14
            down vote



            accepted










            This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on screen notifications. It's really tricky to get it all working, so I opened a bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-mixer/+bug/1085752



            In detail, in xfce4-mixer you want it to look something like this:



            xfce4-mixer



            This should show only the primary volume control of your sound card. You have to choose a sound card at the top and then click "Select Controls..." to add controls.
            Then in the xfce4-settings-editor you need to set the "active-card" like this:



            xfce4-settings-editor



            Under "sound-cards" you'll see a list of every sound card for which you added mixers. You will probably have multiple cards so it might take some trial and error here to find the right one. You need to copy the name of the correct card from "sound-cards" to "active-card" - this will be the mixer which the volume buttons control.






            share|improve this answer























            • I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
              – corvec
              Apr 2 '13 at 14:44






            • 2




              For some reason "active-card" is not listed under "Property" for me.
              – user87317
              Feb 14 '14 at 18:08










            • @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
              – logoff
              Mar 15 '14 at 15:29















            up vote
            14
            down vote



            accepted










            This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on screen notifications. It's really tricky to get it all working, so I opened a bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-mixer/+bug/1085752



            In detail, in xfce4-mixer you want it to look something like this:



            xfce4-mixer



            This should show only the primary volume control of your sound card. You have to choose a sound card at the top and then click "Select Controls..." to add controls.
            Then in the xfce4-settings-editor you need to set the "active-card" like this:



            xfce4-settings-editor



            Under "sound-cards" you'll see a list of every sound card for which you added mixers. You will probably have multiple cards so it might take some trial and error here to find the right one. You need to copy the name of the correct card from "sound-cards" to "active-card" - this will be the mixer which the volume buttons control.






            share|improve this answer























            • I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
              – corvec
              Apr 2 '13 at 14:44






            • 2




              For some reason "active-card" is not listed under "Property" for me.
              – user87317
              Feb 14 '14 at 18:08










            • @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
              – logoff
              Mar 15 '14 at 15:29













            up vote
            14
            down vote



            accepted







            up vote
            14
            down vote



            accepted






            This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on screen notifications. It's really tricky to get it all working, so I opened a bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-mixer/+bug/1085752



            In detail, in xfce4-mixer you want it to look something like this:



            xfce4-mixer



            This should show only the primary volume control of your sound card. You have to choose a sound card at the top and then click "Select Controls..." to add controls.
            Then in the xfce4-settings-editor you need to set the "active-card" like this:



            xfce4-settings-editor



            Under "sound-cards" you'll see a list of every sound card for which you added mixers. You will probably have multiple cards so it might take some trial and error here to find the right one. You need to copy the name of the correct card from "sound-cards" to "active-card" - this will be the mixer which the volume buttons control.






            share|improve this answer














            This is still broken in 12.10. You can fix it by installing xfce4-mixer and then manually selecting the mixers to control with it - and then going into the xfce4 settings editor and typing in the name of the "active card". The mute button still won't work properly, you can mute but not unmute the sound with it. Everything else works though, including on screen notifications. It's really tricky to get it all working, so I opened a bug: https://bugs.launchpad.net/ubuntu/+source/xfce4-mixer/+bug/1085752



            In detail, in xfce4-mixer you want it to look something like this:



            xfce4-mixer



            This should show only the primary volume control of your sound card. You have to choose a sound card at the top and then click "Select Controls..." to add controls.
            Then in the xfce4-settings-editor you need to set the "active-card" like this:



            xfce4-settings-editor



            Under "sound-cards" you'll see a list of every sound card for which you added mixers. You will probably have multiple cards so it might take some trial and error here to find the right one. You need to copy the name of the correct card from "sound-cards" to "active-card" - this will be the mixer which the volume buttons control.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 3 '12 at 0:28

























            answered Dec 3 '12 at 0:20









            Alistair Buxton

            4,95132453




            4,95132453












            • I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
              – corvec
              Apr 2 '13 at 14:44






            • 2




              For some reason "active-card" is not listed under "Property" for me.
              – user87317
              Feb 14 '14 at 18:08










            • @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
              – logoff
              Mar 15 '14 at 15:29


















            • I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
              – corvec
              Apr 2 '13 at 14:44






            • 2




              For some reason "active-card" is not listed under "Property" for me.
              – user87317
              Feb 14 '14 at 18:08










            • @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
              – logoff
              Mar 15 '14 at 15:29
















            I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
            – corvec
            Apr 2 '13 at 14:44




            I managed to find a card that I could control with volume up, volume down, and mute - but not unmute. I had to instead use a different card for unmute to work; I was able to figure out which card to use by finding the one all of the controls worked in the xfce4-mixer app (and not having to go through the entire process of adding the card and testing my keyboard shortcuts every time).
            – corvec
            Apr 2 '13 at 14:44




            2




            2




            For some reason "active-card" is not listed under "Property" for me.
            – user87317
            Feb 14 '14 at 18:08




            For some reason "active-card" is not listed under "Property" for me.
            – user87317
            Feb 14 '14 at 18:08












            @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
            – logoff
            Mar 15 '14 at 15:29




            @user87317 I have the same problem, you need to copy it from 'sound-card' property value. it is a simple string.
            – logoff
            Mar 15 '14 at 15:29












            up vote
            5
            down vote













            xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode:



            kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon &


            This runs the process using nohup, so the terminal in which you run this command can be closed without killing the process.






            share|improve this answer

















            • 2




              Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
              – Ponkadoodle
              Nov 17 '14 at 8:20












            • Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
              – nmz787
              Jan 6 '15 at 3:28















            up vote
            5
            down vote













            xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode:



            kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon &


            This runs the process using nohup, so the terminal in which you run this command can be closed without killing the process.






            share|improve this answer

















            • 2




              Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
              – Ponkadoodle
              Nov 17 '14 at 8:20












            • Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
              – nmz787
              Jan 6 '15 at 3:28













            up vote
            5
            down vote










            up vote
            5
            down vote









            xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode:



            kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon &


            This runs the process using nohup, so the terminal in which you run this command can be closed without killing the process.






            share|improve this answer












            xfce4-volumed only works for me when it is not running in daemon mode. The volume keys work for me when I run this command to kill any existing volumed processes and start a new one that is not running in daemon mode:



            kill `pidof xfce4-volumed` ; mkdir -p /tmp/volumed && cd /tmp/volumed && nohup xfce4-volumed --no-daemon &


            This runs the process using nohup, so the terminal in which you run this command can be closed without killing the process.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 20 '14 at 21:52









            Stephen Ostermiller

            2,44012444




            2,44012444








            • 2




              Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
              – Ponkadoodle
              Nov 17 '14 at 8:20












            • Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
              – nmz787
              Jan 6 '15 at 3:28














            • 2




              Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
              – Ponkadoodle
              Nov 17 '14 at 8:20












            • Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
              – nmz787
              Jan 6 '15 at 3:28








            2




            2




            Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
            – Ponkadoodle
            Nov 17 '14 at 8:20






            Ah, well there's my problem! - either xfce4-volumed died, or it's not starting on login (it's been too long since I rebooted that I don't recall if I had the problem the last time I booted). Manually starting xfce4-volumed did the trick for me (works fine in daemon mode, too).
            – Ponkadoodle
            Nov 17 '14 at 8:20














            Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
            – nmz787
            Jan 6 '15 at 3:28




            Hey! Progress! so far I am just running xfce4-volumed --no-daemon directly in a terminal, now I just have to figure out how to get it to start-up when I boot up!
            – nmz787
            Jan 6 '15 at 3:28










            up vote
            4
            down vote













            Those volume keys are gnome based... Or unity based or whatever... You have to create a custom keyboard shortcuts in the keyboard settings gui to reduce, increase and mute volume...
            For volume increase, the command is "amixer set master 5%+"
            for volume decrease "amixer set master 5%-"
            for mute "amixer set master toggle"






            share|improve this answer





















            • This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
              – kolslorr
              Nov 6 '12 at 7:45















            up vote
            4
            down vote













            Those volume keys are gnome based... Or unity based or whatever... You have to create a custom keyboard shortcuts in the keyboard settings gui to reduce, increase and mute volume...
            For volume increase, the command is "amixer set master 5%+"
            for volume decrease "amixer set master 5%-"
            for mute "amixer set master toggle"






            share|improve this answer





















            • This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
              – kolslorr
              Nov 6 '12 at 7:45













            up vote
            4
            down vote










            up vote
            4
            down vote









            Those volume keys are gnome based... Or unity based or whatever... You have to create a custom keyboard shortcuts in the keyboard settings gui to reduce, increase and mute volume...
            For volume increase, the command is "amixer set master 5%+"
            for volume decrease "amixer set master 5%-"
            for mute "amixer set master toggle"






            share|improve this answer












            Those volume keys are gnome based... Or unity based or whatever... You have to create a custom keyboard shortcuts in the keyboard settings gui to reduce, increase and mute volume...
            For volume increase, the command is "amixer set master 5%+"
            for volume decrease "amixer set master 5%-"
            for mute "amixer set master toggle"







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 19 '12 at 7:05









            Arpit Roopchandani

            1465




            1465












            • This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
              – kolslorr
              Nov 6 '12 at 7:45


















            • This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
              – kolslorr
              Nov 6 '12 at 7:45
















            This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
            – kolslorr
            Nov 6 '12 at 7:45




            This works, but it doesnt provide the notify-osd which comes with xfce4-volumed.. so there's no on screen feedback at all...
            – kolslorr
            Nov 6 '12 at 7:45










            up vote
            1
            down vote













            I had the same problem in Xubuntu 12.04, though I don't know if it would have worked in Unity, since I only have Xfce4. In terminal, type:



            $ xfconf-query -c xfce4-mixer -p /active-card -s xfconf-query -c xfce4-mixer -p /sound-card


            Source: https://wiki.archlinux.org/index.php/Xfce#Xfce4-volumed






            share|improve this answer























            • This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
              – Alistair Buxton
              Dec 3 '12 at 0:37















            up vote
            1
            down vote













            I had the same problem in Xubuntu 12.04, though I don't know if it would have worked in Unity, since I only have Xfce4. In terminal, type:



            $ xfconf-query -c xfce4-mixer -p /active-card -s xfconf-query -c xfce4-mixer -p /sound-card


            Source: https://wiki.archlinux.org/index.php/Xfce#Xfce4-volumed






            share|improve this answer























            • This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
              – Alistair Buxton
              Dec 3 '12 at 0:37













            up vote
            1
            down vote










            up vote
            1
            down vote









            I had the same problem in Xubuntu 12.04, though I don't know if it would have worked in Unity, since I only have Xfce4. In terminal, type:



            $ xfconf-query -c xfce4-mixer -p /active-card -s xfconf-query -c xfce4-mixer -p /sound-card


            Source: https://wiki.archlinux.org/index.php/Xfce#Xfce4-volumed






            share|improve this answer














            I had the same problem in Xubuntu 12.04, though I don't know if it would have worked in Unity, since I only have Xfce4. In terminal, type:



            $ xfconf-query -c xfce4-mixer -p /active-card -s xfconf-query -c xfce4-mixer -p /sound-card


            Source: https://wiki.archlinux.org/index.php/Xfce#Xfce4-volumed







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 7 '12 at 22:38









            fossfreedom

            148k36326371




            148k36326371










            answered Jun 6 '12 at 23:44









            MrPink

            111




            111












            • This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
              – Alistair Buxton
              Dec 3 '12 at 0:37


















            • This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
              – Alistair Buxton
              Dec 3 '12 at 0:37
















            This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
            – Alistair Buxton
            Dec 3 '12 at 0:37




            This won't work in 12.10 because xfce4-mixer isn't installed by default and so those settings won't exist. See my answer below for how to create them.
            – Alistair Buxton
            Dec 3 '12 at 0:37










            up vote
            1
            down vote













            If this is a temporary problem, like it was in my case, just do it in command line:



            killall xfce4-volumed && xfce4-volumed






            share|improve this answer

























              up vote
              1
              down vote













              If this is a temporary problem, like it was in my case, just do it in command line:



              killall xfce4-volumed && xfce4-volumed






              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                If this is a temporary problem, like it was in my case, just do it in command line:



                killall xfce4-volumed && xfce4-volumed






                share|improve this answer












                If this is a temporary problem, like it was in my case, just do it in command line:



                killall xfce4-volumed && xfce4-volumed







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 17 '15 at 16:56









                Felipe

                1821312




                1821312






















                    up vote
                    0
                    down vote













                    I fixed the problem changing the "Active Card" parameter in the xfce4-settings-editor



                    I have two sound card (one HDMI and the other a normal one) and the selected card was different from the normal card that I was using.






                    share|improve this answer



























                      up vote
                      0
                      down vote













                      I fixed the problem changing the "Active Card" parameter in the xfce4-settings-editor



                      I have two sound card (one HDMI and the other a normal one) and the selected card was different from the normal card that I was using.






                      share|improve this answer

























                        up vote
                        0
                        down vote










                        up vote
                        0
                        down vote









                        I fixed the problem changing the "Active Card" parameter in the xfce4-settings-editor



                        I have two sound card (one HDMI and the other a normal one) and the selected card was different from the normal card that I was using.






                        share|improve this answer














                        I fixed the problem changing the "Active Card" parameter in the xfce4-settings-editor



                        I have two sound card (one HDMI and the other a normal one) and the selected card was different from the normal card that I was using.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Dec 30 '12 at 16:44









                        Oyibo

                        1,53152039




                        1,53152039










                        answered Dec 30 '12 at 16:19









                        Damiano

                        1




                        1






















                            up vote
                            0
                            down vote













                            I had this very odd problem as well, I could adjust the volume slider in the menu and it would do nothing. Also, if I tried adjusting it with my keyboard, the slider would move but nothing would change with the actual volume.



                            I fixed it by going to PulseAudio Volumne Control. In the Output Devices panel, you can see all of your sound card options. From there, I made sure the port was set to Analog Output. In your case it might be HDMI or headphones depending on where you want your sound to go. Then select the 'set as fallback option'. It looks like a green check mark.



                            I didn't have to install xfce4-mixer to get this to work.






                            share|improve this answer

























                              up vote
                              0
                              down vote













                              I had this very odd problem as well, I could adjust the volume slider in the menu and it would do nothing. Also, if I tried adjusting it with my keyboard, the slider would move but nothing would change with the actual volume.



                              I fixed it by going to PulseAudio Volumne Control. In the Output Devices panel, you can see all of your sound card options. From there, I made sure the port was set to Analog Output. In your case it might be HDMI or headphones depending on where you want your sound to go. Then select the 'set as fallback option'. It looks like a green check mark.



                              I didn't have to install xfce4-mixer to get this to work.






                              share|improve this answer























                                up vote
                                0
                                down vote










                                up vote
                                0
                                down vote









                                I had this very odd problem as well, I could adjust the volume slider in the menu and it would do nothing. Also, if I tried adjusting it with my keyboard, the slider would move but nothing would change with the actual volume.



                                I fixed it by going to PulseAudio Volumne Control. In the Output Devices panel, you can see all of your sound card options. From there, I made sure the port was set to Analog Output. In your case it might be HDMI or headphones depending on where you want your sound to go. Then select the 'set as fallback option'. It looks like a green check mark.



                                I didn't have to install xfce4-mixer to get this to work.






                                share|improve this answer












                                I had this very odd problem as well, I could adjust the volume slider in the menu and it would do nothing. Also, if I tried adjusting it with my keyboard, the slider would move but nothing would change with the actual volume.



                                I fixed it by going to PulseAudio Volumne Control. In the Output Devices panel, you can see all of your sound card options. From there, I made sure the port was set to Analog Output. In your case it might be HDMI or headphones depending on where you want your sound to go. Then select the 'set as fallback option'. It looks like a green check mark.



                                I didn't have to install xfce4-mixer to get this to work.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Dec 27 '14 at 20:27









                                John

                                82131017




                                82131017






















                                    up vote
                                    0
                                    down vote













                                    In Settings > Settings Manager > Keyboard > Applications Shortcut:




                                    • add amixer set Master 3+ to increase volume

                                    • add amixer set Master 3- to decrease volume

                                    • add amixer -D pulse set Master Playback Switch toggle to mute/unmute sound






                                    share|improve this answer

























                                      up vote
                                      0
                                      down vote













                                      In Settings > Settings Manager > Keyboard > Applications Shortcut:




                                      • add amixer set Master 3+ to increase volume

                                      • add amixer set Master 3- to decrease volume

                                      • add amixer -D pulse set Master Playback Switch toggle to mute/unmute sound






                                      share|improve this answer























                                        up vote
                                        0
                                        down vote










                                        up vote
                                        0
                                        down vote









                                        In Settings > Settings Manager > Keyboard > Applications Shortcut:




                                        • add amixer set Master 3+ to increase volume

                                        • add amixer set Master 3- to decrease volume

                                        • add amixer -D pulse set Master Playback Switch toggle to mute/unmute sound






                                        share|improve this answer












                                        In Settings > Settings Manager > Keyboard > Applications Shortcut:




                                        • add amixer set Master 3+ to increase volume

                                        • add amixer set Master 3- to decrease volume

                                        • add amixer -D pulse set Master Playback Switch toggle to mute/unmute sound







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Mar 9 '17 at 7:53









                                        dr0i

                                        993




                                        993






















                                            up vote
                                            0
                                            down vote













                                            I met similar problem, and managed to solved it.



                                            I realize in my Ubuntu Studio 18.10 XFCE4, the startup application included XFCE Volume Daemon, which when I disabled it, reboot, and installed xfce4-pulseaudio-plugin, it'll then works as intended.



                                            Hope it helps others out there.






                                            share|improve this answer








                                            New contributor




                                            Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                            Check out our Code of Conduct.






















                                              up vote
                                              0
                                              down vote













                                              I met similar problem, and managed to solved it.



                                              I realize in my Ubuntu Studio 18.10 XFCE4, the startup application included XFCE Volume Daemon, which when I disabled it, reboot, and installed xfce4-pulseaudio-plugin, it'll then works as intended.



                                              Hope it helps others out there.






                                              share|improve this answer








                                              New contributor




                                              Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.




















                                                up vote
                                                0
                                                down vote










                                                up vote
                                                0
                                                down vote









                                                I met similar problem, and managed to solved it.



                                                I realize in my Ubuntu Studio 18.10 XFCE4, the startup application included XFCE Volume Daemon, which when I disabled it, reboot, and installed xfce4-pulseaudio-plugin, it'll then works as intended.



                                                Hope it helps others out there.






                                                share|improve this answer








                                                New contributor




                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.









                                                I met similar problem, and managed to solved it.



                                                I realize in my Ubuntu Studio 18.10 XFCE4, the startup application included XFCE Volume Daemon, which when I disabled it, reboot, and installed xfce4-pulseaudio-plugin, it'll then works as intended.



                                                Hope it helps others out there.







                                                share|improve this answer








                                                New contributor




                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.









                                                share|improve this answer



                                                share|improve this answer






                                                New contributor




                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.









                                                answered Nov 19 at 17:30









                                                Lee Haw Hua

                                                12




                                                12




                                                New contributor




                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.





                                                New contributor





                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.






                                                Lee Haw Hua is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.






























                                                     

                                                    draft saved


                                                    draft discarded



















































                                                     


                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f137421%2fvolume-keys-are-working-in-unity-but-not-in-xfce4%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

                                                    Ellipse (mathématiques)

                                                    Quarter-circle Tiles

                                                    Mont Emei