View previous topic :: View next topic |
Author |
Message |
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Thu Jul 07, 2016 8:53 am Post subject: GNOME shell: No Power Off Options Popup |
|
|
Hi,
Please accept my apologies if I am asking this in the wrong place, I don't often have to ask the Gentoo developers anything directly, but I can not find any solution to this problem. In other Linux distributions running gnome shell, when you click the "power" button in the top right corner menu you get a popup asking you what you'd like to do. On my installation this popup never appears and the computer shuts down directly. I have attached the output of "emerge --info", but I do not know what other information to include.
Thank you for your help!
Victor
Output of "emerge --info":
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r4, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.2
KiB Mem: 7897044 total, 4949680 free
KiB Swap: 0 total, 0 free
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22-r4::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage
priority: -1000
steam-overlay
location: /var/lib/layman/steam-overlay
masters: gentoo
priority: 0
java
location: /var/lib/layman/java
masters: gentoo
priority: 1
sunrise
location: /var/lib/layman/sunrise
masters: gentoo
priority: 2
TinyOverlay
location: /home/mot/overlay
masters: gentoo
priority: 3
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch 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://mirror.mdfnet.se/gentoo http://mirror.netcologne.de/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 3"
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 acl acpi afp alsa amd64 avahi berkdb bluetooth bonjour branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus declarative dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran fuse gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv infinality introspection ipv6 jpeg jpeg2k lcms ldap libnotify libsecret libv4l2 mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 raw readline samba sdl seccomp semantic-desktop session smp socialweb spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype twolame udev udisks unicode upower usb v4l2 vaapi vdpau vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 ppc" QEMU_USER_TARGETS="x86_64 ppc" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa nouveau nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
|
Back to top |
|
|
Maxxx Guru
Joined: 12 Jan 2016 Posts: 595 Location: Italia
|
Posted: Thu Jul 07, 2016 9:04 am Post subject: |
|
|
Hi had the same problem, but with KDE... i had no poweroff option but only disconnect option.
I solved this running:
1) revdep-rebuild
2) emerge @preserved-rebuild
3) emerge @module-rebuild (2 consecutive times - at second time i got poweroff option in menu) |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Thu Jul 07, 2016 9:08 am Post subject: |
|
|
Hi Maxxx,
Thanks for the quick reply, but I don't think I'm having the same problem that you had. My top-right menu does show the "power off" option (looks like a power button), which changes to a "suspend" option if I hold down "Alt". But after I click that (without "Alt") I don't get the usual popup window with the three options "Suspend", "Restart" and "Power Off".
Victor |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Thu Jul 07, 2016 9:30 am Post subject: |
|
|
Perhaps other distributions ship a modified default config that uses a different extension for the power off button? I do not use Gnome Shell myself so there also could be a different solution... |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Thu Jul 07, 2016 9:47 am Post subject: |
|
|
Hi franzf,
I looked through the Gnome wiki and it seems that getting this popup with power off options is the standard behaviour in Gnome, but on my installation it is bypassed altogether. It feels like a configuration problem with my setup. The wiki I'm referring to is at:
https://wiki.gnome.org/Design/OS/SystemStopRestart
Victor |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Sat Jul 09, 2016 7:56 pm Post subject: |
|
|
Strange, I've no problem.
When I click on power off I have Cancel/Restart/Power off
How do you start gnome? startx or gdm?
You have installed the entire gnome ebuild or some parts of this ebuild? |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Sun Jul 10, 2016 8:32 am Post subject: |
|
|
Hi sebB,
I start Gnome through gdm.
It's been a while, but I'm pretty sure I didn't install it in parts, because gnome-base/gnome is at version 3.18.0. This is the ebuild you're referring to, right?
Victor |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Sun Jul 10, 2016 3:01 pm Post subject: |
|
|
Yes.
Can you try with a new user |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Sun Jul 10, 2016 4:03 pm Post subject: |
|
|
Hi sebB,
Under a new user I get the pop-up with the three options as expected (I'm sorry, the options are "Cancel", "Restart" and "Power Off", not as I stated originally).
Victor |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Jul 12, 2016 11:46 am Post subject: |
|
|
So the problem is your user config.
Save your prog config and reset your profile. |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Tue Jul 12, 2016 11:59 am Post subject: |
|
|
Hi sebB
Thanks, but I'm afraid I don't understand either of "prog config" or "reset your profile". Are you referring to actions I should carry out in Gnome, or at a more detailed level with the config files in /etc or ~/.config?
Victor |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Jul 12, 2016 2:06 pm Post subject: |
|
|
Don't touch /etc, only your home folder.
What I suggest you:
- cp your /home/bandurvp to an usb disk (the important is to save the config of your progs i.e. .config, .mozilla, ...)
- log on the new user (bandurvptest) and delete the olduser them rm -r /home/bandurvp
- recreate the bandurvp account
- log into bandurvp
- copy your config files in this account (no the gnome configs)
- delete bandurvptest an delete his folder.
Doing this you will have to reconfigure your gnome session but no your progs.
Maybe there is a most simply solution... |
|
Back to top |
|
|
bandurvp n00b
Joined: 04 Dec 2010 Posts: 17
|
Posted: Thu Nov 10, 2016 5:10 pm Post subject: |
|
|
Thank you everybody for your help! I ended up doing a diff on my home directory and that of the fresh user. I decided that the most significant indicator was that the file .config/dconf/user was different between the two, so I replaced mine with the fresh user's. Of course all my settings were obliterated, but at least I got the power options back!
Victor |
|
Back to top |
|
|
|