Arch linux tricks

Package management

1
sudo pacman -Syu

Using yaourt

In order to install non-official packages you can use yaourt

Just run this with non-root user:

1
yaourt package-name

Check battery status from commandline

Source

1
2
sudo apt-get install acpi
acpi

Set default applications

1
2
3
4
# Evince for pdfs
xdg-mime default evince.desktop application/pdf
# Firefox for web
xdg-settings set default-web-browser firefox.desktop

Disable xorg cursor

1
2
sudo pacman -S unclutter
unclutter &

See NetworkManager logs

1
sudo journalctl -u NetworkManager
⬆︎TOP