Skip to content

Instantly share code, notes, and snippets.

@haltaction
Last active December 2, 2020 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haltaction/1e3486dbe0e10b0e0c460551a93cdf77 to your computer and use it in GitHub Desktop.
Save haltaction/1e3486dbe0e10b0e0c460551a93cdf77 to your computer and use it in GitHub Desktop.
ubuntu commands
- battary info
upower -i $(upower -e | grep 'BAT')
- restart audio
pulseaudio -k && sudo alsa force-reload
- search string in directory
grep -rnw '/path/to/somewhere/' -e 'pattern'
------------
- intel audio speacker not working after suspend - fix
sudo su -
echo 1 > /sys/bus/pci/devices/0000:00:1f.3/remove
echo 1 > /sys/bus/pci/rescan
link - https://askubuntu.com/questions/1234807/no-sound-after-sleep-ubuntu-20-04
- dock opacity
gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode 'FIXED'
gsettings set org.gnome.shell.extensions.dash-to-dock background-opacity 0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment