Skip to content
Snippets Groups Projects
workspace-bootstrap.md 2.29 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). 

Recolic Keghart's avatar
Recolic Keghart committed
## GUI Workspace
Recolic K's avatar
Recolic K committed
> After installing Arch Linux, run as root

Recolic Keghart's avatar
Recolic Keghart committed
```
pacman -Sy --noconfirm fish dhcpcd vim sudo openssh
Recolic Keghart's avatar
Recolic Keghart committed
useradd --create-home --shell /usr/bin/fish recolic
Recolic Keghart's avatar
Recolic Keghart committed
echo 'recolic ALL=(ALL) NOPASSWD: ALL' | sudo EDITOR='tee -a' visudo
Recolic's avatar
Recolic committed
pacman -Sy --noconfirm gnome networkmanager power-profiles-daemon nextcloud-client firefox
systemctl enable gdm NetworkManager power-profiles-daemon
Recolic's avatar
Recolic committed

### Require Input
passwd recolic
Recolic's avatar
Recolic committed
> Reboot. Log into gnome as recolic, login Nextcloud.
Recolic's avatar
Recolic committed
**After Nextcloud sync complete**, run **as recolic**:
Recolic's avatar
Recolic committed

```
bash ~/Nextcloud/workspace/init.bash
Recolic's avatar
Recolic committed
<!--
Recolic's avatar
Recolic committed
# doesn't work for intel NIC
Recolic's avatar
Recolic committed
echo "options cfg80211 ieee80211_regdom=AU" >> /etc/modprobe.d/cfg80211.conf
echo "options cfg80211 internal_regdb=y" >> /etc/modprobe.d/cfg80211.conf
echo "options cfg80211 crda_support=y" >> /etc/modprobe.d/cfg80211.conf
pacman -S --noconfirm wireless-regdb
-->

Recolic Keghart's avatar
Recolic Keghart committed
- gnome configure

Recolic's avatar
Recolic committed
**After Nextcloud sync complete**, enable and config your plugins.
Recolic K's avatar
Recolic K committed

- OPT: thunderbird
Recolic Keghart's avatar
Recolic Keghart committed

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

- OPT: libreoffice

Select `Tools>Options>LibreOffice Writer>Formatting Aids` from the menu. For Image/Anchor you can select: `As Character` .
Recolic Keghart's avatar
Recolic Keghart committed

Recolic's avatar
Recolic committed
Select `Tools -> Autocorrect -> Autocorrect Options` from the menu, then `Localized options`, uncheck everything. 

Select `Tools -> Autocorrect -> Autocorrect Options` from the menu, then `Options`, uncheck everything. 
Recolic's avatar
Recolic committed
`Tools -> Options -> LibreOffice Calc -> General -> Measurement unit`, change to `Centimeter`

Recolic's avatar
wf  
Recolic committed
- OPT: CLion

~~Must use Clion 2022.1, do not upgrade because of severe performance downgrade.
Add `-fsized-deallocation` to clangd flags in `Settings | Languages & Frameworks | C/C++ | Clangd`.~~
Recolic's avatar
wf  
Recolic committed

Recolic's avatar
Recolic committed
[starting 2023] Disable `reopen projects on startup` <https://stackoverflow.com/questions/5362036/how-to-prevent-open-last-projects-when-intellij-idea-starts>
Recolic's avatar
wf  
Recolic committed

- OPT: microsoft devbox setup
Refer to <https://git.recolic.net/root/ms-scripts/-/blob/master/notes/workspace-bootstrap-ms.md>
Recolic's avatar
Recolic committed
- OPT: wayland fix

Set /etc/environment

```
QT_QPA_PLATFORM=wayland
```