Skip to content

Instantly share code, notes, and snippets.

@impankratov
Last active January 8, 2019 20:28
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 impankratov/5fec1c02161dba93e3e29fd6d4cfaab6 to your computer and use it in GitHub Desktop.
Save impankratov/5fec1c02161dba93e3e29fd6d4cfaab6 to your computer and use it in GitHub Desktop.
Archlinux todo
-------------------------------------------------------------
% RCRC="$HOME/.dotfiles/host-$(hostname)/config/rcrc" rcup
-------------------------------------------------------------
add user groups:
docker wheel
sudo gpasswd -a impankratov docker
sudo gpasswd -a impankratov wheel
-------------------------------------------------------------
change shell chsh
-------------------------------------------------------------
https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#List_of_installed_packages
-------------------------------------------------------------
Enable mirrorlist
https://wiki.archlinux.org/index.php/Official_repositories#multilib
-------------------------------------------------------------
Setup reflector
https://wiki.archlinux.org/index.php/Reflector
/usr/share/reflector-timer/reflector.conf
-------------------------------------------------------------
https://github.com/blueman-project/blueman/wiki/PolicyKit
https://wiki.archlinux.org/index.php/Polkit#Installation
sudo vim /etc/polkit-1/rules.d/40-blueman.rules
:
/* Allow users in wheel group to use blueman feature requiring root without authentication */
polkit.addRule(function(action, subject) {
if ((action.id == "org.blueman.network.setup" ||
action.id == "org.blueman.dhcp.client" ||
action.id == "org.blueman.rfkill.setstate" ||
action.id == "org.blueman.pppd.pppconnect") &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
-------------------------------------------------------------
Force/enable shutdown after hibernation:
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#System_does_not_power_off_when_hibernating
```
/etc/systemd/sleep.conf
[Sleep]
HibernateMode=shutdown
```
-------------------------------------------------------------
https://wiki.archlinux.org/index.php/Silent_boot#fsck
-------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment