Setup: update & move out user config
This commit is contained in:
parent
c772724cac
commit
5531ddb2d1
@ -11,7 +11,7 @@ Here's my personal Debian 12 Bookworm setup.
|
|||||||
- Optional:
|
- Optional:
|
||||||
- `sudo apt install gnome-firmware gnome-games gnome-nettool gnome-packagekit gnome-passwordsafe \
|
- `sudo apt install gnome-firmware gnome-games gnome-nettool gnome-packagekit gnome-passwordsafe \
|
||||||
gnome-shell-pomodoro gnome-usage gthumb mkvtoolnix-gui openjdk-17-jdk pulseeffectsqpdf ranger \
|
gnome-shell-pomodoro gnome-usage gthumb mkvtoolnix-gui openjdk-17-jdk pulseeffectsqpdf ranger \
|
||||||
syncplay virtualbox-qt`
|
syncplay virtualbox-qt podman`
|
||||||
- FlatHub:
|
- FlatHub:
|
||||||
- `flatpak remote-add --if-not-exists flathub
|
- `flatpak remote-add --if-not-exists flathub
|
||||||
https://flathub.org/repo/flathub.flatpakrepo`
|
https://flathub.org/repo/flathub.flatpakrepo`
|
||||||
|
@ -4,26 +4,27 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
|
|
||||||
- Set font size in Terminal to 15 and initial column count to 85
|
- Set font size in Terminal to 15 and initial column count to 85
|
||||||
- Must haves:
|
- Must haves:
|
||||||
- `sudo apt install curl ddcutil deja-dup earlyoom ffmpeg flatpak git gnome-boxes gnome-clocks \
|
- `sudo apt install curl ddcutil deja-dup earlyoom endeavour ffmpeg flatpak git gnome-boxes \
|
||||||
gnome-software-plugin-flatpak gnome-sound-recorder endeavour gnome-weather goldendict gparted \
|
gnome-clocks gnome-software-plugin-flatpak gnome-sound-recorder gnome-weather goldendict \
|
||||||
keepassxc mosh mpv needrestart obs-studio shadowsocks-libev sshfs synaptic tmux trash-cli ufw \
|
gparted keepassxc mpv needrestart obs-studio ripgrep shadowsocks-libev sshfs synaptic tmux \
|
||||||
vim-gtk3 vlc wl-clipboard rg
|
trash-cli ufw vim-gtk3 vlc wl-clipboard`
|
||||||
- Optional:
|
- Optional:
|
||||||
- `sudo apt install gnome-firmware gnome-games gnome-nettool gnome-packagekit gnome-passwordsafe \
|
- `sudo apt install gnome-firmware gnome-games gnome-nettool gnome-packagekit gnome-passwordsafe \
|
||||||
gnome-shell-pomodoro gnome-usage gthumb mkvtoolnix-gui openjdk-17-jdk pulseeffectsqpdf ranger \
|
gnome-shell-pomodoro gnome-usage gthumb mkvtoolnix-gui openjdk-17-jdk pulseeffectsqpdf ranger \
|
||||||
syncplay virtualbox-qt heif-gdk-pixbuf heif-thumbnailer asciinema`
|
syncplay virtualbox-qt heif-gdk-pixbuf heif-thumbnailer asciinema`
|
||||||
- Remove all snaps:
|
- Remove all snaps:
|
||||||
- ```
|
- ```
|
||||||
# if this command fails, unmount the snap mounts as reported by `mount` and try again
|
# if this command fails, do the following then try again:
|
||||||
|
# sudo umount /var/snap/firefox/common/host-hunspell
|
||||||
sudo apt autoremove --purge snapd
|
sudo apt autoremove --purge snapd
|
||||||
sudo apt-mark hold snapd
|
sudo apt-mark hold snapd
|
||||||
trash ~/snap
|
trash ~/snap
|
||||||
```
|
```
|
||||||
- FlatHub:
|
- FlatHub:
|
||||||
- `flatpak remote-add --if-not-exists flathub
|
- `flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`
|
||||||
https://flathub.org/repo/flathub.flatpakrepo`
|
|
||||||
- Allocate 8GiB for swap
|
- Allocate 8GiB for swap
|
||||||
```
|
```
|
||||||
|
# if /swapfile already exists
|
||||||
sudo swapoff /swapfile
|
sudo swapoff /swapfile
|
||||||
sudo fallocate -l 8GiB /swapfile
|
sudo fallocate -l 8GiB /swapfile
|
||||||
sudo chmod 0600 /swapfile
|
sudo chmod 0600 /swapfile
|
||||||
@ -51,6 +52,17 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
- `gcc-arm-linux-gnueabihf`
|
- `gcc-arm-linux-gnueabihf`
|
||||||
- Virtualbox
|
- Virtualbox
|
||||||
- `sudo usermod -aG vboxusers $(whoami)`
|
- `sudo usermod -aG vboxusers $(whoami)`
|
||||||
|
- Birdtray
|
||||||
|
- `$ sudo apt install birdtray`
|
||||||
|
- Configure it by running `birdtray` and clicking on the tray icon
|
||||||
|
- In Startup Applications Preference:
|
||||||
|
- Name: `Birdtray`
|
||||||
|
- Command: `sh -c "sleep 20 && /usr/bin/birdtray"`
|
||||||
|
- Comment: `Minimize to tray for Thunderbird`
|
||||||
|
- Wait for bugs to be fixed before removing sleep:
|
||||||
|
- <https://github.com/gyunaev/birdtray/issues/362>
|
||||||
|
- <https://github.com/gyunaev/birdtray/issues/430>
|
||||||
|
- Hiding: check all except hide/show by clicking icon
|
||||||
|
|
||||||
## UFW
|
## UFW
|
||||||
|
|
||||||
@ -66,29 +78,10 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
|
|
||||||
- gnome-tweaks
|
- gnome-tweaks
|
||||||
- `sudo apt install gnome-tweaks`
|
- `sudo apt install gnome-tweaks`
|
||||||
- Swap capslock and ESC in `Keyboard & Mouse` -> `Additional Layout Options`
|
|
||||||
-> `Caps Lock behavior`
|
|
||||||
- Change `Mouse Click Emulation` to `Area`
|
|
||||||
- Turn on weekdays and battery percentage in `Top Bar`
|
|
||||||
- Flat mouse acceleration profile
|
|
||||||
- Turn off suspend when closing lid
|
|
||||||
- Extensions
|
- Extensions
|
||||||
- `sudo apt install gnome-shell-extensions`
|
- `sudo apt install gnome-shell-extensions`
|
||||||
- Turn on:
|
|
||||||
- `Applications menu`
|
|
||||||
- `Places status indicator`
|
|
||||||
- `Windownavigator`
|
|
||||||
- `Workspace Indicator`
|
|
||||||
- Note: to manually install Gnome extensions, unzip it and copy the `uuid`
|
|
||||||
field in `metadata.json` and rename the directory to this name, then move
|
|
||||||
to `~/.local/share/gnome-shell/extensions` and logout and login.
|
|
||||||
- GSConnect
|
- GSConnect
|
||||||
- `sudo apt install gnome-shell-extension-gsconnect`
|
- `sudo apt install gnome-shell-extension-gsconnect`
|
||||||
- Uncheck SFTP auto mount
|
|
||||||
- Add commands:
|
|
||||||
- `Lock`: `loginctl lock-session`
|
|
||||||
- `Quack`: `ffplay -v quiet -nodisp -autoexit ~/Music/'.Not
|
|
||||||
Music'/Ringtones/Quack.mp3`
|
|
||||||
- UFW:
|
- UFW:
|
||||||
- `sudo ufw allow 1716:1764/tcp`
|
- `sudo ufw allow 1716:1764/tcp`
|
||||||
- `sudo ufw allow 1716:1764/udp`
|
- `sudo ufw allow 1716:1764/udp`
|
||||||
@ -96,42 +89,15 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
- `flatpak install flathub com.github.tchx84.Flatseal`
|
- `flatpak install flathub com.github.tchx84.Flatseal`
|
||||||
- Firefox
|
- Firefox
|
||||||
- `flatpak install flathub org.mozilla.firefox`
|
- `flatpak install flathub org.mozilla.firefox`
|
||||||
- Change default zoom to 110%
|
|
||||||
- Enable HTTPS only
|
|
||||||
- Proxy DNS when using SOCKS v5
|
|
||||||
- Enable DNS over HTTPS
|
|
||||||
- In `about:config` set `browser.sessionstore.max_windows_undo` to 10.
|
|
||||||
- Use Wayland for correct fractional scaling:
|
- Use Wayland for correct fractional scaling:
|
||||||
`sudo flatpak override --socket=wayland --env=MOZ_ENABLE_WAYLAND=1
|
`sudo flatpak override --socket=wayland --env=MOZ_ENABLE_WAYLAND=1
|
||||||
org.mozilla.firefox`
|
org.mozilla.firefox`
|
||||||
- Go to settings -> `Region & Language` and install `Chinese (simplified)`.
|
- Go to settings -> `Region & Language` and install `Chinese (simplified)`.
|
||||||
- VSCodium
|
|
||||||
- `flatpak install flathub com.vscodium.codium`
|
|
||||||
- OBS Studio
|
- OBS Studio
|
||||||
- `$ sudo apt install qtwayland5`
|
- `$ sudo apt install qtwayland5`
|
||||||
- On Ubuntu <22.10, in `/usr/share/applications/com.obsproject.Studio.desktop`, replace
|
- On Ubuntu <22.10, in `/usr/share/applications/com.obsproject.Studio.desktop`, replace
|
||||||
`Exec=obs` with `Exec=sh -c '[ "$XDG_SESSION_TYPE" = "wayland" ] && obs
|
`Exec=obs` with `Exec=sh -c '[ "$XDG_SESSION_TYPE" = "wayland" ] && obs
|
||||||
-platform wayland || obs'`
|
-platform wayland || obs'`
|
||||||
- Birdtray
|
|
||||||
- `$ sudo apt install birdtray`
|
|
||||||
- Configure it by running `birdtray` and clicking on the tray icon
|
|
||||||
- In Startup Applications Preference:
|
|
||||||
- Name: `Birdtray`
|
|
||||||
- Command: `sh -c "sleep 20 && /usr/bin/birdtray"`
|
|
||||||
- Comment: `Minimize to tray for Thunderbird`
|
|
||||||
- Wait for bugs to be fixed before removing sleep:
|
|
||||||
- <https://github.com/gyunaev/birdtray/issues/362>
|
|
||||||
- <https://github.com/gyunaev/birdtray/issues/430>
|
|
||||||
- Hiding: check all except hide/show by clicking icon
|
|
||||||
- Gnome Calendar
|
|
||||||
- Add Google accounts in online accounts
|
|
||||||
- On older versions of Ubuntu < 22.04, not tested for 22.04:
|
|
||||||
- Wait for a bit, it's kinda buggy but it will work at the end (wait for ~2
|
|
||||||
days)
|
|
||||||
- Golden Dict
|
|
||||||
- Import dictionaries in `~/.software/goldendict/stardict-cc-cedict`
|
|
||||||
- Don't search in dictionaries contains more then 10000 articles
|
|
||||||
- <https://einverne.github.io/post/2018/08/goldendict.html>
|
|
||||||
- Xournal++
|
- Xournal++
|
||||||
- `sudo apt install xournalpp texlive-latex-extra`
|
- `sudo apt install xournalpp texlive-latex-extra`
|
||||||
- < Ubuntu 22.04
|
- < Ubuntu 22.04
|
||||||
@ -141,20 +107,14 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
- cameractrls
|
- cameractrls
|
||||||
- `flatpak install hu.irl.cameractrls`
|
- `flatpak install hu.irl.cameractrls`
|
||||||
- Minecraft
|
- Minecraft
|
||||||
- TODO: PolyMC just had some problems
|
- `flatpak install flathub org.prismlauncher.PrismLauncher`
|
||||||
- To host servers: `sudo ufw allow 25565/tcp`
|
- To host servers: `sudo ufw allow 25565/tcp`
|
||||||
- Bottles
|
- Bottles
|
||||||
- `flatpak install flathub com.usebottles.bottles`
|
- `flatpak install flathub com.usebottles.bottles`
|
||||||
- Check file system permission with Flatseal
|
|
||||||
- Discord
|
- Discord
|
||||||
- `flatpak install flathub com.discordapp.Discord`
|
- `flatpak install flathub com.discordapp.Discord`
|
||||||
- Check file system permission with Flatseal
|
|
||||||
- Slack
|
- Slack
|
||||||
- `flatpak install flathub com.slack.Slack`
|
- `flatpak install flathub com.slack.Slack`
|
||||||
- Check file system permission with Flatseal
|
|
||||||
- Zoom
|
|
||||||
- `flatpak install flathub us.zoom.Zoom`
|
|
||||||
- Check file system permission with Flatseal
|
|
||||||
|
|
||||||
## Optional Apps
|
## Optional Apps
|
||||||
|
|
||||||
@ -194,6 +154,8 @@ Here's my personal Ubuntu 22.10 setup. (Make sure to enable Wayland on Nvidia!)
|
|||||||
- Enabled `Mark modified (*)`
|
- Enabled `Mark modified (*)`
|
||||||
- Disable both `Save files on frame deactivation` and `Save files
|
- Disable both `Save files on frame deactivation` and `Save files
|
||||||
automatically if application is idle`
|
automatically if application is idle`
|
||||||
|
- Zoom
|
||||||
|
- `flatpak install flathub us.zoom.Zoom`
|
||||||
|
|
||||||
## Grub background
|
## Grub background
|
||||||
|
|
||||||
@ -231,7 +193,7 @@ sudo chmod -R 700 /opt/grub
|
|||||||
|
|
||||||
```
|
```
|
||||||
# trusted PPA from mosh developer for truecolor support
|
# trusted PPA from mosh developer for truecolor support
|
||||||
# sudo add-apt-repository ppa:keithw/mosh-dev
|
sudo add-apt-repository ppa:keithw/mosh-dev
|
||||||
sudo apt install -y openssh-server mosh
|
sudo apt install -y openssh-server mosh
|
||||||
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
|
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
|
||||||
sudo cp ../system/sshd/sshd_config /etc/ssh/sshd_config
|
sudo cp ../system/sshd/sshd_config /etc/ssh/sshd_config
|
||||||
@ -247,7 +209,7 @@ sudo ufw allow 60001:60999/udp
|
|||||||
sudo systemctl reload sshd
|
sudo systemctl reload sshd
|
||||||
```
|
```
|
||||||
|
|
||||||
## See logs as admin
|
## See logs as admin (if not yet in `adm` group)
|
||||||
|
|
||||||
`sudo usermod -aG adm $(whoami)`
|
`sudo usermod -aG adm $(whoami)`
|
||||||
|
|
||||||
|
@ -17,11 +17,49 @@ directory.
|
|||||||
- Go to `Multitasking` and choose `Workspaces on all displays` and `Hot Corner`
|
- Go to `Multitasking` and choose `Workspaces on all displays` and `Hot Corner`
|
||||||
- Application switching?
|
- Application switching?
|
||||||
|
|
||||||
|
## Gnome Tweaks
|
||||||
|
|
||||||
|
- Swap capslock and ESC in `Keyboard & Mouse` -> `Additional Layout Options`
|
||||||
|
-> `Caps Lock behavior`
|
||||||
|
- Change `Mouse Click Emulation` to `Area`
|
||||||
|
- Turn on weekdays and battery percentage in `Top Bar`
|
||||||
|
- Flat mouse acceleration profile
|
||||||
|
- Turn off suspend when closing lid
|
||||||
|
|
||||||
|
## Gnome Extensions
|
||||||
|
|
||||||
|
- Turn on:
|
||||||
|
- `Applications menu`
|
||||||
|
- `Places status indicator`
|
||||||
|
- `Windownavigator`
|
||||||
|
- `Workspace Indicator`
|
||||||
|
- Note: to manually install Gnome extensions, unzip it and copy the `uuid`
|
||||||
|
field in `metadata.json` and rename the directory to this name, then move
|
||||||
|
to `~/.local/share/gnome-shell/extensions` and logout and login.
|
||||||
|
- GSConnect
|
||||||
|
- Uncheck SFTP auto mount
|
||||||
|
- Add commands:
|
||||||
|
- `Lock`: `loginctl lock-session`
|
||||||
|
- `Quack`: `ffplay -v quiet -nodisp -autoexit ~/Music/'.Not
|
||||||
|
Music'/Ringtones/Quack.mp3`
|
||||||
|
|
||||||
## Firefox
|
## Firefox
|
||||||
|
|
||||||
- Check open previous windows and tabs
|
- Check open previous windows and tabs
|
||||||
- Setup Multi-Account Containers
|
- Setup Multi-Account Containers
|
||||||
- Change shortcuts to `Ctrl`+<#>
|
- Change shortcuts to `Ctrl`+<#>
|
||||||
|
- Change default zoom to 120%
|
||||||
|
- Enable HTTPS only
|
||||||
|
- Enable DNS over HTTPS
|
||||||
|
- Proxy DNS when using SOCKS v5
|
||||||
|
- In `about:config` set `browser.sessionstore.max_windows_undo` to 10.
|
||||||
|
|
||||||
|
## Gnome Calendar
|
||||||
|
|
||||||
|
- Add Google accounts in online accounts
|
||||||
|
- On older versions of Ubuntu < 22.04, not tested for 22.04:
|
||||||
|
- Wait for a bit, it's kinda buggy but it will work at the end (wait for ~2
|
||||||
|
days)
|
||||||
|
|
||||||
## VS Codium
|
## VS Codium
|
||||||
|
|
||||||
@ -58,5 +96,11 @@ sudo apt install pavucontrol
|
|||||||
Source: <https://miyacogbf.github.io/mlgb/only-game-sound/>
|
Source: <https://miyacogbf.github.io/mlgb/only-game-sound/>
|
||||||
|
|
||||||
## [Golden Dict](https://einverne.github.io/post/2018/08/goldendict.html)
|
## [Golden Dict](https://einverne.github.io/post/2018/08/goldendict.html)
|
||||||
- Import dictionaries in `~/.software/goldendict/stardict-cc-cedict`
|
|
||||||
- Don't search in dictionaries contains more then 10000 articles
|
- Import dictionaries in `~/.software/goldendict/stardict-cc-cedict`
|
||||||
|
- Don't search in dictionaries contains more then 10000 articles
|
||||||
|
- <https://einverne.github.io/post/2018/08/goldendict.html>
|
||||||
|
|
||||||
|
## Flatseal
|
||||||
|
|
||||||
|
Check all apps, especially proprietary ones' file permissions
|
||||||
|
Loading…
Reference in New Issue
Block a user