Skip to content

Instantly share code, notes, and snippets.

@qodunpob
Last active February 28, 2021 13:44
Show Gist options
  • Save qodunpob/a090d36676efdebce543b4d35a92024e to your computer and use it in GitHub Desktop.
Save qodunpob/a090d36676efdebce543b4d35a92024e to your computer and use it in GitHub Desktop.

Troubleshooting

1. Enabling headset microphone

Create file /etc/modprobe.d/alsa-base.conf with following contents

options snd-hda-intel model=alc298-dell1

Source https://askubuntu.com/questions/1226962/how-to-enable-headset-mode-for-alc298-driver-on-xiaomi-mi-notebook-pro-in-ubuntu#_=_

2. Noise reduction

Add following contents at the end of the file /etc/pulse/default.pa

### Noise cancellation
load-module module-echo-cancel source_name=noechosource
set-default-source noechosource

Reload PulseAudio pulseaudio -k

Source https://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio

3. Displaying asterisks (*) when you type Password in Linux Terminal

$ sudo EDITOR=vim visudo

Add following line

Defaults pwfeedback

4. Fixing screen tearing

Create file /etc/modprobe.d/nvidia-graphics-drivers.conf with following contents

options nvidia_XXX_drm modeset=1

Replace XXX with your driver version

Appearance

Cinnamon

Adapta theme https://cinnamon-spices.linuxmint.com/themes/view/Adapta

Papirus icon theme https://github.com/PapirusDevelopmentTeam/papirus-icon-theme

Arch Linux

Spotify

https://aur.archlinux.org/packages/spotify/

$ sudo pacman -S base-devel
$ git clone https://aur.archlinux.org/spotify.git
$ cd spotify/
$ curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | gpg --import -
$ makepkg -si

Linux Mint

Add Google search engine in Firefox

https://www.linuxmint.com/searchengines.php

Free Ctrl+Shift+Alt+Up, Ctrl+Shift+Alt+Down

$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "[]" 
$ gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "[]"
$ gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-up "[]"
$ gsettings set org.cinnamon.desktop.keybindings.wm move-to-workspace-down "[]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment