KDE Desktop - LeandroTheDev/arch_linux GitHub Wiki

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
  • qt6-webview
  • vulkan-tools
  • noto-fonts-emoji

Utils

Display Managers

Reduce shuttering in audio

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

Auto Login [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

Auto Login [Terminal]

Add

[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin YOURUSERNAMEHERE %I $TERM

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

Starting kde when logging in (Wayland)

  • vim ~/.bashrc

Insert

# Start kde when logging in tty1
if [ $(tty) == /dev/tty1 ](/LeandroTheDev/arch_linux/wiki/-$(tty)-==-/dev/tty1-); then
    startplasma-wayland
fi

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

Integrated Wallpaper Engine

You need to have wallpaper engine installed in your steam to this work

Download C compilers

  • sudo pacman -S cmake extra-cmake-modules

Compiling wallpaper engine libraries

KDE dependencies

  • sudo pacman -S qt6-webchannel qt6-webengine gstreamer-vaapi gst-plugin-pipewire gst-plugins-bad-libs gst-plugins-good gst-plugins-ugly mpv python-websockets

Installing the Plugin

  • Go to wallpaper sections and click get new plugins

image

  • Find for Wallpaper Engine

image

  • Install it and reboot
  • Go to wallpaper again and select

image

Beutiful

Rounded Corners