Activate sound in Manjaro Xfce 0.8.4

Manjaro is being, more and more, an easy, powerful and light distro. But the sound does not work well at the start of the session on my Netbook with Realteck sound card.

Although you can run "alsamixer" and turn up the Speaker control, recovering the sound, this is frankly uncomfortable every time you start the session, to solve it we can create a small script.


The aforementioned script is launched at the beginning of the session but with a delay so that it does not interfere with the Manjaro Xfce sound controls.

With about 15 seconds it will be fine so it will look like this:

sudo nano alsainit.sh

And we enter:

Sleep 15
ALSACTL INIT

Then we create a launcher with the extension ".desktop" and save it in ~ / .config / autostart to run in each session. (Remember that you can use any other launcher as a template).

sudo nano alsainit.desktop

And we enter:

[Desktop Entry] Categories = AudioVideo
Comment [es] = Restore the sound
Comment = Restore sound [Desktop Entry] Categories = AudioVideo
Comment [es] = Restore the sound
Comment = Restore sound
Exec = / home / user / Scripts / alsainit.sh
GenericName [es] = Script
GenericName = Script
Icon = preferences-desktop-text-to-speechIcon
MimeType = Icon
Name = alsainit
Path =
StartupNotify = false
Terminal = false
TerminalOptions = IconIcon
Type = Application
Version=1.0
GenericName [es] = Script
GenericName = Script
Icon =
MimeType =
Name = alsainit
Path =
StartupNotify = false
Terminal = false
TerminalOptions =
Type = Application
Version=1.0

We will have to edit the Exec line by writing the path where our little Script is located and that's it. In the next start we will have the sound working.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Javier Fernandez said

    Better to use «alsactl restore» after having done a «sudo alsactl store» when you have the desired sound levels with «alsamixer».

  2.   Edward Fields said

    It is delicious 0.8.4

  3.   Javier said

    Thanks, sorry for the mistake.