Skip to content
Snippets Groups Projects
workspace-bootstrap.md 3.57 KiB
Newer Older
Recolic Keghart's avatar
Recolic Keghart committed
# Reproduce recolic's workspace
Recolic Keghart's avatar
Recolic Keghart committed
> If you're in fucking China, change all `recolic.net` to breakwall domain (such as recolic.cc). 

## Server mode (Ring0)
Recolic Keghart's avatar
Recolic Keghart committed
> Run everything as root

- Install ArchLinux

Recolic Keghart's avatar
Recolic Keghart committed
Extra: `pacman -S --noconfirm fish dhcpcd vim sudo openssh`
Recolic Keghart's avatar
Recolic Keghart committed
## GUI Workspace
Recolic Keghart's avatar
Recolic Keghart committed
useradd --create-home --shell /usr/bin/fish recolic
Recolic Keghart's avatar
Recolic Keghart committed
passwd recolic
Recolic Keghart's avatar
Recolic Keghart committed
echo 'recolic ALL=(ALL) NOPASSWD: ALL' | sudo EDITOR='tee -a' visudo
Recolic Keghart's avatar
Recolic Keghart committed
pacman -S --noconfirm gnome networkmanager
systemctl enable gdm NetworkManager
reboot
Recolic Keghart's avatar
Recolic Keghart committed
> Now, reboot and enter gnome terminal, run everything below as recolic, in fish, in /home/recolic
sudo pacman -S --noconfirm base-devel thunderbird firefox telegram-desktop docker    pcsclite ccid    git inetutils wget
Recolic Keghart's avatar
Recolic Keghart committed

sudo systemctl enable pcscd.service --now
gpg --keyserver keyserver.ubuntu.com --recv-keys E3933636
set -gx SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket) # already in fish.config
Recolic Keghart's avatar
Recolic Keghart committed
echo pinentry-timeout 0 > ~/.gnupg/gpg-agent.conf
Recolic Keghart's avatar
Recolic Keghart committed
echo "#pinentry-program /usr/bin/pinentry-gnome3" >> ~/.gnupg/gpg-agent.conf
Recolic Keghart's avatar
Recolic Keghart committed
echo enable-ssh-support >> ~/.gnupg/gpg-agent.conf
Recolic Keghart's avatar
Recolic Keghart committed
echo 93AC57E30E88111EC71D9215A1B436AFE705C71C > ~/.gnupg/sshcontrol
gpg-connect-agent reloadagent /bye
Recolic Keghart's avatar
Recolic Keghart committed
#set -g GPG_TTY (tty)
#gpg-connect-agent updatestartuptty /bye
Recolic Keghart's avatar
Recolic Keghart committed

git clone git@git.recolic.net:/root/scripts.git /home/recolic/sh
Recolic Keghart's avatar
Recolic Keghart committed
- gnome configure

TODO: move this section to scripts/README.md
# TODO: install extensions
# TODO: touchpad tap-to-click
# TODO: add recolic-aur to pacman.conf and install gnome-terminal-transparency
Recolic Keghart's avatar
Recolic Keghart committed

gsettings set org.gnome.desktop.interface enable-hot-corners false
Recolic Keghart's avatar
Recolic Keghart committed
gsettings set org.gnome.desktop.media-handling automount false
gsettings set org.gnome.desktop.media-handling automount-open false
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Shift><Alt>Left']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['<Shift><Alt>Right']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "['<Shift><Alt>Up']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "['<Shift><Alt>Down']"
gsettings set org.gnome.desktop.wm.keybindings move-to-monitor-left "['<Super><Shift>Left']"
gsettings set org.gnome.desktop.wm.keybindings move-to-monitor-right "['<Super><Shift>Right']"
gsettings set org.gnome.desktop.wm.keybindings move-to-monitor-up "['<Super><Shift>Up']"
gsettings set org.gnome.desktop.wm.keybindings move-to-monitor-down "['<Super><Shift>Down']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Primary>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Primary><Shift>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab', '<Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab', '<Shift><Alt>Tab']"
gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot-clip "['disabled']"
gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot-clip "['<Primary>Print']"
gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot "['disabled']"
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot-clip "['<Primary><Shift>Print']"
gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot "['Print']"
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot "['<Shift>Print']"
Recolic Keghart's avatar
Recolic Keghart committed
```
Recolic Keghart's avatar
Recolic Keghart committed

Recolic Keghart's avatar
Recolic Keghart committed
- thunderbird

Config editor: set `mail.openpgp.allow_external_gnupg` to true.   
AccountSettings -> Composition -> WhenQuoting: start my reply above the quote, and `place my signature` below my reply. 


Recolic Keghart's avatar
Recolic Keghart committed