It is not only an annoyance if you can not suspend or hibernate your machine, it wastes precious energy. For console users today you don´t have more to do than to enter "systemctl suspend" or "systemctl hibernate" or hybrid-sleep/suspend-then-hibernate. However many new Linux users don´t know and that is why I wanna have these default targets in /usr/share/applications as .desktop. See for my attachement on how these files can look like. Even for console-affine users it gets some way tedious having to type that all the way while some nice iconed desktop buttons are a real pleasure. For Xfce you simply have to add a starter type suspend and get the desktop links displayed to select them. I have included notes about the origin and license of the used icons in origin.msg. The -i is necessary when you have more than on vtXX open.
Created attachment 13180 [details] suspend.tar - all the necessary files (here with path /home/shell)
I will post this report, not for developers but for users who search for suspend/standby/hibernate issues: https://bugs.mageia.org/show_bug.cgi?id=30180
Created attachment 13181 [details] log out menu xfce Why don't you just use the functions provided by your desktop environment? Here the example from XFCE. For Plasma and Gnome similar stuff exists. You only need to go to settings and enable them.
Tending to close this bug report INVALID.
I don´t find where that is.
There is always a logout and shutdwon button, also under Mate, but no suspend, hibernate, suspend-hybrid and suspend-then-hibernate.
At best there should be an own desktop folder where these links belong like Powermanagement (in addition to Education, Internet, etc.). Then there would be something that would be available for all desktop environments in the same place even without any configuration.
You could also drag from that desktop folder into your click start bar.
Created attachment 13182 [details] power setting XFCE Each desktop environment has it's own design philosphy. So it won't happen to have "one-for-all" BTW it's not that hard to find the settings in XFCE.
Created attachment 13183 [details] session setting XFCE
I know xfce4-settings-manager and I have searched it now three times but I can not find anything to enable suspend and hibernate buttons.
settings-editor
Yes show hibernate and show suspend are checked but it does not display that.
In xfce4, right click on the menu icon and select Properties. Select the Commands tab, and enable the wanted commands (restart, shut down, suspend, hibernate, logout). The icons are then present at the top of the menu. In mate, select system, then shutdown. The suspend/hibernate/restart/cancel/ shutdown buttons are then shown in a dialog with a timeout. Closing as invalid as this is standard desktop environment settings, not a Mageia bug. Note there must be a large enough swap available for hibernate to be used.
CC: (none) => davidwhodgins
I have kept installing Xfce with many different distributions, many different versions over years, but no suspend and hibernate buttens where never there as far as I remember back.
I can click on the menu starter, right click, select properties but there is only one page and no command tab.
Created attachment 13184 [details] menu starter -> propertys Make sure you have task-xfce and some additional packages according your need installed.
(In reply to Dave Hodgins from comment #14) > Closing as invalid as this is standard desktop environment settings, not a > Mageia bug.
Resolution: (none) => INVALIDStatus: NEW => RESOLVED
(In reply to Elmar Stellnberger from comment #16) > I can click on the menu starter, right click, select properties but there is > only one page and no command tab. Right click on the Mageia menu icon, don't left click on it first. The commands are part of the xfce4-session package which is required by task-xfce4-minimal.
I'm using the default Wisker Menu, if that matters.
task-xfce-4.14-2.mga8 is installed and yes I have right-clicked.
Resolution: INVALID => (none)Status: RESOLVED => REOPENED
Created attachment 13185 [details] xfce4 Power manager settings. Check your power manager settings, as per this attachment.
This is the setting which i already showed in comment 9. I did an additional test installation of XFCE in in VB. Completely stripped down installation, not more then XFCE ticked. All the shown functionalitys and menus are available by default. So this bug report is still invalid and his user settings or his installation itself is borked.
Is xfce4-whiskermenu-plugin installed? Because if this is not installed, this is the only case where i can recreate something like comment 16. Only one page. But without any pictures from Elmar we only can guess what he is meaning or doing.
This bug is superfluous, we are all (Mageia side) agreed. For confirmation, I have just done tests with the following 7 desktops, and they all, in their different ways, offer hibernate & sleep/suspend out-of-the-box. I have no recollection of fiddling anything, but may have added to some Systrays. - CINNAMON menu 'switch off' icon -> Suspend|Hibernate|Restart|Shutdown - GNOME Leave-Poweroff/Logout -> Suspend|Restart|PowerOff [NO Hibernate, desktop PC] - LXDE menu Logout & Systray 'leave' icon -> Shutdown|Reboot|Suspend|Hibernate|... - LxQt menu Leave -> Hibernate|Reboot|Shutdown|Suspend|... - MATE Ctl/Alt/Del & menu System-Shutdown -> Suspend|Hibernate|Restart|Shutdown - PLASMA Ctl/Alt/Del & Systray 'leave' icon & menu Power/Session & menu Logut icon & menu Restart icon & menu Shutdown icon -> Sleep|Hibernate|Restart|Shutdown|... - XFCE Ctl/Alt/Del & menu Logout icon -> Restart|Shutdown|Suspend|Hibernate|Hybrid Sleep|... Elmar, please leave this bug closed. It still remains available for comments.
CC: (none) => lewyssmithResolution: (none) => INVALIDStatus: REOPENED => RESOLVED
Well, in deed you can enable suspend and hibernate if you have the Whisker menu rather than the normal application menu. To my mind it would be good to have an option for suspend, hibernate, hybrid-suspend and suspend-then-hibernate also for users who prefer the traditional menu. Besides this I wanna ask if suspend or at least hibernate should not be enabled by default because most users won´t search in right click and sub-menus to enable suspend. If it is not there by default users new to Linux will believe that it is not supported. On an old machine where suspend may not work the user can still disable it by hand. - reopening once more for this comment to be at your consideration -
See provided comments. (In reply to Lewis Smith from comment #25) > Elmar, please leave this bug closed. It still remains available for comments.
Resolution: (none) => INVALIDStatus: REOPENED => RESOLVED
If you don't like the way how XFCE has designed this, create an upstream request at XFCE bugtracker. Mageia won't change anything because each DE provides these basic functions. These functions are provided by all desktop environments for at least a decade or two (if not even more).
(In reply to Elmar Stellnberger from comment #26) > ...if you have the Whisker menu rather than the normal application menu.... If > it is not there by default users new to Linux will believe that it is not > supported. NO! If you have a fresh installation of MGA8 XFCE, Whisker menu and all it's options are the standard. So my guess was completely right: (In reply to sturmvogel from comment #23) > ...his (Elmars) user settings or his (Elmars) installation itself is borked.... That means you disabled/borked/manipulated a standard setting of Mageia XFCE yourself, can't remember that you did and now complain about it.
Agreeing with the essence of your previous comment: (In reply to Elmar Stellnberger from comment #26) > Well, in deed you can enable suspend and hibernate if you have the Whisker > menu rather than the normal application menu I do not know what you mean by this. My test in comment 25 was with 'standard' configurations from the Classic ISO install. I have not specifically added Whisker menu anywhere. > To my mind it would be good to > have an option for suspend, hibernate, hybrid-suspend and > suspend-then-hibernate also for users who prefer the traditional menu. I imagine this is what I have. > Besides this I wanna ask if suspend or at least hibernate should not be > enabled by default because most users won´t search in right click and > sub-menus to enable suspend. I did not mess with right-clicking anything.
Whisker menu is now what you get by default after install. It is the Windows 10 like menu. However I prefer the traditional menu which you can get by configuring your menu bar and selecting "add"->"application menu" under "objects" (and possibly delete for the Whisker menu). The issue I am experiencing is that there is no suspend/hibernate support with the traditional menu and that is why I wanted to ask you to include a few shortcuts for suspend & hibernate under /usr/share/applications which can then be enabled by "add"->"starter" and by typing something like "suspend" to get the right item viewed. The new items will remain invisible until you enable them explicitly like this and thus they will not garble any menu. They should be ready to user under any desktop environment.
This is nothing what Mageia can or will change. If you want something like this you have to ask at the respeective Bugzilla of your desktop environment. And users that change a environment in a way that it differs completely from the standard setting, should be able to to something like this on their own.