[SOLVED] Load ALSA state on startup but do not save on shutdown

I found that my options here are either to leave /etc/alsa with no state-daemon.conf to use alsa-store.service and alsa-restore.service or to touch that file to cause alsa-state.service to take over. What if I want to load the same volume state every time the computer starts (in my case, load in with the speakers muted)? Would it be safe to remove alsa-store.service from /usr/lib/systemd/system and keep it under my root's home directory, or should I just write a service to mute on boot, instead?
Last edited by Thisguy_ (2014-09-04 17:50:17)

I tried running alsactl store at boot, but alsa-store.service does that on shutdown as well - therein lies the problem. I suppose a better way to do this would be to switch to using alsa-state.service and then add alsactl restore to my .xinitrc. I'll give that a try now.
EDIT: Didn't work. Running alsactl restore manually complains of a state lock on a file and does not mute the speakers.
Let me be more specific about these services - they're statically loaded. They execute themselves as the result of a file exist test on /etc/alsa/state-daemon.conf, and either alsa-state or alsa-store and alsa-restore take over - alsa-state if it exists and alsa-(re)store if it doesn't.
EDIT: That's what I get for not reading. Switched back to store and restore and changing alsactl restore to alsactl restore -f ~/.alsa.state after having generated that file. Here goes nothing.
EDIT: Like a charm. Thanks!
Last edited by Thisguy_ (2014-09-04 17:50:03)

