2

My .asoundrc file gets modified every boot. If I delete it, a new appears at reboot:

pcm.!default {
        type hw
        card 0
}
ctl.!default {
        type hw
        card 0
}

If I make changes that differ from these, eg set type plug, then the above entry is appended to the file, effectively removing my changes. What is going on?!

Edit: If I wait 5 seconds after launching PIXEL at boot, then overwrite .asoundrc with this:

pcm.!default {
        type plug
        slave {
            pcm "hw:0,0"
        }
}

ctl.!default {
        type hw
        card 0
}

Then it works like I want. Is something in PIXEL smoking my file? How can I disable that?

  • 1
    Duplicate of my asoundrc is modified every reboot, which does not have a correct answer. – CL. Jul 15 '17 at 7:47
  • Yep, it has an accepted answer but it isn't right. – NateS Jul 15 '17 at 11:26
  • I would recommend checking the boot logs. Unfortunately, I don't know how to tell you to do that. You also may need to increase the verbose level of the boot logs. Hopefully someone else can provide instructions to do this. – Daddy the Runner Jul 15 '17 at 13:26
  • 1
    You can also look at the time stamp of the file to see when in the boot process the file is modified. – Daddy the Runner Jul 15 '17 at 13:27
  • Have you tried making the file read only? – Daddy the Runner Jul 15 '17 at 14:10
0

The thing that over write your user ALSA config is most likely the lxpanel. Within the lxpanel there are several applets (the clickable icons). The lxplug-volume applet has proven to be one of the culprits as can be seen in the code of volumealsabt.c.

Remove the Volume Applet by left clicking on the panel and selecting it, and then delete.

Check for updates to lxpanel, by running the following:

sudo apt-get update
apt list --upgradable

# Then check if the list contain any of these:
lxpanel
lxinput        
lxpanel-data    
lxplug-bluetooth
lxplug-ejecter  
lxplug-network  
lxplug-ptbatt   
lxplug-volume 


# If yes, then use sudo apt-get install <name>

If this doesn't resolve it, please see my other post.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.