import -window root screenshot.jpg
https://wiki.archlinux.org/index.php/Screen_capture_(Espa%C3%B1ol)
https://unix.stackexchange.com/questions/209746/how-to-resolve-no-protocol-specified-for-su-user
https://github.com/polybar/polybar/wiki
https://www.youtube.com/watch?v=nSHOb8YU9Gw
https://bbs.archlinux.org/viewtopic.php?id=165549
https://www.youtube.com/watch?v=Es79N_9BblE
pulseaudio --start --verbose
start-pulseaudio-x11
xbacklight -set (value)
https://www.reddit.com/r/i3wm/comments/3a6nh3/help_how_to_use_function_keys_in_i3_config/
https://addy-dclxvi.github.io/post/configuring-urxvt/
xrdb ~/.Xresources
https://forum.manjaro.org/t/failing-to-change-font-for-urxvt/104672/3
move to /usr/share/fonts
fc-cache
fc-list | grep <font-name>
font-<number> = "<font-name>:style=Regular,size=8;2"
https://www.reddit.com/r/SolusProject/comments/8qlkbm/images_in_neofetch/
https://www.reddit.com/r/i3wm/comments/87kclz/how_do_i_remove_borders_and_titles/
https://erikdubois.be/how-to-change-the-size-of-the-gaps-between-the-windows-in-i3/
https://bbs.archlinux.org/viewtopic.php?id=117543
https://github.com/adi1090x/polybar-themes https://www.reddit.com/r/archlinux/comments/b2ox2t/siji_font_with_polybar_dropping_characters/
https://forum.archlabslinux.com/t/rofi-theming-tips/699
https://www.reddit.com/r/archlinux/comments/apqnhr/ugly_graph_in_gotop/
https://github.com/dylanaraps/pywal/blob/master/pywal/templates/colors-rofi-dark.rasi https://github.com/dylanaraps/pywal/wiki/Customization#rofi
showkey
xev
https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration
inxi -B
- Mount the USB:
mount /dev/sdb1 /mnt/usb
- Unmount the USB:
umount /mnt/usb
rsync -av --delete /Directory1/ /Directory2/
(from Directory1 to Directory2)
sudo rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup/folder
sudo dd bs=4M if=/path/to/archlinux.iso of=/dev/sdX status=progress oflag=sync
(NO NUMBER)
df --total -h
du -sh /path/to/folder
- Know the name:
lsblk
- Unmont it:
umount /dev/sdb1
- Format it:
sudo mkfs.vfat /dev/sdb1
//sudo mkfs.ntfs /dev/sdb1
//sudo mkfs.ext4 /dev/sdb1
sudo pacman -R $(pacman -Qdtq)
https://dottheslash.wordpress.com/2011/11/29/deleting-all-partitions-on-a-usb-drive/
sudo shutdown -P +60
// sudo shutdown -P 1:00
// sudo shutdown -c
umount /dev/sda4
e2fsck -f /dev/sda4
resize2fs /dev/sda4 200G
gdisk /dev/sda
(delete partition and create a new one of the same size that the filesystem)
(the same as shrinking but you first resize the partition and then the filesystem)
mount /dev/sda3 /rescue
mount /dev/sda4 /rescue/home
mount /dev/sda2 /rescue/boot
mount /dev/sda5 /rescue/efi
mount -t proc proc /rescue/proc
mount -t sysfs sys /rescue/sys
mount -o bind /dev /rescue/dev
mount -t devpts pts /rescue/dev/pts
chroot /rescue
mount --bind /sys/firmware/efi/efivars /rescue/sys/firmware/efi/efivars
partprobe /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
- Edit fstab
groupadd sharedusers -g 2000
chown [your_user_name]:sharedusers -R /home/artur/shared
vim /etc/hostname
vim /etc/hosts
speedtest-cli
sudo paccache -r
hwinfo
(hardware)lspci
(peripheral components)uname
(basic system information)
alsactl restore
ps -aux
pacman -Ql
(package)
sleep 1h && mplayer /path/to/music.mp3
geekbench
xprop
(and click on the window)
curl ifconfig.co
sudo nmap -sn IP/Mask
scp -r /path/to/file user@hostIP:/path/to/file
- Monitoring: Gotop
- Music Player: Cmus
- RSS Feed Reader: Canto
- File Manager: Ranger
- Launcher: Rofi