The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2019-01-08 18:11:20

Finally solved my suspend issue following on from post #36. Not sure my route is the best way of doing this however, in case this is useful to someone else the steps I followed are:
1) added ascii-backport to my apt list and temporally removed the hezeh repo
2) did an apt-get update /apt-get upgrade
3) checked through the list of new updates found in the backports for sanity - mine all related to mate
4) confirmed the upgrade. When it was done I had an issue with mate-session-manager being held back.
5) re-enabled the hezeh repo and followed rolfie note in #35 and did: sudo apt -t ascii-backports install mate-desktop-environment-extra
6) again checked the install list for sanity then confirmed the install
7) sudo apt -t ascii-backports install mate-session-manager
8) checked the installed version of mate-session-manager now from the backport not hezeh - check!
9) removed the hezeh repo and rebooted.
10) logged back in and checked all was well.
Mate reports it is on version MATE 1.20.3
When I now select Quit from the mate menu, the popup dialog box has all 4 options - suspend, hibernate, restart, cancel and shutdown.
I suspect just replacing the mate-session-manager from backports would have solved my suspend /reboot issue.

#2 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-20 23:10:36

Having now read the release notes, I had totally forgotten reading that a preferred combination for MATE is MATE + SLiM + consolekit.

I rebooted the laptop with my Live CD respin. Repeated the steps I used to, what I thought was keeping the elogind backend consistent with the information from pam-auth-update, by manually installing libpolkit-backend-elogind-1-0 and libpolkit-gobject-elogind-1-0. The result was as before, apt noted 134Mb of removed applications, mostly libre office. This time I kept a copy of the to-be-removed files and bailed out of apt.

Looking through the list of files noted to be removed was task-mate-desktop. Going back to my hard disk installed laptop, using apt installed the single task-mate-desktop application. The result was a request to install a further 134Mb of applications - most of which is libre office - along with consolekit and reinstating SLiM, while removing elogind.

After a reboot, I am happy to report I have gone full circle. My laptop is now back to how it was before I started. That is to say MATE + SLiM + consolekit and I have the switch user button on the logout dialog along with the shutdown and restart button on the shutdown dialog.

In terms of getting the suspend button to display in the shutdown dialog I am no further forward smile Will fight that one another day...

Thanks for the pointers and help.

#3 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-20 18:04:18

Thanks for the pointer and apologies for the confusion. To clarify I haven't used mint pkgs. my mention of mintmenu was to try and clarify which of the mate menus I am using - I think, maybe incorrectly, the Mate Advanced Menu derives way back somewhere to the mintmenu?

I haven't (should have) read the release notes. May be a good opportunity to have a look now.

#4 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-20 17:39:45

Thanks for the pointers rolfie. I've now sort of got two steps forward one back. Following your supplied link I discovered I had a mix of consolekit and elogind. elogind being new, and indicated as active, I installed the elogind backend. This removed a pile of stuff, mostly libreoffice and of course consolekit. It also removed SLiM. I installed Lightdm to replace the now uninstallable slim.

I applied your polkit fix and got the reboot /shutdown working for lightdm - thanks. The bits of the desktop I have tested seem fine...

But, the Quit button dialog from (Mate Advanced Menu (mintmenu)) now only has a cancel button - shutdown and reboot are missing. The Logout button dialog is also missing the switch user. For comparison, using the "regular" mate menu doesn't even offer a quit button, just logout. Also the Add to panel options don't include the power off applet. The symptoms are the same if I login as root.

I have poked around the internet trying various combinations of polkit rules but nothing seems to make a difference. I'm wondering if something got uninstalled switching fully to elogind?

I can shutdown via command line of by logging out and using lightdm.

Any thoughts or pointers greatly appreciated smile

#5 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-18 09:41:22

I'm still looking into what I need to do to use the suggested *.pkla - I'm using SLiM rather than LightDM. I have enabled the suspend function in SLiM using the command pm-suspend and this works correctly. Logging out and back in as "suspend", my laptop suspends and as importantly resumes correctly.

For what its worth I have found a reference to my issue on the Gentoo WiKi here: MATE https://wiki.gentoo.org/wiki/MATE Under FAQ almost at the bottom of the page there are a couple of lines:

Suspend and Hibernate buttons are missing from the shutdown dialog
If only "Restart Cancel Shutdown" buttons appear in the dialog, make sure you compile sys-auth/consolekit https://packages.gentoo.org/packages/sy … consolekit with the pm-utils flag.

I'm not sure how I can confirm, if the pm-utils flag was set when sys-auth/consolekit was compiled? Checking my system using apt search I see the installed version of consolekit, indicates it is a devuan derived version rather than from hezeh.org. Suspend was a shutdown option in the dialog box before I updated MATE from hezeh.org which sort of suggests a change in one of the hezeh files removed the suspend option?

Its not too big a deal for me as I prefer a good old hard reset or shutdown, so I guess if I can't get any further and it bothers me I will put a launcher on the panel /menu to fire off pm-suspend.

#6 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-17 18:38:22

@rolfie thanks for the suggestion to look at the *.pkla. I will give it a go and report back.

Regarding MATE 1.20. Not sure I did it the right way, but I followed Anton's "MATE on Devuan Ascii" http://hezeh.org/mate-desktop-on-devuan-ascii/ (I did a fresh install of Devuan Ascii) and did exactly what is on the page. Added his repo, to my apt list, did an apt upgrade then installed his keys (risky!). When I then did an apt upgrade, I was offered a large number of MATE files to update. After the Update had run its course running mate-about shows I am now on 1.20.0.

For me it solved a load of minor irritations I had in MATE before the upgrade, not least the power manager applet now works on my laptop.

#7 Re: Desktop and Multimedia » MATE 1.20 on devuan ascii » 2018-12-17 14:13:03

Devuan ascii: followed the update to MATE 1.20 and happy to report everything works. With a minor caveat. Prior to the upgrade when shutting down using the menu "power" icon, the resulting dialogue box offered; suspend, cancel, reboot and shutdown. Following the upgrade the dialogue box is missing the suspend option.

I have scurried around the mate* folders under /usr/share but cant see anything I can edit to get the suspend option to appear in the shutdown dialogue box. Any chance of pointing me in the right direction?

EDIT:
I have looked at https://dev1galaxy.org/viewtopic.php?id=600 but the post ends without a "fix". I can confirm in my case prior to updating MATE via hezeh.org the suspend option appeared (and worked) in the shutdown dialogue.

The steps I followed was to add hezeh.org repository to my apt list, then did an update followed by an upgrade. Rebooted and found the suspend option had disappeared.

Board footer

Forum Software