Newer
Older
> If you're in fucking China, change all `recolic.net` to breakwall domain (such as recolic.cc).
pacman -Sy --noconfirm fish dhcpcd vim sudo openssh
echo 'recolic ALL=(ALL) NOPASSWD: ALL' | sudo EDITOR='tee -a' visudo
echo 'kernel.sysrq=1' >> /etc/sysctl.d/99-sysctl.conf
pacman -Sy --noconfirm gnome networkmanager power-profiles-daemon
echo '[recolic-aur]
SigLevel = Optional TrustAll
Server = https://drive.recolic.cc/mirrors/recolic-aur' >> /etc/pacman.conf
sed -i 's/^[# ]*ParallelDownloads =[ 0-9A-Za-z]*$/ParallelDownloads = 5/g' /etc/pacman.conf
sed -i 's/^[# ]*SystemMaxUse=[ 0-9A-Za-z]*$/SystemMaxUse=150M/g' /etc/systemd/journald.conf
sed -i 's/^[# ]*SystemMaxFileSize=[ 0-9A-Za-z]*$/SystemMaxFileSize=30M/g' /etc/systemd/journald.conf
> Now, reboot and enter gnome terminal, run everything below **as recolic**, in **fish**
sudo pacman -Sy --noconfirm nextcloud-client firefox
```
Login Nextcloud. **After Nextcloud sync complete**, run:
```
bash ~/Nextcloud/workspace/init.bash
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
-->
**After Nextcloud sync complete**, enable and config your plugins.
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`.
- OPT: libreoffice
Select `Tools>Options>LibreOffice Writer>Formatting Aids` from the menu. For Image/Anchor you can select: `As Character` .
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.
`Tools -> Options -> LibreOffice Calc -> General -> Measurement unit`, change to `Centimeter`
~~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`.~~
[starting 2023] Disable `reopen projects on startup` <https://stackoverflow.com/questions/5362036/how-to-prevent-open-last-projects-when-intellij-idea-starts>
Refer to <https://git.recolic.net/root/ms-scripts/-/blob/master/notes/workspace-bootstrap-ms.md>