Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636240 - Integrate elogind with remaining of cinnamon
Summary: Integrate elogind with remaining of cinnamon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cinnamon Team (DISABLED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: elogind-support
  Show dependency tree
 
Reported: 2017-11-02 07:03 UTC by jy6x2b32pie9
Modified: 2017-11-27 21:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jy6x2b32pie9 2017-11-02 07:03:38 UTC
emerge -pcv consolekit

Calculating dependencies... done!
  sys-auth/consolekit-1.2.0 pulled in by:
    gnome-extra/cinnamon-control-center-3.2.1 requires sys-auth/consolekit
    gnome-extra/cinnamon-screensaver-3.4.2 requires sys-auth/consolekit
    gnome-extra/cinnamon-session-3.4.2 requires sys-auth/consolekit
    gnome-extra/cinnamon-settings-daemon-3.4.4 requires sys-auth/consolekit:0=, sys-auth/consolekit:0/0=

But:

emerge -pcv elogind   

Calculating dependencies... done!
  sys-auth/elogind-234.4 pulled in by:
    gnome-extra/cinnamon-screensaver-3.4.2 requires sys-auth/elogind

Currently, aforementioned packages support systemd, but not elogind.
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-04 13:06:06 UTC
Can you elaborate a bit on what is wanted in this request?

As always, patches welcome; but systemd support is not a priority for cinnamon team, and if anything we're trying to move away from dependencies on it as much as possible.
Comment 2 jy6x2b32pie9 2017-11-04 15:23:41 UTC
I want elogind support, so it can be used without consolekit or systemd. See bug https://bugs.gentoo.org/show_bug.cgi?id=599470 for why. Also, because some parts of Cinnamon currently work with elogind, but some don't, so consistency.
Comment 3 cronolio 2017-11-08 20:34:23 UTC
in cinnamon 3.6 logind chosen like a default
https://github.com/linuxmint/cinnamon-desktop/commit/bcd0ce74ca09f55abd967c4fdfb14972d4a9f4c5

but still possible to reverse this and it will work
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-10 08:43:10 UTC
(In reply to cronolio from comment #3)
> in cinnamon 3.6 logind chosen like a default
> https://github.com/linuxmint/cinnamon-desktop/commit/
> bcd0ce74ca09f55abd967c4fdfb14972d4a9f4c5
> 
> but still possible to reverse this and it will work

Thanks for that reference, will look into bumping to >=3.6.1 this weekend then and switch to elogind across the board
Comment 5 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-26 16:23:28 UTC
(In reply to Kristian Fiskerstrand from comment #4)
> (In reply to cronolio from comment #3)
> > in cinnamon 3.6 logind chosen like a default
> > https://github.com/linuxmint/cinnamon-desktop/commit/
> > bcd0ce74ca09f55abd967c4fdfb14972d4a9f4c5
> > 
> > but still possible to reverse this and it will work
> 
> Thanks for that reference, will look into bumping to >=3.6.1 this weekend
> then and switch to elogind across the board

The 3.6.x variants should now use elogind, and it defaults to 
$ gsettings list-recursively org.cinnamon.desktop.session
org.cinnamon.desktop.session session-manager-uses-logind true
org.cinnamon.desktop.session session-name 'cinnamon'
org.cinnamon.desktop.session idle-delay uint32 900
org.cinnamon.desktop.session settings-daemon-uses-logind true
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-27 14:49:58 UTC
(In reply to Kristian Fiskerstrand from comment #5)
> (In reply to Kristian Fiskerstrand from comment #4)
> > (In reply to cronolio from comment #3)
> > > in cinnamon 3.6 logind chosen like a default
> > > https://github.com/linuxmint/cinnamon-desktop/commit/
> > > bcd0ce74ca09f55abd967c4fdfb14972d4a9f4c5
> > > 
> > > but still possible to reverse this and it will work
> > 
> > Thanks for that reference, will look into bumping to >=3.6.1 this weekend
> > then and switch to elogind across the board
> 
> The 3.6.x variants should now use elogind, and it defaults to 
> $ gsettings list-recursively org.cinnamon.desktop.session
> org.cinnamon.desktop.session session-manager-uses-logind true
> org.cinnamon.desktop.session session-name 'cinnamon'
> org.cinnamon.desktop.session idle-delay uint32 900
> org.cinnamon.desktop.session settings-daemon-uses-logind true

Reopening as it doesn't seem to work entirely as expected on my test system.
Comment 7 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-11-27 21:43:24 UTC
(In reply to Kristian Fiskerstrand from comment #6)
> (In reply to Kristian Fiskerstrand from comment #5)
> > (In reply to Kristian Fiskerstrand from comment #4)
> > > (In reply to cronolio from comment #3)
> > > > in cinnamon 3.6 logind chosen like a default
> > > > https://github.com/linuxmint/cinnamon-desktop/commit/
> > > > bcd0ce74ca09f55abd967c4fdfb14972d4a9f4c5
> > > > 
> > > > but still possible to reverse this and it will work
> > > 
> > > Thanks for that reference, will look into bumping to >=3.6.1 this weekend
> > > then and switch to elogind across the board
> > 
> > The 3.6.x variants should now use elogind, and it defaults to 
> > $ gsettings list-recursively org.cinnamon.desktop.session
> > org.cinnamon.desktop.session session-manager-uses-logind true
> > org.cinnamon.desktop.session session-name 'cinnamon'
> > org.cinnamon.desktop.session idle-delay uint32 900
> > org.cinnamon.desktop.session settings-daemon-uses-logind true
> 
> Reopening as it doesn't seem to work entirely as expected on my test system.

https://gitweb.gentoo.org/repo/gentoo.git/tree/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind.patch should fix the remaining issues

posted upstream at https://github.com/linuxmint/cinnamon-session/issues/105