scrub mdraid #
echo check > /sys/block/md0/md/sync_action
watch cat /proc/mdstat
cat /sys/block/md0/md/mismatch_cnt
Disallow users to shut down #
sudo systemd-inhibit --who='max' --why='Updating the system. Does not take long. Please be patient.' bash -c read
Recently saved files #
Clear (delete!) and disable
ln -sf /dev/null .local/share/recently-used.xbel
ln -sf /dev/null ~/.recently-used
gpg: ssh and signing #
gpg --list-keys [EMAIL]
gpg --export-ssh-key [EMAIL] > ssh_id.pub
gpg --armor --export [EMAIL] > signing_key.key
# ...and add this to ~/.profile:
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
rj45 crossover pinout #
Change default browser #
xdg-mime default firefox.desktop text/html
xdg-settings set default-web-browser firefox.desktop