adamwojdecki / config

My Linux config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fedora 40

Installation

NVidia drivers

ZSH

Apps / libs

Docker

Synergy (X11 only)

Window management

  • install jump script to /usr/local/bin/jump, https://askubuntu.com/a/189603
  • add shortcut for Terminator: jump terminator
  • add shortcut to Home Folder (Super + E)
  • add shortcut for screenshot (Shift+Ctrl+3, Shift+Ctrl+4)
  • remove shortcut for 'Move window' (Alt + F7) as it's used by Intellij

Increase scroll speed in Chrome

Firewalld

Gnome

  • install gnome-tweaks (dnf)
  • install dconf-editor (dnf)
  • install gnome-shell-extension-appindicator
  • install gnome-shell-extension-dash-to-dock
  • install gnome-shell-extension-netspead
  • install gnome-shell-extension-openweather

Gnome

  • dark mode: Settings -> Appearance -> Dark
  • change placement of titlebar buttons to left: Tweaks -> Titlebars -> Titlebar Buttons -> Placement: Left
  • remove maximize titlebar button: Tweaks -> Titlebars -> Maximize: false
  • disable middle click paste: Tweaks -> Middle Click Paste -> disable
  • add weekday to date: Settings -> System -> Date & TIme
  • auto-hide dock: Settings -> Appearance -> Auto-hide Dock
  • minimize on app click in dock: gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
  • enable automatic Night Light: Settings -> Displays

Gnome shortcuts

  • standard Gnome dash: Fn+[number]
  • extra shortcuts using dconf-config:
    • /org/gnome/shell/extensions/dash-to-dock/
    • app-hotkey-5
    • add another shortcut, i.e.: ['5', 'q']

Gnome Extensions

  • Install "Extension Manager" from Software
  • Just Perfection
    • animation speed: Almost None
    • hide Activities button
  • Vitals
  • OpenWeather
  • NetSpeed
  • System-monitor (check prerequistes)
  • Sensory Perception (check prerequistes)

Set up VPN

Guide: https://help.ubuntu.com/lts/serverguide/openvpn.html

  • copy your keys to ~/.ssh
  • add profile in Settings -> Network
  • route only needed traffic via VPN check Use this connection only for resources on its network (IPv4+IPv6)
  • enable .local addresses: http://superuser.com/a/706318
  • in case of DNS issue with VPN (split DNS not configured, see this and this) you can disable systemd-resolved:
  sudo systemctl disable systemd-resolved.service
  sudo service systemd-resolved stop
  sudo rm /etc/resolv.conf
  sudo vi /etc/NetworkManager/NetworkManager.conf
  -> add "dns=default" under [main]
  sudo service NetworkManager restart

Make Intellij shortcuts work as on Mac (last checked in Ubuntu 18.04)

  • swap ctrl and cmd key in mappings http://stackoverflow.com/a/14119752
    • get mac mappings from home/adam/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/***.****.**/lib/resources.jar -> idea/Keymap_Mac.xml
    • update it, swap control with meta
    • then copy over to /home/adam/.IntelliJIdea****.*/config/keymaps
    • issue with id=TestGestureAction: better to remove it due to com.intellij.openapi.util.InvalidDataException: Attribute 'keystroke' cannot be null; Action's id=TestGestureAction;
  • in Intellij add this to Custom Properties (menu Help -> Edit VM Custom Properties): keymap.windows.as.meta=true`

Adjust file limits if needed (for Intellij and Chrome)

About

My Linux config


Languages

Language:Shell 100.0%