diff --git a/instructions.org b/instructions.org index ea389ec..7f50a54 100644 --- a/instructions.org +++ b/instructions.org @@ -1,6 +1,8 @@ #+title: Instructions -setting up the system and packages +** information + +This org document is a list of instructions on how to install the whole setup of my personal system, including installation of standalone programs. ** installing fedora minimal with btrfs snapshots (snapper) @@ -65,7 +67,7 @@ for building/installing packages, also some dependencies for doomemacs, and zsh. sudo dnf install curl ca-certificates make automake gcc gcc-c++ kernel-devel git util-linux-user zsh ntpsec dnf-plugins-core golang flatpak cmake libevdev-devel systemd-devel yaml-cpp-devel boost-devel ripgrep fd-find ShellCheck tar pip npm #+END_SRC -** get dotfiles +** installing dotfiles #+BEGIN_SRC sh # getting dotfiles @@ -82,6 +84,7 @@ mkdir -p ~/.config/shell mkdir -p ~/.config/mpd mkdir -p ~/.config/zsh mkdir -p ~/.config/newsboat +mkdir -p ~/.config/nvim cd ~/.dots/home/ && stow default --target=$HOME/ #+END_SRC @@ -92,7 +95,7 @@ cd ~/.dots/home/ && stow default --target=$HOME/ cd ~/.dots/home/ && stow -D default --target=$HOME/ #+END_SRC -** rpmfusion +** setting up rpmfusion from https://rpmfusion.org/Configuration and https://rpmfusion.org/Howto/Multimedia @@ -128,7 +131,7 @@ the other dependency not included in packages.txt is `pup` (included in a sectio sudo dnf install -y $(cat ~/.dots/packages.txt) #+END_SRC -** sudoers +** configuring sudoers Allow wheel users to sudo with password and allow several system commands (like `shutdown` to run without password). @@ -167,7 +170,7 @@ https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ ** doom emacs -first we need marked for markdown support +first we need to install marked for markdown support #+BEGIN_SRC sh sudo npm install -g marked @@ -191,7 +194,7 @@ mkdir -p $HOME/.cache/lf ** interception tools (keyboard input mappings) -change caps lock to escape (pressed) and mod (held down) +change caps lock to escape (when pressed) and mod (when held down) INSTALL FROM SOURCE @@ -243,10 +246,13 @@ pip install autotiling==1.8 ** sc-im (terminal spreadsheet) -from https://github.com/andmarti1424/sc-im/wiki/Installing-on-Fedora-36--(packaged) +from https://github.com/andmarti1424/sc-im/wiki/Installing-on-Fedora-27 #+BEGIN_SRC sh -sudo dnf copr enable marcusmueller/sc-im -sudo dnf install sc-im +sudo dnf install libzip-devel libxml2-devel ncurses-devel byacc git gcc gnuplot +git clone https://github.com/andmarti1424/sc-im.git +cd sc-im/src/ +make +sudo make install #+END_SRC ** nsxiv (image viewer) @@ -256,7 +262,7 @@ dnf copr enable mamg22/nsxiv dnf install nsxiv #+END_SRC -** pip +** pip packages *** keepmenu (dmenu keepassxc client) https://github.com/firecat53/keepmenu/blob/main/docs/install.md#install-recommended @@ -286,6 +292,25 @@ go install github.com/ericchiang/pup@latest #+END_SRC ** packages from source/binaries +*** simple-mtpfs (for mounting usb) + +install dependencies: +#+begin_src sh +sudo dnf install libgcc fuse-devel libmtp-devel autoconf-archive +#+end_src + +https://github.com/phatina/simple-mtpfs#installation + +#+begin_src sh +git clone https://github.com/phatina/simple-mtpfs +cd simple-mtpfs +./autogen.sh +mkdir build && cd build +../configure +make +sudo make install +#+end_src + *** mpvpaper animated wallpapers (used by `change-background`) @@ -319,7 +344,23 @@ tar -xvf ../.tar.xz sudo cp 7zz /usr/local/bin/ #+END_SRC -#+RESULTS: +** AppImages +*** syncplay + +from https://syncplay.pl/download/ +#+begin_src sh +curl -LOv https://github.com/Syncplay/syncplay/releases/download/v1.7.0/Syncplay-1.7.0-x86_64.AppImage +chmod +x Syncplay-*.AppImage +mv Syncplay-*.AppImage ~/.local/bin/syncplay +#+end_src + +** installing cargo +https://doc.rust-lang.org/cargo/getting-started/installation.html + +#+BEGIN_SRC shell +curl https://sh.rustup.rs -sSf | sh +# choose to customize installation, and choose `no` when it asks to modify PATH variable. +#+END_SRC ** setting up flatpak @@ -337,7 +378,7 @@ sudo usermod -a -G vboxusers default ** flatpak packages -remember to set permissions, especially access to personal files according to what you want the software to have before launching them. +remember to set permissions with Flatseal, especially access to personal files according to what you want the software to have before launching them. *** flatseal @@ -404,16 +445,8 @@ flatpak install flathub io.github.hrkfdn.ncspot flatpak install flathub com.spotify.Client #+END_SRC -** installing cargo -https://doc.rust-lang.org/cargo/getting-started/installation.html - -#+BEGIN_SRC shell -curl https://sh.rustup.rs -sSf | sh -# choose to customize installation, and choose `no` when it asks to modify PATH variable. -#+END_SRC - -** other -*** crashes with wayland under amd gpus +* fixes +** crashes with wayland under amd gpus see https://bbs.archlinux.org/viewtopic.php?id=270468 https://forum.manjaro.org/t/graphics-glitches-freeze-up-with-new-comp-error-ring-gfx-timeout/55979/6 @@ -432,7 +465,3 @@ power_dpm_force_performance_level: high * todos ** TODO write dependencies and programs to separate files ** add packages -*** TODO add simple-mtpfs -dnf package unmaintained -*** TODO add syncplay -the copr repository batmanfeynman/syncplay is unmaintained diff --git a/packages.txt b/packages.txt index 154dab3..a35f29b 100644 --- a/packages.txt +++ b/packages.txt @@ -127,6 +127,13 @@ mono-devel VirtualBox virtualbox-guest-additions @virtualization -texlive-scheme-basic +texlive-scheme-full +texlive-dvipng rofi kanshi +gvfs-mtp +usbutils +android-tools +java-1.8.0-openjdk +java-17-openjdk +easyeffects