| 10 May 2025 |
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 |
zeno | Oh, ok | 21:11:09 |
zeno | I'll try that | 21:11:13 |
zeno | Should I remove GTK, too? | 21:11:21 |
K900 | Honestly | 21:12:05 |
K900 | Remove that entire thing | 21:12:07 |
K900 | And just use Plasma defaults | 21:12:11 |
zeno | Hmmm... sure, I'll try that. But what about the Flatpak stuff? I'ts dumped in there, too:
{
xdg.portal = {
enable = true; # Needs to be enabled for Flatpak to work
# wlr.enable = true;
configPackages = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
# xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
services.flatpak = { enable = true; };
# Add Flathub repository if it does not already exist
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
# System-wide Flatpak installation
environment.systemPackages = with pkgs; [
flatpak
xdg-desktop-portal
];
}
| 21:13:12 |
K900 | Flatpak is unrelated | 21:13:31 |
K900 | Remove environment.systemPackages | 21:13:40 |
K900 | The flatpak module does that for you | 21:13:44 |
K900 | And remove all of xdg.portal | 21:13:48 |
zeno | Sweet! I'll try to apply and reboot 😄 | 21:14:26 |
zeno | Alright, applied and rebooted, but it is still behaving the same way | 21:19:26 |
K900 | What does nixos-version say? | 21:24:43 |
K900 | And plasmashell --version | 21:24:46 |
zeno | 25.05.20250508.dda3dcd (Warbler)
plasmashell 6.3.5
QThreadStorage: entry 8 destroyed before end of thread 0x288b1de0
QThreadStorage: entry 2 destroyed before end of thread 0x288b1de0
QThreadStorage: entry 1 destroyed before end of thread 0x288b1de0
| 21:26:15 |