Dear KDE Community,

I hope this message finds you well. I am writing to seek advice on determining the KDE version programmatically in my Python scripts.

In my scripts, I have been using the kwriteconfig5 command to configure KDE settings. However, with the release of KDE 6, the binary name has changed to kwriteconfig6. 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.

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.

Thank you for your time and assistance.

Best regards,

Daniel

Reply via email to