27 Aug 2024 |
K900 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | 17:33:26 |
aloisw | Wait so LANG got set to C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell ? | 17:34:02 |
K900 | YES | 17:34:30 |
K900 | AND THAT'S WHY HE GOT THE "FALLING BACK TO C.UTF-8" WARNING | 17:34:40 |
K900 | WHICH HE ENCODED WRONG | 17:34:46 |
K900 | FUCKASS | 17:34:50 |
K900 | God I want to revert this so bad | 17:35:00 |
K900 | Just to make a point | 17:35:04 |
aloisw | Mär 20 10:13:46 magnesium sddm-helper-start-wayland[1838]: "kwin_xkbcommon: XKB: couldn't find a Compose file for locale \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\" (mapped to \"C.UTF-8 QT_WAYLAND_SHELL_INTEGRATION=layer-shell\")\n"
It was right there from the beginning… | 17:36:58 |
aloisw | And the other question that remains: what the heck did it use other than layer-shell that seemed to work? | 17:37:57 |
K900 | xdg-shell probably | 17:38:17 |
K900 | And thankfully no one figured out how to spawn another window | 17:38:25 |
aloisw | Not that you can't spawn other windows with layer-shell, I think the Wayland socket should still be protected properly. | 17:39:24 |
K900 | Well yes but then you can alt-tab to that window from the greeter | 17:40:06 |
aloisw |
- Why does that not work with layer-shell? 2. How do you even get that window when the Wayland socket is protected properly?
| 17:41:33 |
K900 | layer-shell just makes the greeter the background, more or less | 17:42:19 |
K900 | Kind of like the X root window | 17:42:23 |
K900 | And for 2), uh, some weird qt/ime abuse thing? | 17:42:32 |
K900 | The socket is in /var/lib/sddm owned by the sddm user | 17:42:39 |
K900 | So it should not be directly exploitable without physical access at least | 17:42:50 |
aloisw | error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "layer-shell-qt" at /nix/store/qb3bg0gsfbzvi1mh07blgg5nmx6c7f0a-nixpkgs/pkgs/applications/display-managers/sddm/default.nix:5
Do you get that too or am I patching my nixpkgs wrong? | 17:46:40 |
K900 | Uhhhh | 17:47:36 |
K900 | I think I know what that is | 17:47:46 |
aloisw | Seems that sddm is built in qt6Packages , but layer-shell-qt only in plasma. | 17:50:20 |
K900 | Yeah forgot to commit one bit | 17:50:25 |
K900 | Try now | 17:50:29 |
aloisw | Confirmed it's using xdg-shell right now btw (well at least it's the only library with shell in the same it has loaded). | 17:51:09 |
28 Aug 2024 |
aktaboot | wouldn't it make sense to have kdePackages.qtbase come in with plasma by default ?
| 19:49:52 |
aktaboot | actually I say this because xdg-mime from xdg-utils script calls qtpaths from qtbase if on KDE | 19:56:01 |
K900 | It's wrong anyway, it should be calling uhhh idk something else | 23:21:57 |