loadkeys i386/qwertz/cz-us-qwertz.map.gzeth:
systemctl start dhcpcd@enp0s25.serviceExecute the command nm-connection-editor in your terminal.Add a shared network connection by pressing the Add button.Choose Ethernet from the list and press Create.Click IPv4/IPv6 Settings in the left.Choose Shared to other computers from the drop-down menu.Enter a new name like Shared WiFi LAN as the Connection name at the topDon't forget to install dnsmasq on server PC.
timedatectl set-ntp truetimedatectl set-timezone Europe/Praguedd if=/dev/urandom of=/dev/sda1 status=progressdd if=/dev/urandom of=/dev/sda2 bs=4096 status=progresshttps://wiki.archlinux.org/index.php/LVM
cfdisk /dev/sdaDesired state:
sda1 /boot 2 GB unencryptedsda2 /swap 16 GB unencryptedsda3 / rest encryptedmkswap /dev/sda2Simple partition layout with LUKS:
+----------------+-----------------------+---------------------------+| Boot partition | LUKS encrypted system | Optional free space || | partition | for additional partitions || /dev/sda1 | /dev/sda3 | or swap to be setup later |+----------------+-----------------------+---------------------------+cryptsetup -y -v luksFormat /dev/sda3cryptsetup open /dev/sda3 cryptrootmkfs.ext4 /dev/mapper/cryptrootmount /dev/mapper/cryptroot /mntumount /mntcryptsetup close cryptrootcryptsetup open /dev/sda3 cryptrootmount /dev/mapper/cryptroot /mntShrinking has to be done offline (umount), expanding can be done online (even root partition).
Examples:
/home to /df -humount /homelvresize -L -50G --resizefs /dev/vgarch/homemount -alvresize -l +100%FREE --resizefs /dev/vgarch/root/home to SWAPlvsfree -thumount /homelvresize -L -24G --resizefs /dev/vgarch/homeswapoff /dev/vgarch/swap_1lvresize -l +100%FREE /dev/vgarch/swap_1mkswap /dev/vgarch/swap_1# update new returned UUID in /etc/fstabswapon /dev/vgarch/swap_1free -thmkfs.ext4 /dev/sda1mkdir /mnt/bootmount /dev/sda1 /mnt/bootpacstrap /mnt basegenfstab -U /mnt >> /mnt/etc/fstabblkid | grep swap >> /mnt/etc/fstabvim /mnt/etc/fstab# edit it so swap has dir: none, type: swap, options: defaults, dump: 0, pass: 0arch-chroot /mntln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtimeUncomment in /etc/locale.gen:
en_US.UTF-8 UTF-8cs_CZ.UTF-8 UTF-8Generate locales and update console settings:
locale-genecho "LANG=cs_CZ.UTF-8" > /etc/locale.confecho "KEYMAP=cz-us-qwertz" > /etc/vconsole.confecho "FONT=Lat2-Terminus16" >> /etc/vconsole.confSet hostname:
echo meridix > /etc/hostnameAdd the keyboard and encrypt hooks to /etc/mkinitcpio.conf:
HOOKS="... keyboard block keymap encrypt ... filesystems ..."Install GRUB:
pacman -S vim grublsblk -f | grep crypo >> /etc/default/grubvim /etc/default/grub# add after GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"# cryptdevice=UUID=<device-UUID>:cryptroot root=/dev/mapper/cryptrootmkinitcpio -p linuxpasswdpacman -S intel-ucodegrub-install --target=i386-pc /dev/sdagrub-mkconfig -o /boot/grub/grub.cfgpacman -S sudo bash-completionsystemctl enable dhcpcd@eth0useradd -m -g users -G wheel -s /bin/bash [username]passwd [username]visudo# odkomentovat %wheel ALL=(ALL) ALLInstall bluetooth prerequisities:
sudo pacman -S --needed bluez bluez-utils gnome-bluetooth pulseaudio-bluetooth pulseaudio-equalizer sbcDo NOT install gnome-shell-extensions package. Install only the extensions below, otherwise Gnome Shell integration in browsers will constantly nag you to update even the extensions you're not using (and cannot update because they are in the system).
form:main:username-flags=0 under [vpn] section in conf file for VPN under /etc/NetworkManager/system-connections/nmcli connection reloadnmcli -s -o connection show MyVPN that the setting is as you editedhttps://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/328#note_382240
https://bbs.archlinux.org/viewtopic.php?id=246141
pacman -S broadcom-wl-dkms linux-headersecho "# https://wiki.archlinux.org/index.php/Broadcom_wireless#broadcom-wl" > /etc/modprobe.d/conflicting-wifi.confecho "blacklist b43legacy" >> /etc/modprobe.d/conflicting-wifi.confecho "blacklist b43" >> /etc/modprobe.d/conflicting-wifi.confecho "blacklist bcma" >> /etc/modprobe.d/conflicting-wifi.confPrevents sleep - halts on wakeup
echo blacklist tpm_tis > /etc/modprobe.d/tpm_tis.confecho options radeon vce=0 > /etc/modprobe.d/radeon.confrm -fr ~/.config/pulse/sudo pacman -S gnome-keyring seahorsessh-add ~/.ssh/id_dsa# Enter passphrase for /home/mith/.ssh/id_dsa:ssh-add -Lhttps://wiki.archlinux.org/index.php/Bluetooth_headset#Connecting_works.2C_but_I_cannot_play_sound
sudo journalctl -b | grep -e "Endpoint registered"Make sure that you see the following messages in your system log:
bluetoothd[5556]: Endpoint registered: sender=:1.83 path=/MediaEndpoint/A2DPSourcebluetoothd[5556]: Endpoint registered: sender=:1.83 path=/MediaEndpoint/A2DPSinkRun:
mkdir -p ~gdm/.config/systemd/userln -s /dev/null ~gdm/.config/systemd/user/pulseaudio.socketRestart, connect to bluetooth, go to audio settings and cycle through profiles. It should start playing your music.
Note: This happens again for some reason. Above mentioned process does not work anymore.
Install extension from https://extensions.gnome.org/extension/1055/docker-integration. Version in AUR is old.
Unmanaging them in /etc/NetworkManager/NetworkManager.conf by adding the following does not work.
[keyfile]unmanaged-devices=interface-name:docker0;interface-name:br-*;interface-name:veth*Use guake
https://wiki.archlinux.org/index.php/tmux#Mouse_scrolling
Byobu have to use tmux instead of screen as backend. Check it in ~/.byobu/backend file.
Also file ~/.byobu/tmux.conf must contain:
set -g mouse onNow scrolling through the content of a split will work.
Resizing splits is via drag&drop.
For selecting text hold Shift + LMouse.
To select a split use LMouse click.
Split < Window < Session
Creation
Shift + F2 | Create horizontal splitCtrl + F2 | Create vertical splitF2 | Create new windowCtrl + Shift + F2 | Create new sessionDestruction
Ctrl + F6 | Remove selected splitF6 | Detach session and logoutShift + F6 | Detach session and stay logged inAlt + F6 | Detach all other clientsMovement
Shift + Left/Right/Up/Down | Move focus among splitsAlt + Left/Right | Move focus among windowsAlt + Up/Down | Move focus among sessionsCtrl + F3/F4 | Move a splitCtrl + Shift + F3/F4 | Move a windowZoom, arrange, expand, join
Shift + F11 | Zoom in/out of splitShift + F8 | Toggle through split arrangementsCtrl + F11 | Join window to another window on left as a vertical splitAlt + F11 | Expand split to new windowRename
F8 | Rename current windowCtrl + F8 | Rename current sessionMiscs
F9 | Show config menuShift + F1 | Show keybindings