| 10 May 2025 |
zeno | Hi, all | 20:39:35 |
zeno | Has anyone gotten screen sharing working on NixOS + KDE? It doesn't seem to work, with neither Discord, Vesktop, browser etc. | 20:40:10 |
Grimmauld (any/all) | do you have your portal installed? | 20:53:16 |
zeno | Do you mean this 👇️
...
enable = true;
wlr.enable = true;
configPackages = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
...
| 20:54:37 |
| 12 May 2025 |
Khalil Santana | It works fine for me (NixOS Unstable, last updated 2025-05-05), both on Nvidia and AMD. I'm also using Wayland | 17:53:25 |
| 10 May 2025 |
zeno | * Do you mean this? 👇️
...
enable = true;
wlr.enable = true;
configPackages = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
...
| 20:55:33 |
| 12 May 2025 |
Khalil Santana | zeno: Here's my kde.nix for reference https://termbin.com/1wmk | 17:55:08 |
| 10 May 2025 |
K900 | None of this is necessary | 21:03:11 |
| 12 May 2025 |
Khalil Santana | Assuming you're on Plasma 6, you basically need to install this kdePackages.xdg-desktop-portal-kde and reboot (I think). | 17:56:32 |
| 10 May 2025 |
K900 | The default Plasma config installs all the right portals | 21:03:19 |
| 12 May 2025 |
Khalil Santana | Oh, also you probably need pipewire/wireplumber (if you enable pipewire it defaults to enabling wireplumber AFAIK, so just enable that or enable both). | 18:00:24 |
Khalil Santana | I recommend using this test page to validate everything's working: https://mozilla.github.io/webrtc-landing/gum_test.html | 18:01:05 |
| 10 May 2025 |
K900 | I assume Discord is just broken on some ancient Electron version | 21:03:38 |
K900 | What browser are you using? | 21:03:42 |
| 12 May 2025 |
Khalil Santana | Btw, is the main #users room not available anymore? I couldn't send messages or leave it, then logged out and cleared cache and it's gone but I can't join it back | 18:32:16 |
| 10 May 2025 |
zeno | I've tried both FF and Brave | 21:04:14 |
K900 | And how does it fail? | 21:04:39 |
zeno | What about Flatpak? I thought xdg.portals.enable was required? | 21:04:40 |
K900 | It is enabled by default by the Plasma module | 21:04:49 |
zeno | Sorry, yes, it doesn't: I just get a notification if I want to share the screen and nothing happens (FF) | 21:06:28 |
zeno | In Brave, I get the option to share a tab, window, or the entire screen. I can share a tab, but trying to select window or screen just pops me back to the tab selection. | 21:08:51 |
K900 | Are you on 24.11 or 25.05? | 21:08:57 |
zeno | 24.05 | 21:09:23 |
zeno | That's the stateVersion. | 21:09:31 |
K900 | Not stateVersion | 21:10:24 |
K900 | Channel version | 21:10:26 |
zeno | Ah, unstable | 21:10:34 |
zeno | So 25.05? 🤔 | 21:10:56 |
K900 | Also, you probably want to get rid of anything related to wlroots in that config | 21:10:57 |
K900 | That may help | 21:10:59 |