--- creation date: 2022-01-08 tags: [note,kde,linux,archlinux] --- # KDE A guide how to setup KDE similar to GNOME experience. * Install packages `plasma` (all and maybe uninstall `discover` later) * Install some apps: `partitionmanager ark gwenview okular kcalc kdiff3` * Install `latte-dock` for a reasonable dock * (**optional**) For KDE's Software Center (Discover), install backends `packagekit-qt5` * Adapt styles * Adapt Font Settings according to screenshot * Use `Breeze Twilight` as global theme * Adapt GTK style to also use `Breeze` * Maybe qdbus is slow when shutting down, use `/desktop/` files and drag to desktop from a location, then add as Widget and move to top panel * Import keybindings from files * (**optional**) Firefox KDE: https://wiki.archlinux.org/index.php/Firefox#KDE_integration * Install `xdg-desktop-portal xdg-desktop-portal-kde` * Different uses of _meta_ key * Native _"show all"_ windows ```sh kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,ExposeAll"; qdbus org.kde.KWin /KWin reconfigure; ``` * Native _"show current workspace"_ windows ```sh kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,Expose"; qdbus org.kde.KWin /KWin reconfigure; ``` * kwin script _Parachute_ to simulate behavior which requires https://github.com/tcorreabr/Parachute (via _AUR_) ```sh kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,Parachute"; qdbus org.kde.KWin /KWin reconfigure; ``` * Set default applications (e.g. Terminal) * Use systemd start instead of boot scripts: `kwriteconfig5 --file startkderc --group General --key systemdBoot true` * Maybe sync the following configuration files to track changes ```sh .config/kdeglobals .config/kglobalshortcutsrc .config/khotkeysrc .config/krunnerrc .config/kwinrc .config/kwinrulesrc .config/kwalletrc .config/dolphinrc .config/latte .config/lattedockrc .config/syncthingtray.ini .config/rsibreakrc .config/plasma-localerc ```