<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <p>The 'kinfo' command which is part of the 'kinfocenter' package
      *should* be pre-installed on any Plasma install can give you the
      following info. This includes 'KDE Plasma Version: 6.3.80' which
      you can use to determine what version of Plasma they are running.
      Alternatively, if the OS is all the same, look at the package
      info. For example "dnf list --installed | grep
      ^plasma-desktop.x86_64"</p>
    <p>kinfo<br>
      Operating System: KDE Linux 202503040256<br>
      KDE Plasma Version: 6.3.80<br>
      KDE Frameworks Version: 6.12.0<br>
      Qt Version: 6.8.2<br>
      Kernel Version: 6.13.5-arch1-1 (64-bit)<br>
      Graphics Platform: Wayland<br>
      Processors: 16 x AMD Ryzen 7 PRO 4750U with Radeon Graphics<br>
      Memory: 32 GiB of RAM (29.1 GiB usable)<br>
      Graphics Processor: AMD Radeon Graphics<br>
    </p>
    <p>Justin<br>
    </p>
    <div class="moz-cite-prefix">On 3/5/25 00:15, Данила Скачедубов
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:1288161741095928@mail.yandex.ru">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>
        <div>
          <div>
            <div>
              <p>Dear KDE Community,</p>
              <p>I hope this message finds you well. I am writing to
                seek advice on determining the KDE version
                programmatically in my Python scripts.</p>
              <p>In my scripts, I have been using the <code>kwriteconfig5</code>
                command to configure KDE settings. However, with the
                release of KDE 6, the binary name has changed to <code>kwriteconfig6</code>.
                Since my scripts run on various versions of KDE, I need
                a reliable way to determine the installed KDE version
                without relying on session environment variables.</p>
              <p>I am wondering if there is a method using D-Bus or a
                configuration file that stores this information. Any
                guidance or suggestions on how to achieve this would be
                greatly appreciated.</p>
              <p>Thank you for your time and assistance.</p>
              <p>Best regards,</p>
              <p>Daniel</p>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
  <lt-container></lt-container>
</html>