This is to prevent conflicts that xfce4-power-manager and logind can have. Add nouveau.modeset0 to the line that says GRUBCMDLINELINUX'' so that it finally looks like this GRUBCMDLINELINUX'nouveau.modeset0'. BUT xfce4-power-manager inhibits logind handling suspend/hibernate and its keys. Edit the grub file by editing it with sudo access. systemd-logind is started in daemon mode.tool: loginclt (Send control commands to or query the login manager) 1 In the past you could enable this behavior under lxde with various combinations of xscreensaver-command -lock and/or xss-lock, but these options apparently no longer work under systemd.There are two managers used at the same time. The article states: As screen lockers may return before the screen is 'locked', the screen may flash on resuming from suspend. Voir aussi : configuration de gnome-screensaver Power management (suspend, hibernate.) Understanding the mess Related to xscreensaver doesn't stop fadeout correctly, I've set up a suspendUSER service which runs /usr/bin/xscreensaver-command -lock to lock the screen when closing the laptop lid. Xfconf-query -channel xfce4-session -property /general/LockCommand -create -type string -set "gnome-screensaver-command -lock" Pour cela il teste l'existence des lockers les uns après les autres jusqu'a ce que l'un d'entre eux réponde.Ī partir d'Ubuntu 19.10, une propriété permet de forcer le screensaver si besoin: → Note: properties are not created by xfce4-screensaver-preferences when using default valuesĬ'est en fait un simple script qui recherche un locker (généralement un screensaver avec l'option -lock) a qui il délègue la tâche de vérouiller l'écran. /bin/sh Lock xscreensaver on resume from a suspend. /saver/idle-activation/enabled true/false → autostart screensaver after idle time (delay)./saver/enabled true/false → full kill switch.IMPORTANT Xfce screensaver is available since Xfce 4.14 (released in. Name: XScreenSaver Command: xscreensaver Comment: XScreenSaver LAPTOP LIDS WITHOUT SYSTEMD BSD systems or other systems without systemd(1) or elogind(8) might have luck by adding ' xscreensaver-command -suspend ' to some appropriate spot in /etc/acpi/events/anything or in /etc/acpi/handler.sh, if those files exist.
0 Comments
Leave a Reply. |