Sound card issues
- Inicie sesión ou rexístrese para enviar comentarios
At one time the sound card on my laptop worked fine without issues. I guess after an update or a package install it went all screwy on me. Now, after every reboot I have run `sudo alsa force-reload` to get my sound card working. Anybody know how to make it so I don't have to type every time I boot up.
Adding 'alsa force-reload' to the file /etc/rc.local (before the 'exit' line of course) will probably work. You need administrator's privileges to edit this file. For instance:
$ sudo gedit /etc/rc.local
>$ sudo gedit
Better to run graphical programs with gksudo. Otherwise you might end up dealing with ugly permissions issues one day.
I thought gksudo was just a graphical frontend for entering your password for sudo. It does something different?
Apparently gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by Root.
Isn't there a more eloquent method?
How about "less /var/log/" something? Find the package installed (log files with "apt" in the name) which caused the error; search for error messages in the boot.log or kern.log in that same directory...
- Inicie sesión ou rexístrese para enviar comentarios