Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657774 - kde-plasma/powerdevil-5.12.5 -systemd -consolekit +elogind does not offer suspend or hibernate options
Summary: kde-plasma/powerdevil-5.12.5 -systemd -consolekit +elogind does not offer sus...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-11 00:37 UTC by Andrei Slavoiu
Modified: 2018-07-07 19:25 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 Andrei Slavoiu 2018-06-11 00:37:01 UTC
On a system with openrc + elogind I can suspend from console using `loginctl suspend` but there is no GUI option from Plasma to do so.

# emerge --info powerdevil elogind 
Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r3, 4.17.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.17.0-gentoo-x86_64-AMD_A10-7890K_Radeon_R7,_12_Compute_Cores_4C+8G-with-gentoo-2.6
KiB Mem:    15367156 total,   1852076 free
KiB Swap:  133607416 total, 133607416 free
Timestamp of repository gentoo: Sun, 10 Jun 2018 20:00:01 +0000
Head commit of repository gentoo: 821ad5cd2c3226f216b93303f00600a93e805718
Head commit of repository gridcoin: b0839b33c2e4a00bce9fd0b819da362e098cf1ae

Head commit of repository steam-overlay: 46d2624c5f248bf28e25c25e172e60c2eb988e5f

sh bash 4.4_p23
ld GNU gold (Gentoo 2.30 p2 2.30.0) 1.15
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/openrc:          0.36::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gridcoin
    location: /usr/local/portage/gridcoin-overlay
    sync-type: git
    sync-uri: https://github.com/nethershaw/gridcoin.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @games, @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -ggdb3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org"
LANG="ro_RO.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--threads -Wl,-z,now"
LINGUAS="ro ro_RO en eo"
MAKEOPTS="-j4 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus aalib accessibility acl acpi activities alsa amd64 amr analitza autoipd avahi bash-completion berkdb branding bzip2 cacert cairo caps cdda cdr clang cli client cmake cpufreq_bench crypt cups curl cxx dbus debug-frame declarative demos designer dolphin dos dot dri dts dvd dvdr egl elogind emboss encode equalizer evdev exif extra fam farstream fbcondecor ffmpeg flac fortran gcrypt gd gdbm gif git glamor gles gles1 gles2 gmp gnutls gold google gpg gpm grub gssapi haptic highlight htmlthumbs http hunspell hwloc iconv icu idn ipv6 jadetex jpeg jpeg2k kde kdenlive kdepim kerberos kipi kwallet lcms ldap libav-aac libcaca libdrm libkms libtirpc lm_sensors lzma mad mdnsresponder-compat mediacenter melt metalink midi mikmod mng mod modules mp3 mp4 mpeg mtp multilib multimedia ncat ncurses nettle networkmanager nls nptl ntp offensive office offload ogg openal opencl opencl-icd openconnect opengl openmax openmp openssl opus pam pango pcap pch pcntl pcre pdf pgo phonon pim plasma plotutils plymouth pm-utils png policykit postproc ppds printsupport pulseaudio qml qrcode qt3support qt5 r600-llvm-compiler rar readline rtmp samba scanner schroedinger script scripttools sdk sdl sdl2 seccomp semantic-desktop sipe sms sndfile sound speech speex spell spice sqlite ssl startup-notification streaming svc svg symlink system-ffmpeg system-icu system-libs system-llvm system-snappy systemtap taglib tcpd telepathy textures theora threads tiff timidity tinfo tracepath truetype udev udisks unicode unwind upnp upower usb user-session utils vaapi valgrind vdpau videos virgl virt-network voice vorbis vpx vulkan wayland webkit webp widevine widgets winbind wireshark-plugins x264 x265 xattr xcb xcomposite xetex xml xrandr xv xvfb xvid yahoo zeroconf zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev joystick libinput roccat_kovaplus" KERNEL="linux" L10N="ro en eo" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby23 ruby25" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-plasma/powerdevil-5.12.5::gentoo was built with the following:
USE="handbook wireless -consolekit -debug" ABI_X86="(64)"


sys-auth/elogind-236.1::gentoo was built with the following:
USE="acl pam (policykit) -debug -doc (-selinux)" ABI_X86="(64)"
Comment 1 Sven Eden 2018-06-26 08:14:18 UTC
Does it work if you downgrade elogind to 235.4?

Unfortunately I have just bricked my laptop, so I can't test directly. I always used Fn+F1 or 'loginctl suspend'. But basically Powerdevil asks org.freedesktop.login1 via dbus whether it supports suspension, hibernation, poweroff and so on, and will the add all supported option.

Do you have options for poweroff and reboot?
Comment 2 Andrei Slavoiu 2018-06-26 21:24:15 UTC
(In reply to Sven Eden from comment #1)
> Does it work if you downgrade elogind to 235.4?
Unfortunately I'm leaving on vacation in a few hours so I can't test this right now, I'll try it when I get back. I switched from systemd to openrc + elogind-236-r1 directly so I never ran that version before.

> Do you have options for poweroff and reboot?
From what I've noticed over the past days poweroff and reboot are always present. Sometimes I also have the options for suspend and/or hibernate in the launcher (at this moment hibernate is present but suspend not) while both suspend and hibernate are always grayed out in the Lock/Logout plasmoid settings.
Comment 3 Andrei Slavoiu 2018-07-07 19:25:09 UTC
Well, having returned from my vacation and updated to plasma 5.13.2 and elogind 238.1 I have the options to suspend and hibernate both in the launcher and in the Lock/Logout plasmoid.