Skip to content

KDE Desktop

Lean's edited this page Sep 27, 2024 · 58 revisions

Download

Desktop

  • sudo pacman -S plasma-desktop konsole dolphin

Wayland support

  • Highly recommend to use hybrid graphics if your system supports it, because nvidia is very mess with wayland

Wayland drm mode for nvidia users (if you are using nvidia to display wayland)

  • sudo vim /etc/default/grub

Implement

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1"

Drivers

Display drivers

  • kscreen
  • kde-gtk-config
  • Enable in Startup and Shutdown -> Background Services -> GNOME/GTK...

Sound Drivers

Choose one of:

  • Pipewire [Recommended by BoboDev]

  • pipewire

  • pipewire-jack

  • pipewire-pulse

  • pipewire-alsa

  • lib32-pipewire-jack

  • Jack

  • jack2

  • lib32-jack2

  • a2jmidid

  • Pulseaudio

  • pulseaudio-alsa

  • pulseaudio-bluetooth

  • pulseaudio-equalizer

  • pulseaudio-jack

  • pulseaudio-lirc

  • pulseaudio-zeroconf

  • KDE

  • wireplumber

  • plasma-pa

  • systemctl --user enable wireplumber.service pipewire.service pipewire-pulse.service

  • reboot

KDE Drivers

  • breeze-gtk
  • bluedevil
  • If you are using the bluetooth

  • plasma-nm
  • plasma-vault
  • qt5-webview
  • vulkan-tools
  • noto-fonts-emoji

Utils

Reduce shuttering in audio

  • renice -n -15 -p $(pgrep pipewire)

Auto Login

Recomended to do this with sddm

  • sudo vim /etc/sddm.conf.d/autologin.conf
  • Add
[Autologin]
User=john
Session=plasma

You also can find sessions in /usr/share/xsessions/ for Xorg or /usr/share/wayland-sessions/ for Wayland

Starting kde with startx command (Xorg)

  • sudo pacman -S xorg-xinit
  • sudo cp /etc/X11/xinit/xinitrc ~/.xinitrc
  • sudo vim ~/.xinitrc

Remove lasts lines and add

exec startplasma-x11
  • startx

Locked when loggin in

  • Add this command to the startup commands: loginctl lock-session

Disable KWallet

Everyone hates this

  • vim ~/.config/kwalletrc
  • Edit
[Wallet]
Enabled=false
  • sudo vim /usr/share/dbus-1/services/org.kde.kwalletd5.service
  • Comment
#Exec=/usr/bin/kwalletd5

Auto Login KWallet

  • sudo pacman -S kwallet-pam
  • Add empty password to kwallet
  • Changing password
  • KWalletManager

Clone this wiki locally