User:Louson

From ArchWiki
Jump to navigation Jump to search

Install

Mainline

Laptop specific

Hibernation

  • Needs swap
  • Initramfs : add resume in /etc/mkinitcpio.conf, reload it with $ mkinicpio -P.
  • Command line : add resume=UUID=<UUID>.

Post-install

Blue light filter

Start redshift as user:

$ systemctl --user enable --now redshift-gtk.service

Bluetooth

Using pulseaudio

$ pulseaudio --start
$ pavucontrol

i3 volume bindings : Install pa-vol.sh in /usr/local/bin : https://github.com/Louson/pa-vol

bindsym XF86AudioRaiseVolume exec "pa-vol.sh plus"
bindsym XF86AudioLowerVolume exec "pa-vol.sh minus"
bindsym XF86AudioMute exec "pa-vol.sh mute"

Rip CD

Ripit

https://musicbrainz.org/doc/MusicBrainz_Enabled_Applications ripit + musicbrainz ripit --mb

ABCDE

 $ abcde

Beets

Nice util for tagging

 $ beet import <dir>

Copies the music to the configured directory.

Add a DiscId

picard + https://musicbrainz.org/doc/How_to_Add_Disc_IDs

Create a builder with systemd-nspawn

Wiki page: Systemd-nspawn

Get an archived version

If you need an ancient version, you can look in the archives.

Download a tarball of the latest or an archive.

And extract to specific directory

Configure pacman

Change /etc/pacman.d/mirrorlist to allow a mirror. For an archived version, change it with the following content:

##                                                                              
## Arch Linux repository mirrorlist                                             
## Generated on 2042-01-01                                                      
##
Server=https://archive.archlinux.org/repos/<yyyy>/<mm>/<dd>/$repo/os/$arch

Log in with systemd-nspawn. To log on a i686 archi, prefix the command with linux32 or add the option --personality=x86.

$ sudo systemd-nspawn -D <rootfs dir>

Install the keys :

# pacman-key --init
# pacman-key --populate archlinux
# pacman-key --refresh-keys

Update with

# pacman -Syyuu

Install base packages :

# pacman -S base base-devel


Follow installation guide after chroot

https://wiki.archlinux.org/index.php/Installation_guide#Time_zone

Synchronization

Syncthing

http://localhost:8384