Here is a link to my previous issue:
The issue still occurs after reboot and I need to type the same command in to unmute the speakers.
Here is a link to my previous issue:
The issue still occurs after reboot and I need to type the same command in to unmute the speakers.
Hi @KnowingMe145889,
This isn’t a solution, merely a workaround, but you can write a systemd
service unit that executes the command to unmute the speakers automatically on startup.
See:
Unmuting Speakers in pipewire-pulse
might be a persistent solution
pactl set-sink-mute alsa_output.pci-0000:00:1f.3-platform-skl_hda_dsp_generic.analog-stereo 0
Sink/Source Port Volume/Mute/Port-Latency · Wiki · PipeWire GitLab
Is this a command that can be typed directly into the terminal?
The first part was, but the second wasn’t.
Guessing (because you haven’t told us) that you are using KDE Plasma, try this from terminal:
1. Use the first command given
pactl set-sink-mute alsa_output.pci-0000:00:1f.3-platform-skl_hda_dsp_generic.analog-stereo 0
2. Open Kate (editor) from the terminal.
kate ~/.config/autostart/speaker-unmute.desktop
3. Paste the .desktop
file content (previously given by @nikgnomic) into the new empty Kate window when Kate opens:
[Desktop Entry]
Version=1.0
Type=Application
Name=speaker-unmute
Comment=unmute speaker 5s after login
Exec=/usr/bin/sleep 5 && /usr/bin/amixer -qc sofhdadsp sset 'Speaker' unmute
Icon=
Path=
Terminal=false
StartupNotify=false
4. Close and save the file.
5. Logout/login or reboot.
That should cover it. Cheers.
tee ~/.config/autostart/speaker-unmute.desktop <<< '[Desktop Entry]
Version=1.0
Type=Application
Name=speaker-unmute
Comment=unmute speaker 5s after login
Exec=/usr/bin/sleep 5 && /usr/bin/amixer -qc sofhdadsp sset 'Speaker' unmute
Icon=
Path=
Terminal=false
StartupNotify=false'
Please don’t post images of text. Instead:
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
```
pasted text
```
Or three (3) tilde signs, like this:
~~~
pasted text
~~~
This will just cause it to be rendered like this:
Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
For more information, please see:
Additionally
If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C
. For example:
LC_ALL=C bluetoothctl
This will just cause the terminal output to be in English, making it easier to understand and debug.
Is there a point you’re trying to make with the screenshot?
I used kate
as an example because I’m using KDE Plasma, and kate
is therefore the default text editor.
If you are not using KDE, then of course it won’t be installed if you try to use it. Substitute for the default text editor in the Manjaro version you use, whatever that may be; you have still not shared that with us.
…or…
Use the alternate method provided by @nikgnomic, which you can use directly from your terminal app.
Cheers.
Also, as @Mirdarthos noted:
OP posted a screenshot of audio GUI controls in previous topic and another topic about Gnome boxes, but DE is not significant for ALSA
If DE is not known I would suggest using nano
text editor