Skip to content

Instantly share code, notes, and snippets.

@KunalSin9h
Last active May 5, 2024 15:50
Show Gist options
  • Save KunalSin9h/3bad782b71d89cb0baae58c7ace334d2 to your computer and use it in GitHub Desktop.
Save KunalSin9h/3bad782b71d89cb0baae58c7ace334d2 to your computer and use it in GitHub Desktop.

Enable night light

xflux -l -77.9527 -g 166.4895 -k 3200
@KunalSin9h
Copy link
Author

@KunalSin9h
Copy link
Author

download this package to enable emojis in arch linux

sudo pacman -S noto-fonts-emoji
reboot

Now emojis will be properly rendered

@KunalSin9h
Copy link
Author

KunalSin9h commented Mar 26, 2023

edit the file in ~/.config/fontconfig/fonts.conf to set the default fonts in arch linux

Download the noto fonts by

sudo pacman -S noto-fonts

and then set

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

 <alias>
  <family>sans-serif</family>
  <prefer>
   <family>NotoSans</family>
  </prefer>
 </alias>

 <alias>
  <family>serif</family>
  <prefer>
   <family>NotoSerif</family>
  </prefer>
 </alias>

 <alias>
  <family>monospace</family>
  <prefer>
   <family>NotoSansMono</family>
  </prefer>
 </alias>

</fontconfig>

@KunalSin9h
Copy link
Author

if pipewire does not work after install or pactl info will give connection refused then exec:

systemctl --user restart wireplumber pipewire pipewire-pulse

@KunalSin9h
Copy link
Author

Mount hard drive : https://www.youtube.com/watch?v=gm5YRMN7rMY

When the newly mounted drive ask for root password then just change owner

sudo chown -R $USER:$USER /path/to/mount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment