The officially official Devuan Forum!

You are not logged in.

#1 2018-02-25 03:52:54

GNUser
Member
Registered: 2017-03-16
Posts: 320

alternative to mate-power-manager for ascii? [SOLVED]

I'm on ASCII with MATE and noticed that mate-power-manager is not available in the repository. I'm guessing it has some naughty dependencies.

Is there a lightweight substitute? I'm looking for something that would merely turn off my display when laptop lid is closed, turn it back on when lid is opened.

Last edited by GNUser (2018-02-25 12:37:20)

Offline

#2 2018-02-25 10:50:02

Geoff 42
Member
Registered: 2016-12-15
Posts: 165

Re: alternative to mate-power-manager for ascii? [SOLVED]

Have you tried lxqt-powermanagement? I use it with lxde and it seems to work nicely without pulling in anything nasty.

Geoff

Offline

#3 2018-02-25 12:37:02

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

Thank you, Geoff42. I hadn't tried lxqt-powermanagement. I just did and it is very nice. Thanks for the recommendation.

Last edited by GNUser (2018-03-01 15:15:43)

Offline

#4 2018-02-25 20:52:13

greenjeans
Member
Registered: 2017-04-07
Posts: 424
Website

Re: alternative to mate-power-manager for ascii? [SOLVED]

The XFCE power manager also works pretty well for me.

The mate power manager is a disgrace, everything is grayed out, none of the functions really work, I recommended it be dumped from the repo months ago.

Mate has really disappointed me in the last year, not only are longstanding bugs still not fixed, there are regressions now that are a big PITA. It's gotten way worse as they have progressed to GTK3, it's almost as bad as Gnome now, and with good reason as they are no longer anything like a fork of gnome 2, they are simply falling into line with the new gnome glitchware. It's embarassing really, windows 7 is more stable.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal 64 and 32 bit Devuan-based openbox and mate systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#5 2018-03-01 15:13:31

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

Here's what I did to get the screen to turn off when I close the lid. Turns out I don't need a power manager after all.

1. Create /etc/acpi/events/lid-acpi-support with this in it:

event=button/lid
action=/etc/acpi/lid.sh

2. Create /etc/acpi/lid.sh with this in it:

#!/bin/sh

export DISPLAY=:0.0
normal_user=$(users | xargs -n1 | grep -v root | uniq)