Similar Messages

  • My HP Office Jet Pro L7555 scans but will not save it to a flash drive. Is there a fix for that?

    I have a some issues:
    1. My HP Office Jet Pro L7555 scans but will not save to a flash drive. (I get error messaqges when I try to download it to my computer) What is the fix for that?
    2. Sometimes when I turn it on it will indicate that one of the ink cartridges is empty and upon restartin it all the cartidges show full. What is the fix for that?
    3. We have a small network. I can not find the disks that came with the printer. How do I set  it up so it saves to one of the computers connected to the network?
    Thanks,
    PF1

    Hi,
    Heres a patch for missing scanned images
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=oj-81532-2&cc=us&dlc=en&lc=en&...
    Heres the link for the full feature software download
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-79356-3&cc=us&dlc=en&lc=en&...
    and use this document for ink related issues
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01628836&tmp_task=solveCategory&cc=us&dlc=en&ju...
    Hope this helps..
    Although I am an HP employee, I am speaking for myself and not for HP.
    *Say thanks by clicking the "Kudos! Star" which is on the left*
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

  • Keynote is not responding. I have already worked on my slides for hours, but did not save; suddenly the application stops responding. What's the solution?

    Keynote is not responding. I have already worked on my slides for hours, but did not save; suddenly the application stops responding. What's the solution?

    If you had never saved the file at any time, you have lost your work.
    Go to;  Apple Menu > Force Quit
    Start a new presentation, and from now on, after adding the first object to the slide, save the file.

  • I can download and view PDF docs on my MAC but can not save or print them - Help !

    I can download and view PDF docs on my MAC but can not save or print them - Help !

  • I copied itunes from a pc to an external harddrive then copied to itunes on my laptop it loaded all songs to itunes but can not play transfered music

    i copied itunes from a pc to an external hard drive then copied it to itunes on my laptop it loaded all songs but can not play songs

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

  • Inserting Images and Logos - works in the edit mode, but does not save nor show in final PDF format - help?

    I have tried several times - but when I load a logo or image in to a form template - it shows up on the template in edit mode but when I save it for PDF final format and use - the image or logo disappears. What I am doing wrong?

    Is this a form that you're creating in FormsCentral?

  • After importing received and set messages from Opera Mail, Thunderbird works fine but does not save sent messages to Sent folder, even though messages are sent

    I successfully imported messages from Opera Mail. Initially the Sent mailbox was not showing in Thunderbird. A quick removal and fresh installation solved that, but Thunderbird does not save the sent messages to the Sent box, where the imported Opera Mail messages are stored. Even though messages are not saved, they are sent correctly. The image attached shows the error message.

    Probably a name-confuse If you store sent on mailserver it has to have the right name. (subscribe)
    You could set up under Account settings / copies and folders (maps) Sent pointing to the right local folder.

  • Deleted a user but did not save any space

    I used migration assistant some time ago and accidentally created a second user in the process. It took me several months to transfer all my files from the secondary user to the admin user (approximately 175 gigs worth) and I finally finished today.
    I then deleted the secondary user (picked the bottom option), but did not see any decrease in size even though I selected the option to delete the users files.
    I hunted around and found an old user profile but when I selected info on the file, I noticed that it was very small.
    I am not sure where these files are hidden, but I definitely want to delete them permanently.
    Any suggestions on how to clear this up would be greatly appreciated.

    When you delete a user account you have four options. The last one is to remove it completely. The other three allow you to retain it or archive it. The last option is not the default. So the account is still in your /Users/ folder, probably in a folder named Deleted Users. Drag to the Trash then empty.

  • Loaded windows 7 onto iMac but can not boot OS X Lion

    I have just used boot camp on OS X Lion 10.7 to load windows 7, however i now can't boot OS X again
    I have tried to boot using Command + R but only windows 7 is listed
    I have also tried to use boot camp through windows control panel but boot camp is not under systems and security
    Any advise on next steps? or what may have cause the issue?
    The iMac is a late 2006 17" screen with 4gb Ram and as i say is running 10.7

    docblock wrote:
    but thats the issue IT IS NOT LISTED, ONLY WINDOWS 7
    What are your pressing ......
    Command-R is recovery
    Option(alt) is the boot manager, and if you did press option you appear to have toasted your OSX partition.
    Reboot, hold the OPTION key and tell us what is listed

  • Bootcamp enabled on startup but does not startup after rebooting

    Hi all,
    My bootcamp is going berserk.
    It hasn't been able to start-up for a few days and i've been searching for a fix.
    I've found out to check whether bootcamp is enabled on startup. After i check on system configuration, it was enabled however after the reboot, it still doesn't startup!
    Its frustrating as i can't everytime turning on my computer and going in to program files to on my bootcamp every single time i reboot.
    Please anyone could help me?
    I'm running on Bootcamp 4.0 on MacBook Pro 13" Windows 7 partition (Didn't check on what OS i'm using x.x)

    For bootcamp within the windows OS, bootcamp is usually shown on the notification area icons
    Like so.
    But, now my computer does not have the symbol of the bootcamp panel when i boot up my windows. It thus, causes the function keys on the keyboard and th trackpad to not able to function.
    So, for me to make my function keys and trackpad to function properly, i would need to go to control panel to redo the settings everytime i start up.
    Without the startup of bootcamp control panel to support the keyboard and trackpad, it would fail to function on my Windows. However, booting in iOS would work perfectly.

  • Message notification states have mail but do not

    for one of my email addresses it states i have a message but when i check all mms/sms in/outbox messages it comes up zero- how do i delete it off the main screen?

    pull the battery while on
    also when you go into the icon that indicates you ahev new email... scroll UP, it doesnt always enter on the top email... you may infact have a new email, its just hidden up higher

  • TS1646 ive tried doing this but there is no 'NONE' option only the space to put my card info & the card type above. this has happened once before & i did exactly what this article states & it worked but its not working this time. tried on laptop ipad & an

    ive tried putting in different cards & info it still shows the same message! when i try to edit my billing/payment info there is no option to click 'none' or paypal. ive tried doing this on my ipad, laptop, & android. im getting very frustrated its been 3 days now & i cant update my apps or even download free apps! ive emailed apple support 3 days ago but still havent recieved a reply back. it started after i made an in-app purchase. i had made 2 the day befoe then after i made the last one it started saying my security code was invalid. i have the money to cover the purchase so its not that. i opened the itunes app & it said theres a problem with a previous purchase & i need to enter a valid security code. i dont know what to do to find out what happened. if anyone has any advice id really appritiate it! thanks.

    try to enter a gift card to cover your previous balance. Once covered it probably will allow you to change payment.

  • Itunes states "ipod detected but could not be identified properly" when I plug in my new nano. tried uninstalling/reinstalling itunes 6 times - get pop-up "itunes helper error" with abort, retry, ignore options. retry doesn't work

    I am trying to connect my new nano to my iTunes account. I keep getting msg "ipod detected but not identified properly. disconnect and reconnect. if problem persists uninstall/reinstall iTunes". I've uninstalled/ reinstalled iTunes 6 times but keep getting the same msg.
    when installing iTunes I get a pop-up "iTunes helper error" check access. with options to abort, retry, ignore. retry doesn't work. ignore installs iTunes but it doesn't recognize my nano. abort shuts down the download.
    how do I fix these problems??

    Hello, KenaiK9.  
    Thank you for visiting Apple Support Communites.  
    I see you are receiving an error and have processed some troubleshooting steps with the issue persisting.  There are just a couple more in the article below that covers this specific error.  
    iPod nano: Error message saying that iPod could not be identified properly
    Cheers, 
    Jason H.  

  • FF works on startup but will not open after closing until I reboot.

    Until today everything okay. This evening tried to re-open Firefox and it would not. Rebooted computer & Firefox opened OK but after I closed it an tried to reopen, it would not start. Now it appears that Firefox will only open on a fresh restart of my computer. Running W-7 64 bit.

    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?

  • Setting up HP LaserJet Pro P1102w for wireless but can not save wireless settings

    This printer worked fine on wireless with my last TWC modem/router, but I have tried for hours to set it up with a new one and it simply will not let me. USB works fine, but when I follow the instructions found here: OS X Yosemite Wireless. I choose Method three at this link: Method three: Wireless setup using a USB connection. Here is what happens after this:
    1. I downloaded the latest Apple HP drivers on my iMac (HPPrinterDrivers3.0.dmg). 
    2. Clicked Apple Software Updates to ensure I had the latest.
    3. Turned on the printer
    4. Has paper and is in ready mode with no flashing lights
    5. Plugged USB from printer into iMac
    6. Followed HP instructions: Systems Preferences > Printers & Scanners > Clicked on the P1102w printer which was already on the list > Open Print Queue > Open Printer Utility > HTML Config... > Network Tab > Wireless (confirmed it was enabled, I refreshed the network names and added my wireless network, added my wireless network password) > Apply.
    This is where everything crashes. After clicking Apply, the page will show up blank, the HTML will be messed up, or I will receive a message that says: 
    Safari can’t open the page “http://;ocalhost:5050/cgi-bin/ip_wireless_result.htm”. The error is: “cannot parse response” (NSURLErrorDomain:-1017)
    I have tried other Chrome and Firefox and got similar results. At this point, I am out of options based on the HP support sites that I have found. One HP site said to uninstall the HP software located in Libraries > Printers, so I did this. 
    Any help would be greatly appreciated. Thanks.

    Hi @txrun,
    I see that you are experiencing issues setting up the printer on the new router. I will certainly do my best to help you.
    Make sure Safari is set as the default browser. Sometime the Embedded Web Server won't open or will error out, if it isn't. Open Safari, across the top select the Safari menu, select Preferences, General, set as default.
    Restore printer defaults first and then run the HTML again. You may need to delete and add the printer again into the Printers and Scanners to be able to open the HTML again.
    Restore defaults: Turn the printer off, hold down the wireless button and cancel (x button) while turning the printer back on and don't release the two buttons until the printer stops making noise.
    Print a configuration page to make sure the old network settings are cleared. Printing a Configuration Page.
    If you are still having issues, please check these settings on the router.
    The printer is only capable of sending/receiving in the 2.4Ghz band.
    If it is set to 5 GHZ network you may need to change to 2.4 GHZ. (rename the 5ghz or shut it off)
    The WPA key setting needs to be on AES to work correctly not TKIP.
    Multi casting needs to be turned on.
    Firewall on router has to have open ports for printer.
    If you have Mac Filtering you need to give printer hardware address from configuration page.
    You might need to contact your router company for further assistance to check those settings.
    If there is anything else I can help you with, just let me know.
    Have a nice weekend!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

