Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to make the system launch sudo alsa force-reload, which seems to do the trick for me, but I don't know how.
I've had trouble with the autostart app, which seemingly ignores my shell script for running "pkexec alsa force-reload," and I'm having trouble with editing the sudoers file despite instructions on the web.
I'm trying to make the system launch sudo alsa force-reload, which seems to do the trick for me, but I don't know how.
I've had trouble with the autostart app, which seemingly ignores my shell script for running "pkexec alsa force-reload," and I'm having trouble with editing the sudoers file despite instructions on the web.
I'm running Ubuntu 18.04 "Bionic Beaver."
Code:
vim /etc/rc.local
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
alsa force-reload
exit 0
also describe how exactly you want to hear sounds please....as we all have different setups and not mind readers.
Well I failed the course
eg laptop speakers and 3.5mm headphones
surround sound via various coloured holes
sound via inbuilt monitor speaker/tv
also show output of
Code:
aplay -l
generally speaking....ubuntu type distros use alsa with a front end of pulseaudio
pulseaudio...until you setup a home config....runs system wide configs from /etc/pulse
If a specific media player is "playing up".....name the media player
also name type of media extension .....eg wmv or mp4 etc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.