Set default profile for Pulseaudio

Clash 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?
pulseaudio
add a comment |Â
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?
pulseaudio
add a comment |Â
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?
pulseaudio
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
pulseaudio
asked Aug 15 at 5:21
D.W.
1,00241534
1,00241534
add a comment |Â
add a comment |Â
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.
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 isENVPULSE_PROFILE_SET="<profilename>"
â telcoM
Aug 15 at 6:37
add a comment |Â
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.
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 isENVPULSE_PROFILE_SET="<profilename>"
â telcoM
Aug 15 at 6:37
add a comment |Â
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.
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 isENVPULSE_PROFILE_SET="<profilename>"
â telcoM
Aug 15 at 6:37
add a comment |Â
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.
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.
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 isENVPULSE_PROFILE_SET="<profilename>"
â telcoM
Aug 15 at 6:37
add a comment |Â
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 isENVPULSE_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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password