Talk:Elogind

Suggestion about Suspend to hibernate with elogind
When laptop is suspended to ram, it uses very little power, so when the battery runes out user is forced to fully boot up the machine.

There are two ways to prevent this situation: Hibernate with hybrid-sleep, or use  command with the real-time wake timer hook to allow system to wake up and perform hibernate to disk with.

Solution is similar to Sabayon's wiki https://wiki.sabayon.org/index.php?title=Auto_hibernate_after_suspend, but it fully uses  command so   becomes obsolete.

First You have to create folder  for sleep hooks, and/or   for shutdown hooks.

Then, in  place script:

You need to add executable permission with:  and reboot machine.

Kernel configuration needs updating
I can't find "[*] Simplified Mandatory Access Control Kernel Support" on my kernel 4.13.5 configuration.

Maybe it could be worth also specifying the actual CONFIG_* -variables too? Then tell to enable them using provided script (inside scripts -directory inside the kernel source directory). After applying the changes then users would need to run "make oldconfig". --Zucca (talk) 17:58, 24 October 2017 (UTC)


 * Sure. Can you update the article? The kernel configuration option is CONFIG_SECURITY_SMACK . Cateee is a wonderful site. Kind regards, --Maffblaster (talk) 19:03, 26 October 2017 (UTC)


 * Likely addressed by [//wiki.gentoo.org/index.php?title=Elogind&diff=prev&oldid=705846 this edit]: "Enable different security models" must be enabled to make the option visible. The contents of the  template are correct at least for the 4.14-series, so marking as done. — GuillermoDH (talk) 18:53, 8 December 2018 (UTC)

Please describe life without elogind (USE=-elogind)
As I understand we need this for some desktop environments (for example XFCE) when do not want systemd, also for reboot/poweroff without root and mounting without root. Right now I am trying USE=-elogind:

Vitaly-zdanevich (talk) 02:24, 17 April 2020 (UTC)

startx integration not need when sys-apps/dbus is installed
sys-apps/dbus-1.12 installs the file /etc/X11/xinit/xinitrc.d/80-dbus which already seems to contain the dbuslaunch command:
 * 1) !/bin/bash


 * 1) launches a session dbus instance

dbuslaunch="`which dbus-launch 2>/dev/null`" if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then if [ -n "$command" ]; then command="$dbuslaunch --exit-with-session $command" else eval `$dbuslaunch --sh-syntax --exit-with-session` fi fi

--EoD (talk)