public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] News Item: Desktop profile switching USE default to elogind
@ 2019-10-28  2:19 Andreas Sturmlechner
  2019-10-28 12:26 ` [gentoo-dev] " Rich Freeman
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2019-10-28  2:19 UTC (permalink / raw
  To: pr; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 4037 bytes --]

Title: Desktop profile switching USE default to elogind
Author: Andreas Sturmlechner <asturm@gentoo.org>
Content-Type: text/plain
Posted: 2019-10-31
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: sys-auth/consolekit
Display-If-Profile: default/linux/alpha/17.0/desktop
Display-If-Profile: default/linux/amd64/17.0/desktop
Display-If-Profile: default/linux/amd64/17.0/desktop/plasma
Display-If-Profile: default/linux/amd64/17.1/desktop
Display-If-Profile: default/linux/amd64/17.1/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/armv4/desktop
Display-If-Profile: default/linux/arm/17.0/armv4/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/armv4t/desktop
Display-If-Profile: default/linux/arm/17.0/armv4t/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/armv5te/desktop
Display-If-Profile: default/linux/arm/17.0/armv5te/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/armv6j/desktop
Display-If-Profile: default/linux/arm/17.0/armv6j/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/armv7a/desktop
Display-If-Profile: default/linux/arm/17.0/armv7a/desktop/plasma
Display-If-Profile: default/linux/arm/17.0/desktop
Display-If-Profile: default/linux/arm/17.0/desktop/plasma
Display-If-Profile: default/linux/arm64/17.0/desktop
Display-If-Profile: default/linux/arm64/17.0/desktop/plasma
Display-If-Profile: default/linux/hppa/17.0/desktop
Display-If-Profile: default/linux/ia64/17.0/desktop
Display-If-Profile: default/linux/m68k/17.0/desktop
Display-If-Profile: default/linux/powerpc/ppc32/17.0/desktop
Display-If-Profile: default/linux/powerpc/ppc64/17.0/32bit-userland/desktop
Display-If-Profile: default/linux/powerpc/ppc64/17.0/64bit-userland/desktop
Display-If-Profile: default/linux/sh/17.0/desktop
Display-If-Profile: default/linux/sparc/17.0/64ul/desktop
Display-If-Profile: default/linux/sparc/17.0/desktop
Display-If-Profile: default/linux/x86/17.0/desktop
Display-If-Profile: default/linux/x86/17.0/desktop/plasma

ConsoleKit2 is unmaintained upstream for almost two years [1]. There are many 
longstanding bugs and papercuts with consumers that aren't being fixed, not 
least because these code paths receive very little testing.

Enter the elogind project [2], which is a standalone logind implementation 
based on systemd code, currently maintained by a fellow Gentoo user. We have 
had sys-auth/elogind available in Gentoo since the beginning of 2017, and 
meanwhile it has gained support [3] in KDE Plasma, Gnome [4], Cinnamon, MATE 
and Xfce, as well as most other former consolekit consumers.

Consequently, the desktop profile is switching away from consolekit to elogind. 
Users of sys-auth/consolekit who selected a different profile should consider 
doing the same. A guide is available [5]. Migration is easy, but if run from 
within a consolekit session that session may become broken.

Rely either on the profile, or set USE="elogind -consolekit" in make.conf 
yourself. Make sure there is no consolekit debris in /etc/portage/package.use:

# grep -R consolekit /etc/portage/package.use

Rebuild all affected consumers and remove sys-auth/consolekit:

# emerge --ask --changed-use --deep world
# emerge --unmerge consolekit

Optional, but recommended in case of trouble such as missing reboot/shutdown 
capabilities in the DM:

# rc-update add elogind boot

For users of startx instead of one of the supported DMs, do not forget to 
update ~/.xinitrc accordingly (ck-launch-session is gone without replacement).

PS: Subsequently, this will lead to the last-riting of sys-power/pm-utils [6]
which is dead even longer than the original ConsoleKit(1) project. KDE Plasma 
users sticking with sys-auth/consolekit are then going to lose suspend from 
GUI without superuser rights.

[1] https://github.com/ConsoleKit2/ConsoleKit2
[2] https://github.com/elogind/elogind
[3] https://bugs.gentoo.org/show_bug.cgi?id=elogind-support
[4] https://blogs.gentoo.org/leio/2019/03/26/gnome-3-30/
[5] https://wiki.gentoo.org/wiki/Elogind
[6] https://bugs.gentoo.org/659616

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-31  3:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28  2:19 [gentoo-dev] [RFC] News Item: Desktop profile switching USE default to elogind Andreas Sturmlechner
2019-10-28 12:26 ` [gentoo-dev] " Rich Freeman
2019-10-28 12:36 ` [gentoo-dev] " Brian Evans
2019-10-28 12:39   ` Kristian Fiskerstrand
2019-10-29 15:10 ` Andreas Sturmlechner
2019-10-29 18:23   ` Patrick McLean
2019-10-29 23:03     ` James Le Cuirot
2019-10-29 23:08       ` Patrick McLean
2019-10-31  3:21         ` desultory

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox