Open poscat0x04 opened 4 years ago
For some DMs it's not even possible to use an external WM.
I recommend adding two additional attributes to DMs, the first is whether the DM is able to use an external WM, the second is a function that takes a WM and returns a string (the xsession script)
Hello, I'm a bot and I thank you in the name of the community for opening this issue.
To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.
The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.
Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.
Describe the bug Right now the generated xsession script simply starts the window manager then starts the desktop manager, this is not ideal for the following reasons:
KDEWM
where gnome takes a command-line argument. So I think the function that generates xsession script (xsession
, in this case) should be defined in the DM's module instead of a top-level module (you could, but you'll need to distinguish DMs so that's essentially the same (something something expressions problem)).