this post was submitted on 14 Dec 2024
4 points (100.0% liked)

KDE & Plasma users

2932 readers
3 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE's software runs on GNU/Linux, BSD and other operating systems, including Windows.

founded 5 years ago
MODERATORS
 

so, I have a couple of Flatpak electron apps that need to be coerced into running under Wayland (Element, Freetube, etc.). they run fine with Xwayland, but I need xlsclients (show Xwayland apps) output to be empty for unrelated reasons. so what I'm doing is:

  1. determining where the .desktop file is, by way of right-clicking app in the Application Launcher, Edit Application, etc.
  2. reconstructing where the file actually is, as I usually get a symlink
  3. copying the file to ~/.local/share/applications/
  4. editing the file to add --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland or whatever its case may be

that's it, Plasma picks up the change almost instantly.

this seems super-convoluted, is there a better way?

you are viewing a single comment's thread
view the rest of the comments
[–] dingdongitsabear@lemmy.ml 2 points 2 months ago

yeah I remote-delete'd all the ones that were there by default and then added flathub without the --user flag, as was the custom at the time, so I guess that's the culprit. no biggie, it works this way too and the couple of apps that need to be cajoled don't need that daily. the question was about the perceived cumbersomeness about fixing, but it turns out it's due to my tinkering.