if grep closed /proc/acpi/button/lid/*/state; then
	cat /sys/class/backlight/acpi_video0/brightness >/tmp/brightness.save
	su $normal_user -c "xrandr --output LVDS-1 --off"
else
	su $normal_user -c "xrandr --output LVDS-1 --auto"
	cat /tmp/brightness.save >/sys/class/backlight/acpi_video0/brightness
fi

3. Make the script executable and restart acpid:

sudo chmod a+x /etc/acpi/lid.sh
sudo service acpid restart

Offline

#6 2018-03-01 17:56:15

DaBrze
Member
Registered: 2018-02-24
Posts: 1

Re: alternative to mate-power-manager for ascii? [SOLVED]

I have installed Devuan ASCII with the cinnamon desktop  from scratch on my old X200 laptop. I found cinnamon-power-manager was not working properly from the beginning - the screen was not turn off when when the laptop lid was closed. After some investigations I found that after recompiling package cinnamon-settings-daemon-3.2.1-3 from source and reinstallig it everything is working fine - the screen is turned off after closing lid and turn it back on when it is opened. By the way the acpid is not installed.

Offline

#7 2018-03-01 18:22:00

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

It is quite interesting that cinnamon makes this happen without acpid (and presumably without polling). Perhaps cinnamon-settings-daemon offers similar functionality to acpid.

Offline

#8 2018-03-02 22:23:03

cynwulf
Member
Registered: 2017-10-09
Posts: 139

Re: alternative to mate-power-manager for ascii? [SOLVED]

greenjeans wrote:

The mate power manager is a disgrace, everything is grayed out, none of the functions really work, I recommended it be dumped from the repo months ago.

Mate has really disappointed me in the last year, not only are longstanding bugs still not fixed, there are regressions now that are a big PITA. It's gotten way worse as they have progressed to GTK3, it's almost as bad as Gnome now, and with good reason as they are no longer anything like a fork of gnome 2, they are simply falling into line with the new gnome glitchware. It's embarassing really, windows 7 is more stable.

As I once said (over 5 years ago), Mate was a project started with Ubuntu "consumers" in mind. It was entirely founded on Ubuntu consumers making a lot of noise about "ubuntu classic" being discontinued (look it up).  It was never a "safe bet", it was always going to become what it has become today.

gnome was always a turd, it just got smellier as time went on...

gnome project will always embrace "technologies" such as polkit, dconf, mono and systemd.  For anyone not interested in technologies such as systemd, gnome always has been and always will be bad place to be.  Mate is just a gnome 2.x fork that's well past it's sell by date.

Xfce is better.  It has it's flaws, but still better - for now.  how long that will last who can say?

While "desktops" become more Linux centric and more reliant on "Linux proprietary" technology, that can only be a bad thing for free *nix and Linux distributions which do not use systemd.  This actually makes desktops, by their very nature, just a bad thing for anyone wanting to avoid all of the usual crap listed above (plus other cruft such as avahi and pulseaudio).

(I use OpenBSD exclusively.  I avoid desktops, except Xfce (for now), I don't used it (I use fluxbox), but tend to keep it installed for other users.)

Last edited by cynwulf (2018-03-02 22:24:29)

Offline

#9 2018-03-03 00:36:42

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

Hey, different strokes for different folks. MATE is free software and, in my opinion, the pieces that work work well and stay out of my way.

I tried XFCE when I first switched to Devuan and found it just isn't as polished as MATE. For instance, I spent weeks patching Thunar and xfdesktop just to get basic niceties that I get out-of-the-box with Caja.

If/when MATE becomes contrib or non-free (or if it starts pushing me around and breaking my stuff like systemd), I will gladly give it the boot.

Offline

#10 2018-03-03 14:32:13

catprints
Member
Registered: 2016-11-30
Posts: 93

Re: alternative to mate-power-manager for ascii? [SOLVED]

I've been running mate/ascii on desktop for some time from devuan repos and have not had issues. Mate-power-manager is available and installed. I am confused about this entire thread.  My repos are:
deb http://deb.devuan.org/merged/ ascii main
deb http://deb.devuan.org/merged/ ascii-security main
deb http://deb.devuan.org/merged/ asci-updates main
If I missed something I have no clue what it would be.

hmm-the version of mate I have is 1.16.2-2 if it matters.

Last edited by catprints (2018-03-03 14:46:31)


"The obstacle is the path."

Offline

#11 2018-03-03 15:05:14

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

I also have "main", "ascii-security main", and "ascii-updates main", but the http part is different. I don't have access to the machine now, so will provide the http part later. Mate-power-manager is definitely not available for installation, but it seems my sources.list may be the culprit.

Last edited by GNUser (2018-03-03 15:05:58)

Offline

#12 2018-03-03 19:37:24

catprints
Member
Registered: 2016-11-30
Posts: 93

Re: alternative to mate-power-manager for ascii? [SOLVED]

Actually it is mate-power-manager-common. Apologies.
Apparently replaces and breaks mate-power-manager.

Last edited by catprints (2018-03-03 19:42:42)


"The obstacle is the path."

Offline

#13 2018-03-04 00:43:03

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

Thanks for clarifying, catprints. Oops, I guess this whole thread was moot. Yes, I can see mate-power-manager-common is available for installation. I had assumed that mate-power-manager-common was a dependency and that mate-power-manager (which I couldn't find) was the main package. I feel silly.

Nevertheless, since we are on the topic, this is my /etc/apt/sources.list:

deb http://pkgmaster.devuan.org/merged/ ascii 			main
deb http://pkgmaster.devuan.org/merged/ ascii-security	main
deb http://pkgmaster.devuan.org/merged/ ascii-updates	main

How are http://deb.devuan.org/merged/ and http://pkgmaster.devuan.org/merged different? Is one more "correct"?

Last edited by GNUser (2018-03-06 14:07:03)

Offline

#14 2018-03-04 03:02:02

golinux
Administrator
Registered: 2016-11-25
Posts: 969

Re: alternative to mate-power-manager for ascii? [SOLVED]

GNUser wrote:

How are http://deb.devuan.org/merged/ and http://pkgmaster.devuan.org/merged different? Is one more "correct"?

http://deb.devuan.org/merged/ serves from a pool of http://pkgmaster.devuan.org/merged package mirrors (a 'round robin').  It is still being tested.

Offline

#15 2018-03-04 03:24:03

GNUser
Member
Registered: 2017-03-16
Posts: 320

Re: alternative to mate-power-manager for ascii? [SOLVED]

Got it. Thanks.

Last edited by GNUser (2018-03-06 14:00:47)

Offline

Board footer