On Wed, Dec 23, 2020 at 8:59 PM Fabian Vogt
Moin,
Am Mittwoch, 23. Dezember 2020, 19:41:51 CET schrieb Sedat Dilek:
Hi Fabian,
is there an elegant way to "force" an KDE application to use the xcb platform in Plasma/Wayland?
Alternatives via terminal:
terminal$ konsole -platform xcb
terminal$ QT_QPA_PLATFORM="xcb;wayland" konsole
You could copy the .desktop file into ~/.local/share/applications/ and edit Exec= to pass -platform xcb.
That worked: user$ cp -v /usr/share/applications/org.kde.konsole.desktop ~/.local/share/applications/ $ diff -u /usr/share/applications/org.kde.konsole.desktop ~/.local/share/applications/ --- /usr/share/applications/org.kde.konsole.desktop 2020-12-02 23:00:50.000000000 +0100 +++ /home/dileks/.local/share/applications/org.kde.konsole.desktop 2020-12-24 10:54:58.370168082 +0100 @@ -1,7 +1,7 @@ [Desktop Entry] Type=Application TryExec=konsole -Exec=konsole +Exec=konsole -platform xcb Icon=utilities-terminal Terminal=false Categories=Qt;KDE;System;TerminalEmulator; - Sedat -