[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-11-15 Thread Theo Linkspfeifer
Tim, does the workaround from your comment still work?

https://bugzilla.xfce.org/show_bug.cgi?id=12497#c1


That line could be added to the config file which is provided by Xubuntu:

https://git.launchpad.net/xubuntu-default-settings/tree/etc/xdg/xdg-
xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml

** Bug watch added: Xfce Bugzilla #12497
   https://bugzilla.xfce.org/show_bug.cgi?id=12497

** Also affects: xubuntu-default-settings (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- xubuntu, clean bionic, power manager suspend fails
+ Inactivity sleep mode on battery fails

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768038

Title:
  Inactivity sleep mode on battery fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1768038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-10-21 Thread Tim Passingham
For laptop users, the ability to suspend after an idle period is, I
would have thought, quite important.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768038

Title:
  xubuntu, clean bionic, power manager suspend fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1768038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-10-21 Thread Tim Passingham
This bug is still present in Cosmic xubuntu, installed on 20th October.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768038

Title:
  xubuntu, clean bionic, power manager suspend fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1768038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-08-22 Thread Bug Watch Updater
Launchpad has imported 5 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=12317.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2015-11-17T16:23:46+00:00 Si Dedman wrote:

Hi. With Xubuntu 15.10 (was same w/ 15.04) when suspend is initiated
through inactivity, it fails with the quoted text:
"GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission
denied".

I've tried this 
[https://askubuntu.com/questions/627356/xubuntu-15-04-cannot-suspend-when-inactive]
 fix but it didn't help.
I suspect that this 
[https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1441460] is 
close but irrelevant?

Seems to fail the same when powered or on battery - I haven't noticed a
difference in any case.

Any thoughts / guesses appreciated. When I come back to it and wiggle
the mouse, hit the keyboard, or sometimes hit the power button, it comes
back to the session login screen then returns with that failure warning.
So I suspect it has been sitting there unsuspended but with the screen
off.

edit: just noticed I'm using v1.4.4-4ubuntu (per software manager);
given we're not on 1.5.2 is there a reason why this hasn't been upgraded
as part of xubuntu 15.10? Cheers.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-
manager/+bug/1768038/comments/0


On 2016-08-16T02:06:43+00:00 Si Dedman wrote:

This is still an issue in v.1.6.0

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-
manager/+bug/1768038/comments/1


On 2016-11-21T03:01:13+00:00 Drrnrss-e wrote:

I had this exact error in Xubuntu 16.04 and fixed it with this solution:

http://askubuntu.com/a/851760/83302

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-
manager/+bug/1768038/comments/2


On 2017-02-22T21:47:36+00:00 Fernandsaussure wrote:

The fix in the link (http://askubuntu.com/a/851760/83302) worked for me
as well on Xubuntu 16.04. Incidentally, someone on the Ubuntu-devel-
discuss mailing list reported what I think is the same bug and
workaround and suggested a more permanent fix:
https://lists.ubuntu.com/archives/ubuntu-devel-
discuss/2016-July/016779.html.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-
manager/+bug/1768038/comments/3


On 2017-08-26T22:33:30+00:00 Erik wrote:

The error message "GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
Permission denied" is unrelated to inactivity sleep not working. It is
caused by a separate bug.

Bug: NetworkManager.Sleep access denied

The access denied error is caused by xfce4-power-manager attempting to
call org.freedesktop.NetworkManager.Sleep, but access is denied by
Network Manager's polkit policy. This bug could be fixed by creating a
polkit rule to allow xfce4-power-manager to call the Sleep DBus message.
However, a better fix would be to not call
org.freedesktop.NetworkManager.Sleep at all, at least when using logind
for suspend, because Network Manager automatically sleeps by using a
logind suspend inhibit delay. I reported this bug on the Ubuntu bug
tracker https://bugs.launchpad.net/ubuntu/+source/xfce4-power-
manager/+bug/1713224.

Bug: Inactivity sleep mode on battery when hibernate is disabled

Not suspending when on battery is a separate bug. It is a duplicate of
Bug 12497. It is caused by a combination of things:

* The default sleep action on AC is suspend. The default sleep action on 
battery is hibernate. (see xfpm_xfconf_class_init() function in xfpm-xfconf.c)
* Hibernate is disabled by default on some systems.
* In xfce4-power-manager-settings, there is a GComboBox to select the sleep 
mode on battery. This combo box displays only one item, suspend, because 
hibernate is disabled. The "inactivity-sleep-mode-on-battery" setting is only 
updated after the GComboBox changed signal fires. The changed signal never 
fires if there is only one item in the combo box, so selecting suspend does not 
change the sleep mode from hibernate.

To reiterate, xfce4-power-manager attempts to hibernate on an inactivity
timeout even when hibernate is disabled, and you cannot switch to
suspend using the settings GUI. If hibernate was enabled and suspend
disabled, then a similar bug would happen during inactivity timeouts on
AC.

There are a number of potential solutions to this bug.

1. In xfce4-power-manager intelligently select a default value for
"inactivity-sleep-mode-on-battery" and "inactivity-sleep-mode-on-ac"
when these settings are not explicitly set. The value 

[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-08-22 Thread Theo Linkspfeifer
** Bug watch added: Xfce Bugzilla #12317
   https://bugzilla.xfce.org/show_bug.cgi?id=12317

** Also affects: xfce4-power-manager via
   https://bugzilla.xfce.org/show_bug.cgi?id=12317
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768038

Title:
  xubuntu, clean bionic, power manager suspend fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1768038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768038] Re: xubuntu, clean bionic, power manager suspend fails

2018-05-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xfce4-power-manager (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768038

Title:
  xubuntu, clean bionic, power manager suspend fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1768038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs