Pop!_OS (Linux)
Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.
Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.
Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.
Links
Guides
Hardware
Recommended
- !system76@lemmy.world
- !linux@lemmy.ml
- !opensource@lemmy.ml
- !linux@programming.dev
- !linux_gaming@lemmy.world
- !linux_gaming@lemmy.ml
- !selfhosted@lemmy.world
- !rust@programming.dev
- programming.dev
- fosstodon.org (Mastodon)
- !redox@lemmy.world
Community Rules
Follow the Code of Conduct
All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct
Be helpful
Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.
Critique should be constructive
We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.
This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.
Don't post malicious "advice"
It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.
Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.
No personal attacks
Posts making a personal attack on any user will not be tolerated.
No hate speech
Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.
view the rest of the comments
You may need to use
sudo
to move the file there since it is a system directory.Otherwise, if you could provide a screenshot or a paste of the error, we may be able to help you further.
Genius! I got it to move but I don't understand the next step, and also the sound still isn't working even though I pressed 'run as program'.
To test out the script, you can do
sudo /usr/local/sbin/necessary-verbs.sh
. See if that works.If it does, then I can explain about the Systemd unit.
This is what I get when I type that command https://paste.sh/LO5_DWqx#lF9KhOFkNlg4x8kiK1DiHKeu
Thanks again so so much!
You probably need to install the package with the
hda-verb
command:After you do that, try to run the script again and see if it works.
The script worked ran this time but there's still no sound. :-( Thank you so so so much though, I really appreciate your help! Let me know if you've got any other tricks up your sleeve ;-)
Hmm. Unfortunately, if the script doesn't work then you probably need a different set of verbs for your particular laptop model. I'm not really sure how to determine which verbs to use. Sorry :|
Actually, after a quick look, I found an entry on the Arch Linux Wiki:
https://wiki.archlinux.org/title/LG_Gram_16_2-in-1_2023
This says there might be a workaround here:
https://bugzilla.kernel.org/show_bug.cgi?id=212041#c14
It would be the same idea: download a script with a bunch of verbs, run the script, and see if the speakers work.
Perhaps one of the scripts in that comment will work for your laptop.
YOU'RE A GENIUS!!!!!!!!!!!!!!!!!!! THANK YOU SO SO SO SO MUCH!!!!!!!!!!!!! IT WORKS!!!!!!!!!!!!!!!! I used this https://gist.githubusercontent.com/eddy-geek/ef86267fbec87479aba905302909921a/raw/ script and it works!!!!!!!!!!!!!!! You're amazing!
Now... Can you please explain how to make it not go away after a reboot...? Thanks!
Great, I'm glad you now have sound :)
To have the script run at boot, you need to create a service file:
That should open a text editor that you can write into. You can replace
gedit
withvim
ornano
if you prefer those.In that file, you want to put the following contents:
Once you save that file, you can enable it as follows:
Now, when you boot, this service will run that script and thus setup your audio.
See if you can get that to work.
Thank you so so so much for taking the time to write that! But before I read you message I actually had to restart my laptop for a different reason and the sound still works. This is very weird because it said in the link to the script that it wouldn't still work after a reboot, but it is. Thanks again so much!!!!