Set default profile for Pulseaudio

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











up vote
1
down vote

favorite












How do I set the default profile that is used after each boot, in Pulseaudio?



When I boot, sound doesn't work. If I open the Pulseaudio Volume Control app, and go to the Configuration pane and select "Analog Surround 4.0 Output" from the Profile drop-down menu, then sound works again. However this only lasts until the next reboot.



How do I configure the system to use that profile in the future after reboots?










share|improve this question

























    up vote
    1
    down vote

    favorite












    How do I set the default profile that is used after each boot, in Pulseaudio?



    When I boot, sound doesn't work. If I open the Pulseaudio Volume Control app, and go to the Configuration pane and select "Analog Surround 4.0 Output" from the Profile drop-down menu, then sound works again. However this only lasts until the next reboot.



    How do I configure the system to use that profile in the future after reboots?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      How do I set the default profile that is used after each boot, in Pulseaudio?



      When I boot, sound doesn't work. If I open the Pulseaudio Volume Control app, and go to the Configuration pane and select "Analog Surround 4.0 Output" from the Profile drop-down menu, then sound works again. However this only lasts until the next reboot.



      How do I configure the system to use that profile in the future after reboots?










      share|improve this question













      How do I set the default profile that is used after each boot, in Pulseaudio?



      When I boot, sound doesn't work. If I open the Pulseaudio Volume Control app, and go to the Configuration pane and select "Analog Surround 4.0 Output" from the Profile drop-down menu, then sound works again. However this only lasts until the next reboot.



      How do I configure the system to use that profile in the future after reboots?







      pulseaudio






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 15 at 5:21









      D.W.

      1,00241534




      1,00241534




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          Add the following to /etc/pulse/default.pa:



          set-card-profile <cardindex> <profilename>


          How do we figure out what to use as cardindex and as profilename? Here's one way. Configure the card so everything is working. The cardindex will usually be 0, but you can find it by running pacmd list-cards and looking at the line index: .... To find the profilename, use



          pacmd list-cards | grep 'active profile'


          The name of the current profile should appear in the output. Remove the angle brackets (the < and >).



          You can test your configuration by running



          pactl set-card-profile <cardindex> <profilename>


          from the command line to see if it sets the profile correctly, then add it to /etc/pulse/default.pa.






          share|improve this answer




















          • If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
            – telcoM
            Aug 15 at 6:37










          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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%2f462670%2fset-default-profile-for-pulseaudio%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          Add the following to /etc/pulse/default.pa:



          set-card-profile <cardindex> <profilename>


          How do we figure out what to use as cardindex and as profilename? Here's one way. Configure the card so everything is working. The cardindex will usually be 0, but you can find it by running pacmd list-cards and looking at the line index: .... To find the profilename, use



          pacmd list-cards | grep 'active profile'


          The name of the current profile should appear in the output. Remove the angle brackets (the < and >).



          You can test your configuration by running



          pactl set-card-profile <cardindex> <profilename>


          from the command line to see if it sets the profile correctly, then add it to /etc/pulse/default.pa.






          share|improve this answer




















          • If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
            – telcoM
            Aug 15 at 6:37














          up vote
          3
          down vote



          accepted










          Add the following to /etc/pulse/default.pa:



          set-card-profile <cardindex> <profilename>


          How do we figure out what to use as cardindex and as profilename? Here's one way. Configure the card so everything is working. The cardindex will usually be 0, but you can find it by running pacmd list-cards and looking at the line index: .... To find the profilename, use



          pacmd list-cards | grep 'active profile'


          The name of the current profile should appear in the output. Remove the angle brackets (the < and >).



          You can test your configuration by running



          pactl set-card-profile <cardindex> <profilename>


          from the command line to see if it sets the profile correctly, then add it to /etc/pulse/default.pa.






          share|improve this answer




















          • If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
            – telcoM
            Aug 15 at 6:37












          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          Add the following to /etc/pulse/default.pa:



          set-card-profile <cardindex> <profilename>


          How do we figure out what to use as cardindex and as profilename? Here's one way. Configure the card so everything is working. The cardindex will usually be 0, but you can find it by running pacmd list-cards and looking at the line index: .... To find the profilename, use



          pacmd list-cards | grep 'active profile'


          The name of the current profile should appear in the output. Remove the angle brackets (the < and >).



          You can test your configuration by running



          pactl set-card-profile <cardindex> <profilename>


          from the command line to see if it sets the profile correctly, then add it to /etc/pulse/default.pa.






          share|improve this answer












          Add the following to /etc/pulse/default.pa:



          set-card-profile <cardindex> <profilename>


          How do we figure out what to use as cardindex and as profilename? Here's one way. Configure the card so everything is working. The cardindex will usually be 0, but you can find it by running pacmd list-cards and looking at the line index: .... To find the profilename, use



          pacmd list-cards | grep 'active profile'


          The name of the current profile should appear in the output. Remove the angle brackets (the < and >).



          You can test your configuration by running



          pactl set-card-profile <cardindex> <profilename>


          from the command line to see if it sets the profile correctly, then add it to /etc/pulse/default.pa.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 15 at 5:25









          D.W.

          1,00241534




          1,00241534











          • If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
            – telcoM
            Aug 15 at 6:37
















          • If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
            – telcoM
            Aug 15 at 6:37















          If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
          – telcoM
          Aug 15 at 6:37




          If you have multiple audio devices whose ordering is not fixed, you can also use udev rules to configure a Pulseaudio profile for a device. This allows identifying the device by vendor/product IDs, serial number, or by other means. The rule element for setting the Pulseaudio profile is ENVPULSE_PROFILE_SET="<profilename>"
          – telcoM
          Aug 15 at 6:37

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462670%2fset-default-profile-for-pulseaudio%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

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

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?