Maybe you are looking for

  • Copying of Text from Customer master to Sales Order

    Hi Gurus, I want that a text should be copied into a sales order from the c/s master but want to prevent any other text to be entered for that text type in Sales order. How can I do it? Thanks

  • Problem: Bluetooth in OS X Lion

    I have a problem. Yesterday, I downloaded and installed OS X Lion in my Macbook Pro (2009). Everything is OK, except Bluetooth. I don't know the reason, but my computer doesn't recognize Bluetooth integrated in my Macbook Pro. What can i do? Thanks i

  • What are the distinctions between Adobe Flash Player & Shockwave Player & Shockwave Flash?

    I find references to what seem to be three distinct things: Adobe Flash Player Shockwave Player Shockwave Flash Treatment of these things is interwoven and confusing:.  As an example, the Adobe Shockwave Player page at URL:  http://www.adobe.com/prod

  • How to verify VPLS mac-address forwarding

    I think VPLS know how to forward by mac-address. but how to verify it ? for example I show mac-address vlan 100. But I can not find a command to verify How mac-address is forwarding ? at 6509: PA_C76_1>sh mpls l2transport vc Local intf Local circuit

  • Multiple constructor help needed

    Good day to all. I have an object that has 2 constructors. I want the first constructor to be able to call the second. Is this possible? Pseudo example..... public class O{   int val;   public O(String S) throws Exception{     int i = Integer.parseIn