1
0
Fork 0
knowledge-base/KB/Linux/Desktop/KDE/KDE.md

2.4 KiB

creation date tags
2022-01-08
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

      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

      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)

      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

    .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