Re: Change in latest update – suspending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2018-03-20 at 20:38 +0100, Louis Lagendijk wrote:
> On Tue, 2018-03-20 at 12:31 -0700, Adam Williamson wrote:
> > On Tue, 2018-03-20 at 13:48 +0000, Russel Winder wrote:
> > > On Tue, 2018-03-20 at 13:54 +0100, Kamil Paral wrote:
> > > > 
> > > 
> > > […]
> > > > Nope:
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=1558485
> > > 
[…]

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/22#note_91428

Seems to be the official answer from GNOME. And, per se, it seems entirely
reasonable. 

The Debian bit works exactly as stated, so happiness achieved there. But for
Fedora, I haven't made things work.

> > Technically there is a way: you just have to figure out how to change
> > the setting for the 'gdm' user. The Alternative Fedora Wiki has
> > something on this:
> > 
> > https://wiki.archlinux.org/index.php/GDM#DConf_configuration

This seems to indicate that a way forward is to symbolic link
/usr/share/dconf/profile/gdm  to /etc/dconf/profile/gdm and then create a
directory /etc/dconf/db/gdm.d and add to it a file 99-local-settings
containing:

[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-timeout=0
sleep-inactive-battery-timeout=0

and then run "dconf update". This created /etc/dconf/db/gdm indicating
possible success.

Reboot, but no luck still suspends. :-(

[…]
> 
> It may be posible to do the following from root:
> su - gdm -s /bin/bash
> 
> to change to user gdm and still get a shell?

This works fine it seems:

[root@lavaine ~]# su - gdm -s /bin/sh
[gdm@lavaine ~]$ gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout
1200
[gdm@lavaine ~]$ 

So the key is there (which is wasn't initially) but the value is wrong. I am
clearly missing something. Hopefully something simple.

-- 
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux