A lightweight arch linux dev station
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Arch linux packages (install via $ pacman -S <package name>) | |
base | |
base-devel | |
# Zsh config: | |
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# Edit .zshrc: add extract to plugins list | |
# GUI | |
xorg xorg-server | |
budgie-desktop gnome-screensaver | |
# Optionally: gnome-control-center | |
lxdm | |
# systemctl start lxdm.service | |
# systemctl enable lxdm.service | |
scrot # Screenshots from cli | |
ttf-dejavu # DejaVu fonts | |
# Setting background: | |
# gsettings set org.gnome.desktop.background picture-uri 'file:///home/pkvk/.wallpaper/Everest.jpg' | |
# Scaling up text size: | |
# gsettings set org.gnome.desktop.interface text-scaling-factor 1.4 | |
pantheon-terminal # /usr/bin/io.elementary.terminal | |
# To manage photographs | |
pantheon-files thumbler # /usr/bin/io.elementary.files | |
# Optionally, darktable | |
mplayer (optionally add vlc) | |
foxitreader (pdf) (yaourt -S foxitreader) or qpdfview (ligher and from official sources, i.e. pacman) | |
chromium | |
tilda | |
(optionally) xmonad + xmonad-contrib + feh (background in pure xmonad) | |
mendeley (download from their web site) | |
# Editor | |
neovim or gvim | |
# Python3 | |
python python-pip | |
# NB: use pip with --user switch. Otherwise, install using pacman. E.g. | |
# pip install --user tensorflow | |
# OR | |
# pacman -S python-tensorflow | |
# Network tools | |
network-manager-applet networkmanager | |
# sudo systemctl enable NetworkManager.service | |
whois | |
# Printing | |
cups | |
# systemctl enable org.cups.cupsd.service | |
# systemctl daemon-reload | |
# systemctl start org.cups.cupsd.service | |
# yay (yaourt alternative) | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
# Searching an application through Yay in AUR: | |
# yay -Ss <package-name> | |
# Installing an application: | |
# yay -S <package-name> | |
# # Install wacom drivers | |
# yay -S input-wacom-dkms | |
# Other | |
openssh | |
yay -S ttf-ancient-fonts # Display Unicode characters (e.g. in zsh) | |
xclip (clipboard sharing) | |
htop | |
zip | |
unzip | |
yay -S nix | |
xf86-input-libinput # Touchpad | |
yay -S libinput-gestures # Touchpad gestures | |
# sudo usermod -a -G input pkvk | |
# libinput-gestures-setup autostart | |
# (logout/login) | |
# libinput-gestures-setup start | |
# Associate xdg-open types with apps | |
$ cat .config/mimeapps.list | |
[Added Associations] | |
image/pdf=qpdfview.desktop | |
image/vnd.djvu=qpdfview.desktop | |
image/x-djvu=qpdfview.desktop | |
image/x-pdf=qpdfview.desktop | |
application/pdf=qpdfview.desktop | |
[Default Applications] | |
image/pdf=qpdfview.desktop | |
image/vnd.djvu=qpdfview.desktop | |
image/x-djvu=qpdfview.desktop | |
image/x-pdf=qpdfview.desktop | |
application/pdf=FoxitReader.desktop | |
application/ppdf=FoxitReader.desktop | |
application/octet-stream=FoxitReader.desktop | |
# Automatically mount usb devices (to be configured) | |
udisks2 | |
# Benchmarking SSD (Dell XPS 9370, 400-AVHW 512GB PCIe M.2 SSD Class 40) | |
# https://wiki.archlinux.org/index.php/Benchmarking | |
➜ tmp1 dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.79533 s, 598 MB/s | |
➜ tmp1 dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.84179 s, 583 MB/s | |
➜ tmp1 ls | |
tempfile | |
➜ tmp1 ls -lh | |
total 1.1G | |
-rw-r--r-- 1 pkvk users 1.0G Aug 3 23:19 tempfile | |
➜ tmp1 sudo su | |
[root tmp1]# echo 3 > /proc/sys/vm/drop_caches | |
[root tmp1]# exit | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
816840704 bytes (817 MB, 779 MiB) copied, 1 s, 817 MB/s | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.31779 s, 815 MB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.176433 s, 6.1 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.150161 s, 7.2 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.164494 s, 6.5 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.169264 s, 6.3 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.143815 s, 7.5 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.145895 s, 7.4 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.146046 s, 7.4 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.134223 s, 8.0 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.13522 s, 7.9 GB/s | |
➜ tmp1 dd if=tempfile of=/dev/null bs=1M count=1024 status=progress | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.144055 s, 7.5 GB/s | |
➜ tmp1 rm tempfile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment