gnome-flashback: fix screenshot key and screen not locking when idle#233920
gnome-flashback: fix screenshot key and screen not locking when idle#233920bobby285271 merged 1 commit intoNixOS:masterfrom
Conversation
|
LGTM 🙃 @ofborg test gnome-flashback I applied this PR to dd3626c and things became very reasonable to me, at that time there are only two bash scripts in I believe in this case there are no reasons to drop
Looks like it looks for |
|
I would probably still remove |
Three autostarted desktop services are failing to start in the gnome-flashback desktop manager service, leaving warnings in the log: gnome-flashback-clipboard gnome-flashback-idle-monitor gnome-flashback-media-keys Fix by only remove $out/libexec/gnome-flashback-metacity (which is still not useful since we implement that ourselves) instead of the entire $out/libexec. The consequence of gnome-flashback-idle-monitor not running is that the desktop manager does not get the message that the system is idle, so the screen never dims or locks.
77eaa01 to
17c59fd
Compare
|
Hi @gazally, I force-pushed your branch to apply the suggestions above (and also updated the commit message) 🙇 (gnome-flashback-compiz is gone these days) |
|
Successfully created backport PR for |
These auto-started services are failing to start in the gnome-flashback desktop manager service, leaving warnings in the log:
gnome-flashback-clipboardgnome-flashback-idle-monitorgnome-flashback-media-keysFix the failures by removing the line from
postInstallin the gnome-flashback package which is deleting the executables for those services, which the build creates in$out/libexec.gnome-flashback-idle-monitoris responsible for sending a dbus message when the system is idle, so without it the screen never dims or locks. Whengnome-flashback-media-keysis not running, using the PrtScr key to grab screenshots does not work.gnome-flashback-clipboardfrom my cursory inspection of its source deals with streaming large clipboard transfers and translating clipboard formats. I have had copy and paste fail to work on my system before this fix, and haven't seen the problem since, but I don't have a reproducible case.There's one more warning in the log about
gnome-flashback-nm-appletfailing to start, but the executable for that one is not present in$out/libexecso it seems to be a separate issue.Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)