vimwiki

my vimwiki
git clone git://shroom.party/vimwiki.git
Log | Files | Refs

commit eacc7812565919f139b31211d70a06b8e68f1d41
parent be35f61c7dc704a7a058ee03d2cf897f5e063b69
Author: tx <trqx@goat.si>
Date:   Wed, 21 Nov 2018 00:42:01 +0100

autocommit 2018-11-21-00:42:01

D  ".stversions/data/pinebook arch installation~20181119-182646.wiki"
R  ".stversions/data/pinebook arch installation~20181119-220849.wiki" -> ".stversions/data/pinebook arch installation~20181120-161421.wiki"
R  ".stversions/data/pinebook arch installation~20181119-220824.wiki" -> ".stversions/data/pinebook arch installation~20181120-162208.wiki"
R  ".stversions/data/pinebook arch installation~20181119-215718.wiki" -> ".stversions/data/pinebook arch installation~20181120-162337.wiki"
R  ".stversions/data/pinebook arch installation~20181119-190252.wiki" -> ".stversions/data/pinebook arch installation~20181120-181844.wiki"
A  ".stversions/data/pinebook arch installation~20181120-184029.wiki"
M  "data/pinebook arch installation.wiki"

Diffstat:
.stversions/data/pinebook arch installation~20181119-182646.wiki | 188-------------------------------------------------------------------------------
data/pinebook arch installation.wiki -> .stversions/data/pinebook arch installation~20181120-161421.wiki | 16+++++++++-------
.stversions/data/pinebook arch installation~20181119-220849.wiki -> .stversions/data/pinebook arch installation~20181120-162208.wiki | 36++++++++++++++++++++++++------------
.stversions/data/pinebook arch installation~20181119-220824.wiki -> .stversions/data/pinebook arch installation~20181120-162337.wiki | 41+++++++++++++++++++++++++++--------------
.stversions/data/pinebook arch installation~20181119-215718.wiki -> .stversions/data/pinebook arch installation~20181120-181844.wiki | 41+++++++++++++++++++++++++++++------------
.stversions/data/pinebook arch installation~20181119-190252.wiki -> .stversions/data/pinebook arch installation~20181120-184029.wiki | 50++++++++++++++++++++++++++++++++++++++------------
data/pinebook arch installation.wiki | 37++++++++++++++++++++++++++++++-------
7 files changed, 157 insertions(+), 252 deletions(-)

