You are not logged in.

#1 2016-01-24 03:17:14

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Add pm-utils to package list?

See: https://forums.bunsenlabs.org/viewtopic … 648#p16648

It looks as if pm-utils might improve the user experience when hibernating. Is it worth adding it to the default install list?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#2 2016-01-24 03:44:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Add pm-utils to package list?

It is quite small, and as you say, it will help some users.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-01-24 03:58:56

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Add pm-utils to package list?

Of course this is a question for the neckbeards (those with laptops would be best suited to determine its worth) but it's looking like a good idea from the head office.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#4 2016-01-24 04:53:14

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,155
Website

Re: Add pm-utils to package list?

I'm inclined to have it installed on a case-by-case basis...
https://wiki.archlinux.org/index.php/pm-utils


I don't care what you do at home. Would you care to explain?

Offline

#5 2016-01-24 05:56:49

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Add pm-utils to package list?

...and perhaps I should all learn how to use the capabilities of systemd properly, instead of installing stuff out of habit  8o


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-01-24 09:47:08

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Add pm-utils to package list?

important question:
will pm-utils help without additional manual setup?
will it not interfere on hardware that would get by without it?

the guy who's thread is quoted in post #1 was talking about an eeepc, epic netbook, but a bit old really, and an edge case imho.
i have a similar machine and i remember i had to install some power management utilities to get things working that systemd is not capable of. but i didn't go for pm-utils...

ps:
looked in the mirror, realized i have a neckbeard. strange...

Last edited by ohnonot (2021-07-04 07:25:11)

Offline

#7 2016-01-24 11:05:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Add pm-utils to package list?

It's difficult to see where this package could actually be useful.

The pm-utils package is a collection of shell scripts and can only be used by invoking the scripts directly, for example:

pm-suspend

Also, /etc/sudoers needs to be changed for it to work for normal users (I think).

As we don't have any such commands in the standard menus, this would have to be a user-added option and, as such, I don't think it makes sense to include it.

We could add a sticky thread to explain how to use it for those for whom systemctl(1) doesn't work.

EDIT: Also, probably doesn't apply to jessie but worrying nevertheless:

ArchWiki wrote:

Warning: Hibernating with Pm-utils and then updating systemd is reported to corrupt files: https://bbs.archlinux.org/viewtopic.php?pid=1423442

https://wiki.archlinux.org/index.php/Pm-utils

Last edited by Head_on_a_Stick (2016-01-24 12:09:09)

Offline

#8 2016-01-24 14:20:20

ghorvath
Member
Registered: 2015-10-01
Posts: 161

Re: Add pm-utils to package list?

I would advise against automatically installing it. I have a laptop, using laptop-mode-tools, which again may not be the best option, but seemed a bit better than pm-utils at the time I installed Bunsenlabs. Systemd should handle hibernation without any problems, maybe some tweaking is needed in some files. Laptop-mode-tools at least should not change behaviour on desktop machines (I think).

Anyway, if you want to support laptop users, let them know in the welcome script that they should install something. Maybe offer them a choice? In that case, people should also look at tlp (this might be the new way for laptops?), which currently only exists for stretch, not even backported.

Offline

#9 2016-01-25 02:37:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: Add pm-utils to package list?

hhh wrote:

I'm inclined to have it installed on a case-by-case basis...
https://wiki.archlinux.org/index.php/pm-utils

Convinced. Let's just leave it as a hint on the forums for those who need it.

damo wrote:

...and perhaps I should all learn how to use the capabilities of systemd properly, instead of installing stuff out of habit

Touché. Especially with media stuff, I install things I'll probably never need "just in case".


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#10 2016-01-25 02:51:57

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Add pm-utils to package list?

Fully agree with both statements. In fact, having looked pm-utils over, it appears to me that it is equally possible to accomplish the same thing via systemd unit files. The Arch wiki has some fantastic examples on how to stop and resume different services during suspends and/or hibernates.

Offline

Board footer

Powered by FluxBB