OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        kde-plasma-6.7.5p0

        Package search / Categories / Current snapshot
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        Current snapshot ยท amd64

        KDE Plasma desktop meta-package (base installation)

        Project homepage: https://kde.org

        Description

        The KDE Plasma Desktop Environment, base installation. Contains core KDE Plasma plus: * Dolphin - file manager * Konsole - terminal emulator * Kmix - sound channel mixer and volume control

        Package information

        Ports path
        meta/kde,-plasma
        Package architecture
        *
        Maintainer
        The OpenBSD ports mailing-list <ports@openbsd.org>
        Categories
        meta
        Available flavors
        None listed
        Only for architectures
        aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Runtime

        • x11/kde-plasma/aurorae
        • x11/kde-plasma/breeze
        • x11/kde-plasma/breeze-gtk
        • x11/kde-plasma/kactivitymanagerd
        • x11/kde-plasma/kde-cli-tools
        • x11/kde-plasma/kde-gtk-config
        • x11/kde-plasma/kdecoration
        • x11/kde-plasma/kdeplasma-addons
        • x11/kde-plasma/kgamma5
        • x11/kde-plasma/kinfocenter
        • x11/kde-plasma/kmenuedit
        • x11/kde-plasma/kscreen
        • x11/kde-plasma/kscreenlocker
        • x11/kde-plasma/ksshaskpass
        • x11/kde-plasma/ksystemstats
        • x11/kde-plasma/kwayland
        • x11/kde-plasma/kwin
        • x11/kde-plasma/kwin-x11
        • x11/kde-plasma/kwrited
        • x11/kde-plasma/layer-shell-qt
        • x11/kde-plasma/libkscreen
        • x11/kde-plasma/libksysguard
        • x11/kde-plasma/libplasma
        • x11/kde-plasma/milou
        • x11/kde-plasma/oxygen
        • x11/kde-plasma/oxygen-sounds
        • x11/kde-plasma/plasma-activities
        • x11/kde-plasma/plasma-activities-stats
        • x11/kde-plasma/plasma-browser-integration
        • x11/kde-plasma/plasma-desktop
        • x11/kde-plasma/plasma-nano
        • x11/kde-plasma/plasma-pa
        • x11/kde-plasma/plasma-sdk
        • x11/kde-plasma/plasma-workspace
        • x11/kde-plasma/plasma-workspace-wallpapers
        • x11/kde-plasma/polkit-kde-agent-1
        • x11/kde-plasma/spectacle
        • x11/kde-plasma/powerdevil
        • x11/kde-plasma/print-manager
        • x11/kde-plasma/qqc2-breeze-style
        • x11/kde-plasma/systemsettings
        • x11/kde-plasma/union
        • x11/kde-plasma/xdg-desktop-portal-kde
        • x11/kde-applications/dolphin
        • x11/kde-applications/kdesdk-thumbnailers
        • x11/kde-applications/kmix
        • x11/kde-applications/konsole

        Build

        • devel/kf6/extra-cmake-modules STEM->=6.31.0
        • graphics/vulkan-headers
        • x11/qt6/qttools
        OpenBSD README

        This README contains unresolved ports variables; replace them before using its commands.

        +-----------------------------------------------------------------------
        | Running kde-plasma on OpenBSD
        +-----------------------------------------------------------------------
        
        X11 Startup
        ===========
        KDE Plasma desktop environment is launched through the 'startplasma-x11'
        executable. Simply add '${LOCALBASE}/bin/startplasma-x11' to your .xinitrc
        or .xsession script if you use startx(1) or xenodm(1), respectively. You can
        find an example below. The 'XDG_RUNTIME_DIR' should be present before calling
        'startplasma-x11'
        
        export XDG_RUNTIME_DIR=/tmp/run/$(id -u)
        if [ ! -d $XDG_RUNTIME_DIR ]; then
            mkdir -m 700 -p $XDG_RUNTIME_DIR
        fi
        
        if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
            eval `dbus-launch --sh-syntax --exit-with-x11`
        fi
        
        ${LOCALBASE}/bin/ck-launch-session ${LOCALBASE}/bin/startplasma-x11
        
        Logging out and shutting down the computer
        ==========================================
        If your user is part of the _shutdown group and thus can execute shutdown(8),
        you should be able to shutdown/logout without further configuration.
        
        Otherwise, halting and rebooting from KDE Plasma require consolekit2 and
        polkit-kde-agent: you'll need to run a systemwide D-BUS service
        
        # rcctl enable messagebus
        
        If you don't want to use messagebus/polkit-kde-agent, you can still configure
        doas(1) to allow your user to run shutdown/halt -p without having to enter a
        password, and create a launcher executing 'doas shutdown -p' (or doas halt -p).
        
        Power management
        ================
        If you use KDE Plasma on a laptop, make sure that the powerdevil package
        is installed, which will provide battery levels/information, and will
        allow to configure actions upon low battery level or AC plugging. For
        proper function, it requires messagebus and upowerd running. If using
        consolekit2 and polkit-kde-agent, it will also allow you to suspend the
        laptop from the logout dialog.
        
        Resource limits
        ===============
        
        The "default" login-class resource limits are too conservative for KDE Plasma
        users. It is recommended to use the login-class "kde" for all KDE Plasma
        users.
        
        Depending on the application and if KDE widgets or plasmashell (you will find a
        plasmashell.core in your $HOME) constantly crash, the value must be set
        correspondingly higher.
        
        You can easily change the login class with the following command:
        
        # usermod -L kde your-user-name
        
        You might want to consider increasing the kern.maxfiles tunable. Many services
        and applications need to monitor activity of a lot of files.
        
        # sysctl kern.maxfiles=65535
        # echo "kern.maxfiles=65535" >> /etc/sysctl.conf
        
        Touch screen calibration
        ========================
        xtsscale(1) can be used for touch screen calibration, however it will not
        work under kwin, as a workaround, you can kill kwin first, calibrate your
        screen, then launch kwin_x11 again.
        
        Screen compositor
        =================
        You can deactivate the screen compositor under: "System Setting" -> "Display
        Configuration" -> "Compositor" or in `~/.config/kwinrc":
        
        [Compositing]
        Enabled=false
        
        It is also possible to use a window manager other than KWin with Plasma.
        
        export KDEWM=${LOCALBASE}/bin/picom
        
        Desktop search
        ==============
        The auto start Baloo file indexer is disabled by default on OpenBSD. However,
        KDE Plasma automatically starts the indexer anyway. To disable it, go to
        "Search" -> "File Search" in Systemsettings, or run this command after your
        first startup:
        
        ${LOCALBASE}/bin/balooctl6 enable
        
        Wayland
        =======
        The KDE Plasma Wayland support is currently experimental and **does not work
        out-of-box yet**. You can use the following script to test it:
        
        #! /bin/sh
        
        export XDG_RUNTIME_DIR=/tmp/run/$(id -u)
        if [ ! -d $XDG_RUNTIME_DIR ]; then
            mkdir -m 700 -p $XDG_RUNTIME_DIR
        fi
        
        GROUP=`id -g $USER`
        
        doas chown $USER:$GROUP /dev/console
        if [ -c /dev/dri/card0 ]; then
            doas chown $USER:$GROUP /dev/dri/card0
        fi
        if [ -c /dev/dri/renderD128 ]; then
            doas chown $USER:$GROUP /dev/dri/renderD128
        fi
        
        # You can try and play with this options:
        export KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/renderD128
        export WAYLAND_DISPLAY=wayland-0
        export LIBSEAT_BACKEND=consolekit2
        #export QT_QPA_PLATFORM=wayland
        #export XDG_SESSION_TYPE=wayland
        
        if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
        	eval $(dbus-launch --sh-syntax )
        fi
        
        ${LOCALBASE}/bin/ck-launch-session ${LOCALBASE}/bin/startplasma-wayland
        
        KDE PIM and Akonadi
        ===================
        KDE PIM applications like Akonadi, KMail, and Kontact use large messages on the
        local machine. The default size on OpenBSD is too small, which causes local
        connection issues, and Akonadi-based applications will be flaky (e.g. mailboxes
        do not display, messages cannot be found).
        
        Increasing the buffer size is recommended:
        
        # sysctl net.unix.stream.recvspace=65536
        # echo "net.unix.stream.recvspace=65536" >> /etc/sysctl.conf
        
        # sysctl net.unix.stream.sendspace=65536
        # echo "net.unix.stream.sendspace=65536" >> /etc/sysctl.conf
        
        Known issues
        ============
        - The first start may take a little longer.
        - Touchscreen configuration does not work
        
        Not yet ported Plasma applications/plugins
        ==========================================
         - aura-browser
         - bluedevil
         - breeze-plymouth
         - discover
         - drkonqi
         - flatpak-kcm
         - kwallet-pam
         - plank-player
         - plasma-bigscreen
         - plasma-disks
         - plasma-firewall
         - plasma-integration
         - plasma-mobile
         - plasma-nm
         - plasma-remotecontrollers
         - plasma-systemmonitor
         - plasma-thunderbolt
         - plasma-vault
         - plasma-welcome
         - plymouth-kcm
         - sddm-kcm
        
        Cheat sheet
        ===========
        # Replace plasmashell and kwin
        $ plasmashell --replace
        $ kwin_{x11,wayland} --replace
        
        Support
        =======
        Please help to improve this situation and report what works well and what does
        not. So that issues are known and a solution can be worked on. Please provide
        reports with debugging information:
        
        ${LOCALBASE}/bin/qdbus-qt6 org.kde.KWin /KWin supportInformation
        
        You can also output all error/info messages by starting `startplasma-x11` with
        the following options and provide a full error log.
        
        export QT_FORCE_STDERR_LOGGING=1
        export QT_LOGGING_RULES="*=true"
        
        Used by (1 dependency relationships)

        Includes library, runtime, build and test dependencies.

        Package guides

        • Installing and updating packages
        • Set up a desktop environment
        • Set up an OpenBSD workstation

        Package details as JSON

        Report a bug