-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pantheon: manage user session with systemd #140429
Conversation
Is this ready to test? Asking because it's marked as draft. |
Yes, I am using this on my physical machine. @ofborg test pantheon |
6b12858
to
c6c0457
Compare
c6c0457
to
e2b74ff
Compare
systemd.packages = [ | ||
pkgs.gnome.gnome-settings-daemon338 | ||
systemd.packages = with pkgs; [ | ||
gnome.gnome-settings-daemon338 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to have both?
@@ -71,7 +72,7 @@ let | |||
export XDG_DATA_DIRS=@out@/share:$XDG_DATA_DIRS | |||
|
|||
# Start pantheon session. Keep in sync with upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add a link where upstream has it defined?
This seem to work. Tested:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me and work.
I updated the PR description. I guess I should close this for now to avoid confusions, I don't plan to merge this for now. I will re-open this or reflect this changes in other PR when ready. I am keeping the branch for anyone who wants to test this. |
I noticed today that i can't always click, for example moving windows or make a different window active by clicking on it don't always work, i have to click in different places. Also, hotkeys for screenshot does not work anymore. Screenshots using the app work. Keyboard keys for volume up, down and mute don't work anymore. In the browser file save dialog, i can't click "Save", a workaround is to click once in the Name field. Nothing related in logs. |
I can reproduce the keyboard keys issue but not other yet, also night light no longer works for me. I guess it will be nice to report the issue upstream as I don't know how to deal with these downstream currently. Anyway I am tracking this in https://github.com/NixOS/nixpkgs/projects/21#card-73471036 so we can make sure we revisit this when doing Pantheon 7 update. |
The described problems are actually not related to systemd session. They also occur with latest stable NixOS 21.11.334139.1bd4bbd49be. |
For me, at least the keyboard keys issue happens only with |
e5b8bdc
to
25276c0
Compare
Now also applied #233981 (comment). gnome-session!93 will likely happen in GNOME 46. |
1b06cb0
to
3e1539a
Compare
3e1539a
to
47578c3
Compare
47578c3
to
7fc4990
Compare
7fc4990
to
af4d6f9
Compare
af4d6f9
to
3137d87
Compare
This is now needed as gnome-session 46 drops `--builtin` option.
…on for Pantheon See Nixpkgs pull request 233981.
This is changed after we manage session with systemd, as [email protected] has `ExecStart=@bindir@/gala`.
Otherwise it doesn't autostart after user session managed by systemd.
Which is manually added in the nixos module.
3137d87
to
bf2ba6e
Compare
elementary/session-settings#73 has been merged, I would like to land this soon |
Motivation for this change
Fixes #101817
Things done