diff --git a/.stversions/data/pinebook arch installation~20181119-182646.wiki b/.stversions/data/pinebook arch installation~20181119-182646.wiki @@ -1,188 +0,0 @@ -= pinebook arch installation = - -== buy a pinebook 1080 == -https://www.pine64.org/?page_id=3707 - -== installation == -- download the image https://github.com/anarsoul/linux-build/releases/tag/20181104 -- `xzcat img.xz | dd BS=4M of=/dev/emmcblk1` -- insert microsd -- boot - -== configuration == -fixes https://forum.pine64.org/showthread.php?tid=4982 - -{{{bash -loadkeys fr - -#resize -curl https://raw.githubusercontent.com/anarsoul/linux-build/mainline/otherfiles/resize_rootfs.sh>resize_rootfs.sh -sh resize_rootfs.sh - -# remove extra -pacman -Rc xfce4 lxdm - -# wifi -ifconfig wlan0 # check current MAC address -echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # change first byte of mac address to 0 -echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs -reboot # needs reboot -nmtui # get network connection wifi-menu, netctl does not work correctly here -pacman -S crda # get crda -iw reg set FR # here set your country - -# user -useradd -m tx # create tx user -gpasswd -a sudo tx # add to sudo -vim /etc/groups # replace alarm with tx in other groups -passwd tx # set a password - -# packages -pacman -Syu -pacman -S \ - arch-wiki-lite \ # archlinux wiki - scrot \ # take screenshots - bash-completion \ # bash completions - borg \ # backups - dhclient \ # standalone DHCP client - dmenu \ # menu - dunst \ # notification daemon - fakeroot \ # for building packages - firefox \ # browser - git \ # cvs - go \ # compiler for go programming language - htop \ # process viewer - mpv \ # media player - ncdu \ # ncurses disk usage - newsboat \ # feed reader - nitrogen \ # wallpaper handler - stow \ # for dotfiles - sudo \ # execute command as another user - syncthing \ # syncronize files accros devices - terminus-font \ # font - termite \ # terminal emulator - tig \ # git TUI - tmux \ # multiplexer - tree \ # list directories - ufw \ # firewall - vim \ # editor - vim-spell-fr \ # vim spell fr - vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura - wget \ # network downloader - wpa_actiond \ # wpa daemon - xkill \ # point and kill X clients - xorg-server \ # X - youtube-dl \ # download/stream videos from the web -pacman -S base-devel # for building packages -pacman -Fy # to search for packages with files with pacman -Fs - -# sudo -EDITOR=vim visudo # enable sudo group - -# ssh -ssh-keygen - -# locales -vim /etc/locale.conf # LANG=fr_FR.UTF-8 -vim /etc/locale.gen # uncomment fr_FR.UTF-8 UTF8 -locale-gen # generate locales - -# time -sudo timedatectl set-timezone Europe/Paris # set timezone -sudo timedatectl set-ntp true # enable ntp - -systemctl enable netctl-auto@wlan0.service - -# yay -cd /tmp/ -git clone https://aur.archlinux.org/yay.git -cd yay -makepkg -si - -# more packages -yay -S \ - xbanish # hide cursor when a key is pressed - molly-guard \ # protect from accidental remote shutdown - python-black-git \ # python code formatter - ttf-emojione \ # emoji fonts - fortune-mod-hackers # fortune file - -# tor -yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff -sudo systemctl start tor # start tor service -nyx # configure - -# X stuff -# get/configure/install dwm here -vim ~/.xinitrc # add your prefered program here - -# dotfiles -cd ~/ -git clone ssh://famine:/var/git-private/dotfiles # get the dotfiles -cd dotfiles # then stow - -# keyboard -setxkbmap -option caps:menu,altwin:alt_super_win fr # bind menu key to super set french language -xmodmap -pke > ~/.Xmodmap # create a xmodmap file -vim ~/.Xmodmap # make modifications (e.g. for `*`, `%` on azerty) -xmodmap ~/.Xmodmap # load the configuration - -# disable touchpad when typing -# no way with current drivers use this script instead -https://forum.pine64.org/showthread.php?tid=4916&highlight=proof+of+concept -# add the script to .xinitrc - -# hdpi settings -# /!\ following has been untested: -# GTK3 -export GDK_SCALE=2 # too big -gsettings set org.gnome.desktop.interface scaling-factor 2 # this only takes integers, 2 is too big -xrandr --output eDP-1 --scale 1.25x1.25 # reduce with xrandr - -# brightness setter -cd /tmp -git clone git://shroom.party/brightness.git -cp brightness/brightness.py /usr/local/bin - -# zram -sudo pacman -S systemd-swap -sudo systemctl enable systemd-swap - -# audio -pavumixer # select audio source -alsamixer -Dhw:0 # control name is Line out - -# firefox -# zoom for hi-dpi -# in about:config set browser.zoom.siteSpecific to false to zoom the same on every websites -# needs firefox restart - -# printing with a WiFi printer -sudo pacman -S cups avahi nss-mdns gsfonts enscript zathura-ps paps -# printer detection -sudo systemctl start avahi-daemon.service -sudo systemctl enable avahi-daemon.service -# printer service -sudo systemctl start org.cups.cupsd.service -sudo systemctl enable org.cups.cupsd.service - -sudo gpasswd -a tx sys # add group sys to users for granting printing privileges - -# additional printer driver -yay -S dell-e310dw - -# or use the web UI -sudo lpinfo -v # list devices -/usr/lib/cups/backend/snmp DELL61E87B # ?? -lpinfo -m # list models -lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue -# make default - -# print using lpr; make ps using paps; preview with zathura - -startx # hopefully it's fine -}}} diff --git a/data/pinebook arch installation.wiki b/.stversions/data/pinebook arch installation~20181120-161421.wiki @@ -45,9 +45,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -62,6 +62,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -72,16 +73,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -90,6 +91,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -119,7 +121,7 @@ yay -S \ # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # uncomment ControlPort and CookieAuthentication 1 sudo systemctl start tor # start tor service nyx # configure @@ -191,5 +193,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}} diff --git a/.stversions/data/pinebook arch installation~20181119-220849.wiki b/.stversions/data/pinebook arch installation~20181120-162208.wiki @@ -23,6 +23,7 @@ sh resize_rootfs.sh pacman -Rc xfce4 lxdm # wifi +# https://wiki.archlinux.org/index.php/NetworkManager#Regular_network_disconnects,_latency_and_lost_packets_(WiFi) ifconfig wlan0 # check current MAC address echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # change first byte of mac address to 0 echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs @@ -44,9 +45,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -61,6 +62,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -71,16 +73,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -89,6 +91,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -109,18 +112,27 @@ makepkg -si # more packages yay -S \ - xbanish # hide cursor when a key is pressed - molly-guard \ # protect from accidental remote shutdown - python-black-git \ # python code formatter - ttf-emojione \ # emoji fonts - fortune-mod-hackers # fortune file + xbanish \ # hide cursor when a key is pressed + molly-guard \ # protect from accidental remote shutdown + diff-so-fancy \ # fancy diffs + python-black-git \ # python code formatter + ttf-emojione \ # emoji fonts + fortune-mod-hackers # fortune file # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # add following: + # # marco + # CookieAuthentication 1 + # CookieAuthFile /var/lib/tor/control_auth_cookie + # CookieAuthFileGroupReadable 1 + # DataDirectoryGroupReadable 1 + # CacheDirectoryGroupReadable 1 # workaround for tor bug # 26913 sudo systemctl start tor # start tor service nyx # configure + + # X stuff # get/configure/install dwm here vim ~/.xinitrc # add your prefered program here @@ -189,5 +201,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}} diff --git a/.stversions/data/pinebook arch installation~20181119-220824.wiki b/.stversions/data/pinebook arch installation~20181120-162337.wiki @@ -23,6 +23,7 @@ sh resize_rootfs.sh pacman -Rc xfce4 lxdm # wifi +# https://wiki.archlinux.org/index.php/NetworkManager#Regular_network_disconnects,_latency_and_lost_packets_(WiFi) ifconfig wlan0 # check current MAC address echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # change first byte of mac address to 0 echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs @@ -32,8 +33,8 @@ pacman -S crda # iw reg set FR # here set your country vim /etc/conf.d/wireless-regdom # uncomment FR sudo pacman -S wireless_tools # grab iwlist -iwlist wlan0 scan |less # get BSID -nmtui # lock BSID of the AP +iwlist wlan0 scan |less # get BSSID +nmtui # lock BSSID of the AP # user useradd -m tx # create tx user @@ -44,9 +45,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -61,6 +62,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -71,16 +73,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -89,6 +91,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -109,18 +112,28 @@ makepkg -si # more packages yay -S \ - xbanish # hide cursor when a key is pressed - molly-guard \ # protect from accidental remote shutdown - python-black-git \ # python code formatter - ttf-emojione \ # emoji fonts - fortune-mod-hackers # fortune file + xbanish \ # hide cursor when a key is pressed + molly-guard \ # protect from accidental remote shutdown + diff-so-fancy \ # fancy diffs + python-black-git \ # python code formatter + ttf-emojione \ # emoji fonts + fortune-mod-hackers # fortune file # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # add following: + # # my modifications: + # ControlPort 9051 + # CookieAuthentication 1 + # CookieAuthFile /var/lib/tor/control_auth_cookie + # CookieAuthFileGroupReadable 1 + # DataDirectoryGroupReadable 1 + # CacheDirectoryGroupReadable 1 # workaround for tor bug # 26913 sudo systemctl start tor # start tor service nyx # configure + + # X stuff # get/configure/install dwm here vim ~/.xinitrc # add your prefered program here @@ -189,5 +202,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}} diff --git a/.stversions/data/pinebook arch installation~20181119-215718.wiki b/.stversions/data/pinebook arch installation~20181120-181844.wiki @@ -23,6 +23,7 @@ sh resize_rootfs.sh pacman -Rc xfce4 lxdm # wifi +# https://wiki.archlinux.org/index.php/NetworkManager#Regular_network_disconnects,_latency_and_lost_packets_(WiFi) ifconfig wlan0 # check current MAC address echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # change first byte of mac address to 0 echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs @@ -31,6 +32,9 @@ nmtui # pacman -S crda # get crda iw reg set FR # here set your country vim /etc/conf.d/wireless-regdom # uncomment FR +sudo pacman -S wireless_tools # grab iwlist +iwlist wlan0 scan |less # get BSSID +nmtui # lock BSSID of the AP # user useradd -m tx # create tx user @@ -41,9 +45,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -58,6 +62,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -68,16 +73,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -86,6 +91,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -106,18 +112,29 @@ makepkg -si # more packages yay -S \ - xbanish # hide cursor when a key is pressed - molly-guard \ # protect from accidental remote shutdown - python-black-git \ # python code formatter - ttf-emojione \ # emoji fonts - fortune-mod-hackers # fortune file + xbanish \ # hide cursor when a key is pressed + molly-guard \ # protect from accidental remote shutdown + diff-so-fancy \ # fancy diffs + python-black-git \ # python code formatter + ttf-emojione \ # emoji fonts + fortune-mod-hackers # fortune file # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # add following: + # # my modifications: + # ControlPort 9051 + # CookieAuthentication 1 + # CookieAuthFile /var/lib/tor/control_auth_cookie + # CookieAuthFileGroupReadable 1 + # DataDirectoryGroupReadable 1 + # CacheDirectoryGroupReadable 1 # workaround for tor bug # 26913 +sudo gpasswd -a tx tor # add tx tor tor group sudo systemctl start tor # start tor service nyx # configure + + # X stuff # get/configure/install dwm here vim ~/.xinitrc # add your prefered program here @@ -186,5 +203,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}} diff --git a/.stversions/data/pinebook arch installation~20181119-190252.wiki b/.stversions/data/pinebook arch installation~20181120-184029.wiki @@ -23,13 +23,26 @@ sh resize_rootfs.sh pacman -Rc xfce4 lxdm # wifi +# https://wiki.archlinux.org/index.php/NetworkManager#Regular_network_disconnects,_latency_and_lost_packets_(WiFi) ifconfig wlan0 # check current MAC address echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # change first byte of mac address to 0 echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs reboot # needs reboot nmtui # get network connection wifi-menu, netctl does not work correctly here + +# solutions tried to fix wifi +# set regulatory domain pacman -S crda # get crda iw reg set FR # here set your country +vim /etc/conf.d/wireless-regdom # uncomment FR + +# lock BSSID +sudo pacman -S wireless_tools # grab iwlist +iwlist wlan0 scan |less # get BSSID +nmtui # lock BSSID of the AP + +# lock the gateway +ip route add default via 192.168.1.1 dev wlan0 # user useradd -m tx # create tx user @@ -40,9 +53,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -57,6 +70,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -67,16 +81,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -85,6 +99,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -105,18 +120,29 @@ makepkg -si # more packages yay -S \ - xbanish # hide cursor when a key is pressed - molly-guard \ # protect from accidental remote shutdown - python-black-git \ # python code formatter - ttf-emojione \ # emoji fonts - fortune-mod-hackers # fortune file + xbanish \ # hide cursor when a key is pressed + molly-guard \ # protect from accidental remote shutdown + diff-so-fancy \ # fancy diffs + python-black-git \ # python code formatter + ttf-emojione \ # emoji fonts + fortune-mod-hackers # fortune file # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # add following: + # # my modifications: + # ControlPort 9051 + # CookieAuthentication 1 + # CookieAuthFile /var/lib/tor/control_auth_cookie + # CookieAuthFileGroupReadable 1 + # DataDirectoryGroupReadable 1 + # CacheDirectoryGroupReadable 1 # workaround for tor bug # 26913 +sudo gpasswd -a tx tor # add tx tor tor group sudo systemctl start tor # start tor service nyx # configure + + # X stuff # get/configure/install dwm here vim ~/.xinitrc # add your prefered program here @@ -185,5 +211,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}} diff --git a/data/pinebook arch installation.wiki b/data/pinebook arch installation.wiki @@ -29,13 +29,24 @@ echo 'options 8723cs rtw_initmac=00:...' > /etc/modprobe.d/8723cs.conf # echo -e "[main]\ndhcp=dhclient" > /etc/NetworkManager/conf.d/dhcp-client.conf # set dhcp client for ipvs reboot # needs reboot nmtui # get network connection wifi-menu, netctl does not work correctly here + +# solutions tried to fix wifi: +# set regulatory domain +# not working any better pacman -S crda # get crda iw reg set FR # here set your country vim /etc/conf.d/wireless-regdom # uncomment FR + +# lock BSSID +# not working any better sudo pacman -S wireless_tools # grab iwlist iwlist wlan0 scan |less # get BSSID nmtui # lock BSSID of the AP +# lock the gateway +# not working any better +ip route add default via 192.168.1.1 dev wlan0 + # user useradd -m tx # create tx user gpasswd -a sudo tx # add to sudo @@ -45,9 +56,9 @@ passwd tx # set a password # packages pacman -Syu pacman -S \ + ack \ # grep replacement arch-wiki-lite \ # archlinux wiki autossh \ # automatic ssh reconnection - scrot \ # take screenshots bash-completion \ # bash completions borg \ # backups dhclient \ # standalone DHCP client @@ -62,6 +73,7 @@ pacman -S \ ncdu \ # ncurses disk usage newsboat \ # feed reader nitrogen \ # wallpaper handler + scrot \ # take screenshots stow \ # for dotfiles sudo \ # execute command as another user syncthing \ # syncronize files accros devices @@ -72,16 +84,16 @@ pacman -S \ tree \ # list directories ufw \ # firewall vim \ # editor - vim-spell-fr \ # vim spell fr vim-spell-en \ # vim spell en - ack \ # grep replacement - zathura \ # document viewer - zathura-pdf-mupdf \ # pdf support for zathura + vim-spell-fr \ # vim spell fr + w3m \ # terminal browser / web dump wget \ # network downloader wpa_actiond \ # wpa daemon xkill \ # point and kill X clients xorg-server \ # X youtube-dl \ # download/stream videos from the web + zathura \ # document viewer + zathura-pdf-mupdf \ # pdf support for zathura pacman -S base-devel # for building packages pacman -Fy # to search for packages with files with pacman -Fs @@ -90,6 +102,7 @@ EDITOR=vim visudo # enable sudo group # ssh ssh-keygen +ssh-add ~/.ssh/id_rsa # locales vim /etc/locale.conf # LANG=fr_FR.UTF-8 @@ -119,10 +132,20 @@ yay -S \ # tor yay -S torsocks nyx # torsocks + tor tui -sudo vim /etc/tor/torrc # uncomment ControlPort and Cookiestuff +sudo vim /etc/tor/torrc # add following: + # # my modifications: + # ControlPort 9051 + # CookieAuthentication 1 + # CookieAuthFile /var/lib/tor/control_auth_cookie + # CookieAuthFileGroupReadable 1 + # DataDirectoryGroupReadable 1 + # CacheDirectoryGroupReadable 1 # workaround for tor bug # 26913 +sudo gpasswd -a tx tor # add tx tor tor group sudo systemctl start tor # start tor service nyx # configure + + # X stuff # get/configure/install dwm here vim ~/.xinitrc # add your prefered program here @@ -191,5 +214,5 @@ lpadmin -p dell_wifi -E -v {url} -m {model} # add a new queue # print using lpr; make ps using paps; preview with zathura -startx # hopefully it's fine +ssh-agent startx # hopefully it's fine }}}