docs: Updates after Qubes install

This commit is contained in:
Michel 2024-08-29 10:41:51 +02:00
parent 0c9fd34a4f
commit e16d481bf8
2 changed files with 36 additions and 16 deletions

View File

@ -54,7 +54,9 @@ git apply --stat --apply 2604.patch
apt install --no-install-recommends \
aptitude \
curl fd-find fzf git grc ripgrep \
vim-nox vim-tiny- wget xdg-utils \
vim-nox vim-tiny- wget xdg-utils xsel \
libarchive-tools trash-cli \
kitty-terminfo
dpkg-divert --rename --divert /usr/bin/fd /usr/bin/fdfind
dpkg-divert --rename --divert /usr/share/man/man1/fd.1.gz \
@ -120,6 +122,8 @@ _remote_ section of `.dotfiles/config`:
### Install into `/etc/skel`
```sh
sudo vi /etc/adduser.conf
sudo mkdir -p /etc/skel/.dotfiles
sudo chown $(whoami) /etc/skel /etc/skel/.dotfiles
sudo chown $(whoami) -R /etc/skel/.config
@ -150,6 +154,10 @@ lazygit --git-dir=/etc/skel/.dotfiles --work-tree=/etc/skel
- [SysRq](https://www.kicksecure.com/wiki/SysRq)
- `sudo cp -aiv ~/.aptitude /root`
- Zsh completion “already initialized”
- <https://github.com/Kicksecure/desktop-config-dist>
- /etc/zsh/zshrc_completions
- comment out the `compinit -u` line
## Qubes Specific {#qubes}
@ -210,6 +218,11 @@ for Plugin in $(asdf plugin list); { echo $Plugin; asdf list $Plugin }
TODO: [Where are all the installed flatpak apps .desktop files located](https://github.com/flatpak/flatpak/issues/1286)
#### Qubes Integration
- <https://dataswamp.org/~solene/2023-09-15-flatpak-on-qubesos.html>
- `/etc/qubes/post-install.d/10-qubes-core-agent-appmenus.sh`
#### Kicksecure Wiki
- [Install Additional Software Safely](https://www.kicksecure.com/wiki/Install_Software)
@ -217,8 +230,7 @@ TODO: [Where are all the installed flatpak apps .desktop files located](https://
Applications installed using Flatpak:
Qube settings → applications tab → press "Refresh Applications".
- [Bootstrapping a Trust path To Flathub Repository Signing Key](https://www.kicksecure.com/wiki/Dev/flatpak)
- WiP
- Not needed with package `anon-apt-sources-list`???
- NOTE: Not needed with package `anon-apt-sources-list`
- <https://github.com/Kicksecure/anon-apt-sources-list>
```sh
@ -269,10 +281,13 @@ dpkg -i *.deb
- [Cheat Sheet](https://www.nerdfonts.com/cheat-sheet)
- <https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/bin/scripts/test-fonts.sh>
- `xfce4-appearance-settings`
- <http://www.lagom.nl/lcd-test/subpixel.php>
### in $HOME/.fonts
```sh
mv folder ~/.fonts
mv *(/) ~/.fonts
fc-cache -fv ~/.fonts
```
@ -291,9 +306,10 @@ See also [How to install and manage fonts on Linux](https://linuxconfig.org/how-
```sh
sudo mkdir -p /opt/fonts
sudo mv folder /opt/fonts
sudo mv -i *(/) /opt/fonts
sudo chown root:root -R /opt/fonts
fc-cache -fv /opt/fonts
sudo chmod go+rX -R /opt/fonts
sudo fc-cache -fv /opt/fonts
```
## kitty {#kitty}
@ -331,8 +347,7 @@ sudo apt install kitty
sh ~/.config/kitty/installer.sh
# In /opt/kitty.app
# Insert Proxy export at top of installer
sudo sh ~/.config/kitty/installer.sh launch=n dest=/opt
sudo --preserve-env=ALL_PROXY sh ~/.config/kitty/installer.sh launch=n dest=/opt
sudo update-alternatives \
--install /usr/bin/x-terminal-emulator \
x-terminal-emulator /opt/kitty.app/bin/kitty 99
@ -382,7 +397,8 @@ wget $LOCATION
sudo mkdir -p /opt/lazygit/bin
cd /opt/lazygit/bin
sudo tar xf ${OLDPWD}/*.tar.gz(om[1])
sudo chown root:root -R *
sudo chown root:root -R /opt/lazygit
sudo chmod go+rX -R /opt/lazygit
```
### From Go Package
@ -418,9 +434,11 @@ sudo mkdir -p /opt/neovim/bin
cd /opt/neovim/bin
sudo =curl-proxy -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod ugo+x nvim.appimage
ln -sf nvim.appimage nvim
ln -sf nvim.appimage vi
sudo mv ~/Downloads/nvim.appimage /opt/neovim/bin
sudo chown root:root nvim.appimage
sudo chmod ugo+rx nvim.appimage
sudo ln -sf nvim.appimage nvim
sudo ln -sf nvim.appimage vi
cd $HOME
nvim --version
@ -459,19 +477,21 @@ bat ~/.config/nvim/README.md
```sh
# From repository
mkdir -p ~/dev; cd ~/dev
mkdir -p ~/dev_3rd; cd ~/dev_3rd
git clone https://github.com/jarun/nnn.git
# Compile
cd nnn
make clean
# into /usr/local
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
sudo cp -v misc/auto-completion/zsh/* /usr/local/share/zsh/site-functions
sudo chmod -v a+r /usr/local/share/zsh/site-functions/*
# into /opt
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 PREFIX=/opt/nnn install
sudo mkdir -p /opt/zsh/site-functions
sudo cp -v misc/auto-completion/zsh/* /opt/zsh/site-functions
sudo chmod -v a+r /opt/zsh/site-functions/*
@ -479,4 +499,6 @@ sudo chmod -v a+r /opt/zsh/site-functions/*
mv -v ~/.config/nnn/plugins $HOME/nnn_plugins_$(stat -c %Y ~/.config/nnn/plugins)
mkdir -p ~/.config/nnn
cp -av plugins ~/.config/nnn
sudo mkdir -p /etc/skel/.config/nnn
sudo cp -av plugins /etc/skel/.config/nnn
```

View File

@ -49,9 +49,7 @@ detect_os() {
amd64|x86_64) arch="x86_64";;
aarch64*) arch="arm64";;
armv8*) arch="arm64";;
i386) arch="i686";;
i686) arch="i686";;
*) die "Unknown CPU architecture $(command uname -m)";;
*) die "kitty binaries not available for architecture $(command uname -m)";;
esac
;;
*) die "kitty binaries are not available for $(command uname)"