[Bug 1768038] Re: Inactivity sleep mode on battery fails

2022-03-10 Thread Sean Davis
** Changed in: xfce4-power-manager (Ubuntu)
   Status: Confirmed => Triaged

-- 
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: Inactivity sleep mode on battery fails

2019-02-22 Thread nils_se
This worked like a charm for me:

https://www.reddit.com/r/xubuntu/comments/8w23gu/how_to_fix_the_suspend_on_inactivity/

Sorry, if already known, haven't read all links. It solved my
"permission denied" problem. Maybe you can extract a fix out of this
workaround. I would help, but my knowledge is pretty limited.

-- 
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: Inactivity sleep mode on battery fails

2019-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package xubuntu-default-settings - 19.04

---
xubuntu-default-settings (19.04) disco; urgency=medium

  * Add Terminal (F4) and Find (Primary+Shift+F) shortcuts to Thunar (LP: 
#1793395)
- etc/xdg/xdg-xubuntu/Thunar/accels.scm
- etc/xdg/xdg-xubuntu/Thunar/uca.xml.in
  * debian/xubuntu-default-settings.gsettings-override:
- Set GNOME/GTK 3 dconf keys for fonts (LP: #1769774)
  * etc/xdg/xdg-xubuntu/autostart/xfce4-tips-autostart.desktop
- Removed, obsolete (LP: #1805005)
  * etc/xdg/xdg-xubuntu/Thunar/uca.xml.in:
- Enable startup-notify in Thunar's uca.xml (LP: #1794118)
  * 
etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml:
- Add shortcut for xfce4-screenshooter region capture (Shift+Print) (LP: 
#1812234)
  * 
etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml:
- Set default inactivity mode to Suspend on AC and battery (LP: #1768038)
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfprint.xml
- Removed, obsolete (LP: #1805007)
  * usr/share/xubuntu/applications/defaults.list:
- Replace invalid macroEnabled mimetypes (LP: #1802582)
- Remove invalid x-scheme-handler/file handler (LP: #1778069)

 -- Sean Davis   Mon, 28 Jan 2019 22:44:14
-0500

** Changed in: xubuntu-default-settings (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
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: Inactivity sleep mode on battery fails

2019-01-28 Thread Sean Davis
Resolved with the below commit.

https://git.launchpad.net/xubuntu-default-
settings/commit/?id=b344d4751d83c6ccca1d9798e2e967d67a1cf0e6

** Changed in: xubuntu-default-settings (Ubuntu)
   Status: Confirmed => Fix Committed

-- 
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: Inactivity sleep mode on battery fails

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

** Changed in: xubuntu-default-settings (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:
  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: Inactivity sleep mode on battery fails

2018-11-19 Thread Tom Hutchison
Try running this command>>>

$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager
/inactivity-sleep-mode-on-battery -n -t int -s 1

Then run>>>

$ xfconf-query -c xfce4-power-manager -lv

Make sure you see>>>

... /xfce4-power-manager/inactivity-sleep-mode-on-battery   1

Listed in the output

Worked for me on a fresh install of Xubuntu 18.04 and it has been tested
on other laptops. Also solved 16.04 issue too.

It seems as if this statement above in one of the replies... "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." ...is
a good explanation. I tried changing the xml file in config, but that
failed. Reverted back, executed the command line commands and xml file
showed the proper config, magically it started working after a reboot.

I also ended up having to run>>>

$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager
/inactivity-sleep-mode-on-ac -n -t int -s 1

Which solved the issue of suspend on ac too.

-- 
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: Inactivity sleep mode on battery fails

2018-11-19 Thread Theo Linkspfeifer
So, it would be best to add this entry to the Xubuntu default settings
(comment #10) until the actual issue is resolved (comment #7, second
part).

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

-- 
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: Inactivity sleep mode on battery fails

2018-11-19 Thread Tim Passingham
Thanks very much.  That worked.  Sorry I was so dim editing it in place.

Now I'll have to sort out why some things don't come back (mainly the
network) on resuming - but that's a separate issue.

If someone somewhere can see their way to adding this to the standard
set-up this bug report can be closed.

-- 
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: Inactivity sleep mode on battery fails

2018-11-19 Thread Tim Passingham
No!  xubuntu/xfce4 deleted it all by itself when I logged off and then
back on again (I did it twice to make sure).

I was editing the version in mu home directory .config/xfce4/xfconf
/xfce-perchannel.xml.  Should I be editing a system version?

-- 
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: Inactivity sleep mode on battery fails

2018-11-19 Thread Theo Linkspfeifer
You have to edit this file while not being logged into the Xfce session.

Alternatively, use the Xfce Settings Editor or run this command:

$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager
/inactivity-sleep-mode-on-battery -n -t int -s 1

-- 
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: Inactivity sleep mode on battery fails

2018-11-19 Thread Theo Linkspfeifer
Did you remove the following entry?

/xfce4-power-manager/inactivity-sleep-mode-on-battery 1

-- 
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: Inactivity sleep mode on battery fails

2018-11-18 Thread Tim Passingham
Here they are:

...:~$ xfce4-power-manager --dump
---
   Xfce power manager version 1.6.1
With policykit support
With network manager support
---
Can suspend: True
Can hibernate: False
Authorised to suspend: True
Authorised to hibernate: False
Authorised to shutdown: True
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
...:~$ xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac15
/xfce4-power-manager/blank-on-battery   8
/xfce4-power-manager/brightness-switch  0
/xfce4-power-manager/brightness-switch-restore-on-exit  1
/xfce4-power-manager/critical-power-action  4
/xfce4-power-manager/critical-power-level   7
/xfce4-power-manager/dpms-enabled   true
/xfce4-power-manager/dpms-on-ac-off 60
/xfce4-power-manager/dpms-on-ac-sleep   20
/xfce4-power-manager/dpms-on-battery-off15
/xfce4-power-manager/dpms-on-battery-sleep  10
/xfce4-power-manager/inactivity-on-ac   14
/xfce4-power-manager/inactivity-on-battery  16
/xfce4-power-manager/lid-action-on-ac   0
/xfce4-power-manager/lid-action-on-battery  1
/xfce4-power-manager/lock-screen-suspend-hibernate  false
/xfce4-power-manager/logind-handle-lid-switch   false
/xfce4-power-manager/power-button-action3
/xfce4-power-manager/show-panel-label   0

-- 
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: Inactivity sleep mode on battery fails

2018-11-18 Thread Theo Linkspfeifer
My guess would be that xfce4-power-manager still tries to hibernate the
system, but that operation is not permitted. What do the following two
commands return?

$ xfce4-power-manager --dump
$ xfconf-query -c xfce4-power-manager -lv

** No longer affects: xubuntu-default-settings (Ubuntu)

-- 
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: Inactivity sleep mode on battery fails

2018-11-16 Thread Tim Passingham
And this is the full power-manager output

** Attachment added: "power-manager output"
   
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1768038/+attachment/5213556/+files/powermgr.txt

-- 
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: Inactivity sleep mode on battery fails

2018-11-16 Thread Tim Passingham
This is the journalctl as requested


** Attachment added: "journalctl as requested"
   
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1768038/+attachment/5213555/+files/powerjournal.txt

-- 
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: Inactivity sleep mode on battery fails

2018-11-16 Thread Theo Linkspfeifer
Some configuration related output is printed in the beginning, so please
attach the whole terminal output.

It would help to have the syslog also (journalctl -b --no-pager).

-- 
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: Inactivity sleep mode on battery fails

2018-11-16 Thread Tim Passingham
I did this.  I got the same error notification.  This is the last bit of
the debug output (I then killed it).  It means nothing to me, but maybe
it does to someone else.

TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity 
timeout id 2
TRACE[xfpm-backlight.c:132] xfpm_backlight_dim_brightness(): Current brightness 
level before dimming : 186, new 51
TRACE[xfpm-backlight.c:210] xfpm_backlight_reset_cb(): Alarm reset, setting 
level to 186
TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity 
timeout id 2
TRACE[xfpm-backlight.c:132] xfpm_backlight_dim_brightness(): Current brightness 
level before dimming : 186, new 51
TRACE[xfpm-backlight.c:210] xfpm_backlight_reset_cb(): Alarm reset, setting 
level to 186
TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity 
timeout id 2
TRACE[xfpm-backlight.c:132] xfpm_backlight_dim_brightness(): Current brightness 
level before dimming : 186, new 51
TRACE[xfpm-manager.c:491] xfpm_manager_alarm_timeout_cb(): Alarm inactivity 
timeout id 4

** (xfce4-power-manager:2379): WARNING **: 13:57:39.345: No outputs have
backlight property

(xfce4-power-manager:2379): GLib-CRITICAL **: 13:57:39.917: g_variant_unref: 
assertion 'value != NULL' failed
TRACE[xfpm-backlight.c:210] xfpm_backlight_reset_cb(): Alarm reset, setting 
level to 186
^[[C^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:939] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:266] xfpm_manager_quit(): Exiting
xfce4-power-manager-Message: 14:07:36.026: Restored brightness switch value to: 
1

(xfce4-power-manager:2379): Gtk-WARNING **: 14:07:36.027: A floating object was 
finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(xfce4-power-manager:2379): GLib-CRITICAL **: 14:07:36.028: Source ID
146 was not found when attempting to remove it

-- 
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: Inactivity sleep mode on battery fails

2018-11-16 Thread Theo Linkspfeifer
Running the power manager in debug mode could give us a hint:

$ xfce4-power-manager -q && xfce4-power-manager --no-daemon --debug

-- 
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: Inactivity sleep mode on battery fails

2018-11-15 Thread Tim Passingham
No, the old workaround doesn't work.  I've failed to find any solution.

-- 
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