Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188017

Re: pm-utils by default on Xfce for suspend/hibernate

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: pm-utils by default on Xfce for suspend/hibernate
Date 2017-10-18 17:40 +0200
Message-ID <uBYBQ-2Tp-7@gated-at.bofh.it> (permalink)
References <uBWA2-1E6-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I have PC with Debian 9 "stretch" x86_64 + Xfce and I never needed to
have pm-utils installed, but hibernation\suspend feature works normally
through xfce4 GUI once I set up all prerequisites for hibernation to
work (such as at least working swap and initramfs resume variable). I
also removed packages such as "uswsusp", "hibernate". I have used them
previously, but now they are unnecessary for hibernation to work on my
computer.

How you start Xfce DE and did you installed "xfce4-power-manager" package?
You've said hibernation works when you trigger it manually, so check if
hibernation works via systemd:
    $ systemctl hibernate


On 18.10.2017 18:26, Pétùr wrote:
> On my computer (Debian sid), with a nvidia graphical card and the 340
> proprietary driver, suspend/hibernate does not work with xfce tools.
>
> I means that xfce4-session-logout --suspend does not work for example.
>
> But pm-suspend or pm-hibernate works perfectly.
>
> And I can launch them as user because I edited my /etc/sudoers file with:
>
> my_user  ALL = NOPASSWD: /usr/sbin/pm-hibernate
> my_user  ALL = NOPASSWD: /usr/sbin/pm-suspend
>
> So I would like to make pm-utils tools the default ones for
> suspend/hibernate in Xfce. pm-utils commands should be triggered when
> clicking "suspend/hibernate" on the xfce logout window.
>
> How can I do that?
>

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pm-utils by default on Xfce for suspend/hibernate Pétùr <peturvilj@gmail.com> - 2017-10-18 15:30 +0200
  Re: pm-utils by default on Xfce for suspend/hibernate "Alexander V. Makartsev" <avbetev@gmail.com> - 2017-10-18 17:40 +0200
    Re: pm-utils by default on Xfce for suspend/hibernate Pétùr <peturvilj@gmail.com> - 2017-10-19 23:50 +0200

csiph-web