<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=600&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / MATE Desktop - Suspend and Hibernate buttons missing]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=600</link>
		<description><![CDATA[The most recent posts in MATE Desktop - Suspend and Hibernate buttons missing.]]></description>
		<lastBuildDate>Wed, 24 May 2017 20:13:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1641#p1641</link>
			<description><![CDATA[<div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>@greenjeans: At this point we&#039;ve hijacked this thread <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Nevertheless, I think I can help with your issue because I&#039;m also a keyboard guy...</p><p>I have a ton of custom keybindings and they&#039;re essential to how I use my computer. I use xbindkeys instead of MATE&#039;s builtin &quot;Keyboard Shortcuts&quot; because I like to keep my keybindings in alphabetical order in a text file that I can easily edit (namely ~/.xbindkeysrc). With xbindkeys all my keybindings work in Devuan MATE, even if desktop is empty. I never have to click anywhere. </p><p>Just install xbindkeys, make sure that it autostarts (it should automatically take care of this for you--take a peek in Startup Applications after installing xbindkeys), and create ~/.xbindkeysrc with your keybindings. Here&#039;s a snippet from my ~/.xbindkeysrc to give you the idea (Mod4 is my GNU key, formerly known as Windows key):</p><div class="codebox"><pre><code>&quot;mate-terminal&quot;
  Mod4+t

&quot;thunderbird&quot;
  Control+Alt+t</code></pre></div><p>Any time you update the file, xbindkeys needs to be restarted in order for changes to take effect. Enjoy!</p></div></blockquote></div><p>Thanks for that! Will keep in mind as that looks like a very sane and simple way of doing keybindings.</p><p>Figured out the Mate issue though, always something simple....I had forgotten to check and re-do the conky settings when I migrated the build from openbox to mate, conky will work almost universally regardless of how you set it, but working-without-conflicting with Mate takes some specific settings. Need to set it to draw it&#039;s own window, and the own_window_type needs to be &quot;override&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 24 May 2017 20:13:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1641#p1641</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1521#p1521</link>
			<description><![CDATA[<p>@greenjeans: At this point we&#039;ve hijacked this thread <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Nevertheless, I think I can help with your issue because I&#039;m also a keyboard guy...</p><p>I have a ton of custom keybindings and they&#039;re essential to how I use my computer. I use xbindkeys instead of MATE&#039;s builtin &quot;Keyboard Shortcuts&quot; because I like to keep my keybindings in alphabetical order in a text file that I can easily edit (namely ~/.xbindkeysrc). With xbindkeys all my keybindings work in Devuan MATE, even if desktop is empty. I never have to click anywhere. </p><p>Just install xbindkeys, make sure that it autostarts (it should automatically take care of this for you--take a peek in Startup Applications after installing xbindkeys), and create ~/.xbindkeysrc with your keybindings. Here&#039;s a snippet from my ~/.xbindkeysrc to give you the idea (Mod4 is my GNU key, formerly known as Windows key):</p><div class="codebox"><pre><code>&quot;mate-terminal&quot;
  Mod4+t

&quot;thunderbird&quot;
  Control+Alt+t</code></pre></div><p>Any time you update the file, xbindkeys needs to be restarted in order for changes to take effect. Enjoy!</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Wed, 17 May 2017 22:55:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1521#p1521</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1518#p1518</link>
			<description><![CDATA[<p>well now i&#039;ve got a real doozy going because of all this, lol.</p><p>I have set a bunch of custom keybindings in the new mate build as I mentioned above, and they work fine, <strong>as long as you left-click the mouse on the empty desktop in between trying to use them</strong>.</p><p>It&#039;s not like that on my other mate install, so i know it&#039;s not mate that&#039;s broken. It&#039;s not like that on the openbox Vuu-do build that I used as a base for this build either.</p><p>If you have any windows open at all, the keyboard shortcuts all work fine no matter how many times you use the keypress-combos, but as soon as you close all windows, you will again need to left-click on the desktop before you can use one, and in between every attempt at using them.</p><p>Some package or such i&#039;m missing maybe, as I built this mate a piece at a time with just base packages, no meta-packages or tasks.</p><p>Seems like it won&#039;t re-focus on the desktop after you use and close a keyboard-shortcut or a window.</p><p>arrgh, literally the last thing I have to fix before running what should be a nice Vuu-do-mate edition alpha iso, but it&#039;s been all day and part of last night and i&#039;m still stuck. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 17 May 2017 21:52:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1518#p1518</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1517#p1517</link>
			<description><![CDATA[<div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>starting to see options for configuration and such go bye-bye</p></div></blockquote></div><p>I&#039;ve also noticed that trend, with things being more dumbed-down and less configurable in MATE as time passes. I also took a peek at the latest MATE versions, which have migrated to gtk3, and was upset that text previews in caja&#039;s icons no longer seem to work, for instance. </p><p>MATE is still my go-to DE for the time being, however, as I find it to be the most usable out of the box. XFCE is a close second but, after getting used to MATE, XFCE feels a bit rough (e.g., several custom patches required in xfdesktop and thunar in order to get basic features that caja provides by default).</p><p>Change for change&#039;s sake is bad enough. Change for change&#039;s sake plus lost functionality is even worse. But I&#039;ll stop my rambling before we get too off-topic.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Wed, 17 May 2017 21:22:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1517#p1517</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1516#p1516</link>
			<description><![CDATA[<div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>@afuerst: Haha, I know what you mean. My wife is still on Debian Jessie MATE and has the same expectation (lid closed = &quot;off&quot;).</p><p>Since I prefer nothing to happen when my lid is closed, I didn&#039;t even realize that this option is currently missing from Devuan+MATE. Indeed, in mate-power-preferences I cannot find the option to suspend when lid is closed.</p></div></blockquote></div><p>See i&#039;m the same way when it comes to suspend and hibernate, have never used either one in my life, so wasn&#039;t aware of the options disappearing in mate-power-manager and the shutdown dialog.</p><p>I do remember seeing issues with both going back a long time ago.</p><p>As i&#039;m watching Mate develop (or not) i&#039;m starting to see options for configuration and such go bye-bye just like they did in gnome 2 the last couple years as they were destroying it to make way for that gnome 3 junk.</p><p>Not real stoked going forward like that, doesn&#039;t seem in keeping with &#039;nix philosophy. I took a peak at 1.16. in ascii and options for custom colors for a given theme via the gui is gone apparently. You can still edit the theme itself directly I guess, but that seems like a crappy thing to do to new users who like to experiment with colors, it was a good feature.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 17 May 2017 20:34:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1516#p1516</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1515#p1515</link>
			<description><![CDATA[<div class="quotebox"><cite>afuerst wrote:</cite><blockquote><div><p>I assume this is an option to initiate the suspend? More beautiful than sending the dbus-command, but still this would need a regularly running cronjob (which I would prefer to avoid).</p></div></blockquote></div><p>I should have been clearer, this doesn&#039;t address the laptop-close-lid issue in xfce4-power-manager. </p><p>It&#039;s just an option for adding simple quick suspend/hibernate/reboot/shutdown (on-demand) options via keyboard shortcuts, and the conky display which I use anyway is just a good place to have them visible for easy reference.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 17 May 2017 20:26:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1515#p1515</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1514#p1514</link>
			<description><![CDATA[<p>@afuerst: Haha, I know what you mean. My wife is still on Debian Jessie MATE and has the same expectation (lid closed = &quot;off&quot;).</p><p>Since I prefer nothing to happen when my lid is closed, I didn&#039;t even realize that this option is currently missing from Devuan+MATE. Indeed, in mate-power-preferences I cannot find the option to suspend when lid is closed.</p><p>Your cronjob idea would work. This would be the job to run every few seconds:</p><div class="codebox"><pre><code>grep closed /proc/acpi/button/lid/LID/state &amp;&amp; pm-suspend</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Wed, 17 May 2017 20:20:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1514#p1514</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1513#p1513</link>
			<description><![CDATA[<div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>Obsession works pretty good for this, I added some custom keyboard-shortcuts and added them to the conky display on my system so they are always handy.</p></div></blockquote></div><p>I assume this is an option to initiate the suspend? More beautiful than sending the dbus-command, but still this would need a regularly running cronjob (which I would prefer to avoid).</p><div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>I also use MATE and was missing the Suspend option in the shutdown dialog. I don&#039;t use Hibernate.</p></div></blockquote></div><p>Thanks, this looks also nice - but the main issue is the &quot;lid-is-closed&quot;. My family will never initiate suspend manually - they even don&#039;t know what it is <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />. For them it&#039;s as simple as &quot;lid closed = off&quot;, &quot;lid open = on&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (afuerst)]]></author>
			<pubDate>Wed, 17 May 2017 19:52:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1513#p1513</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1512#p1512</link>
			<description><![CDATA[<p>@afuerst: I also use MATE and was missing the Suspend option in the shutdown dialog. I don&#039;t use Hibernate. </p><p>Also, if I press Alt + F4 and there are no windows left to close, I like the shutdown dialog to show up (I guess this is a leftover expectation from my Windows days). I was able to solve all problems by installing yad, xdotool, and wmctrl and &quot;rolling my own&quot; with these two scripts:</p><div class="codebox"><pre><code>#!/bin/bash
# Put this script somewhere in your path. Name it altF4
activename_id=&quot;`xdotool getactivewindow getwindowname`_`xdotool getactivewindow`&quot;
if [[ &quot;$activename_id&quot; = x-caja-desktop* || &quot;$activename_id&quot; = &quot;_&quot; ]]; then
	my-power-dialog
	while true; do # waiting for dialog to exist before activating it
		shutdowndialogid=$(wmctrl -lx | fgrep &#039;Power options&#039; | awk &#039;{print $1}&#039;)
		[ -n &quot;$shutdowndialogid&quot; ] &amp;&amp; break
	done
	xdotool windowactivate $shutdowndialogid
else
	wmctrl -c :ACTIVE:
fi</code></pre></div><div class="codebox"><pre><code>#!/bin/bash
# Put this script somewhere in your PATH. Name it my-shutdown-dialog
yad --width 100 --height 50 --title &quot;Power options&quot; --on-top --center \
    --button=Shutdown:1 \
    --button=Restart:2 \
    --button=Suspend:3 \
    --button=Cancel:0 

case $? in
    1)	sudo shutdown -h now ;;
    2) 	sudo shutdown -r now ;;
    3) 	sudo pm-suspend ;;
    0)	exit 0 ;;
esac</code></pre></div><p>Once the scripts are in one&#039;s PATH and executable, just map the Alt + F4 keyboard shortcut to the altF4 script. BTW, the yad package is not in Devuan stable&#039;s repo, but I use the one from Debian testing without any issues (<a href="https://packages.debian.org/search?keywords=yad&amp;searchon=names&amp;suite=all&amp;section=all" rel="nofollow">https://packages.debian.org/search?keyw … ection=all</a>).</p><p>Hope some of this is useful.</p><p>P.S. Instead of having the stock shutdown button on my MATE panel, I have a &quot;Custom Application Launcher&quot; that runs my-shutdown-dialog.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Wed, 17 May 2017 19:46:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1512#p1512</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1511#p1511</link>
			<description><![CDATA[<p>Obsession works pretty good for this, I added some custom keyboard-shortcuts and added them to the conky display on my system so they are always handy.</p><p>/usr/bin/obsession-exit -s&#160; (suspend)<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; -H&#160; (hibernate)<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; -r&#160; &#160;(reboot)<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; -p&#160; (power-off/shutdown)</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 17 May 2017 19:16:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1511#p1511</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1491#p1491</link>
			<description><![CDATA[<div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>I&#039;m actually working on that right now, as i&#039;m building a mate mini at the moment.</p></div></blockquote></div><p>Thanks for the great news. I followed the instructions (if someone else tries to follow: the package is named &quot;xfce4-power-manager&quot;) and I have the XFCE Power Manager in my Preferences Menu available. As you have mentioned: the &quot;close lid&quot; stuff is unresolved (I already thought about a cron job checking the lid status every minute and sending the dbus if it is closed <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> )</p>]]></description>
			<author><![CDATA[dummy@example.com (afuerst)]]></author>
			<pubDate>Tue, 16 May 2017 20:45:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1491#p1491</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1490#p1490</link>
			<description><![CDATA[<div class="quotebox"><cite>afuerst wrote:</cite><blockquote><div><div class="quotebox"><cite>golinux wrote:</cite><blockquote><div><p>The showstopper is Mate not Devuan.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p></div></blockquote></div><p>I don&#039;t want to fingerpoint anyone (you could also argument Debian is the showstopper because of making systemd the default init system) - I just need a solution so I can migrate the main laptop to Devuan. AFAIK I have to switch to Devuan as long as I am using jessie, there won&#039;t be a migration path from stretch (and I have a feeling why this would be too much effort).</p></div></blockquote></div><p>I&#039;m actually working on that right now, as i&#039;m building a mate mini at the moment.</p><p>First part of workaround: Uninstall mate-power-manager and mate-power-manager-common.&#160; Install xfce4-power-manager and it&#039;s dependencies, make sure you have libupower-glib3 installed before you try to install xfce-power-manager, it&#039;s a dependency but for some reason may not be tagged as such.</p><p>Everything works in xfce power manager for me except for : options when I close lid of laptop</p><p>Other than that, everything else works, suspend, hibernate, what to do when power button is pushed etc. </p><p>For the second part i&#039;m trying to figure out how to substitute a command in the main mate menu, the package &quot;obsession&quot; normally used for Openbox shutdown, also works in mate and offers suspend and hibernate and all other shutdown options you&#039;d expect. I can click the obsession-logout file in /usr/bin/ and it pops up the shutdown menu just fine, just need to make it work in the main mate menu. (Obviously you can stick a .desktop file in the menu somewhere or in the panel and use it in the meantime, I just want to integrate it in to a mate install fully).</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 16 May 2017 19:41:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1490#p1490</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1488#p1488</link>
			<description><![CDATA[<div class="quotebox"><cite>golinux wrote:</cite><blockquote><div><p>The showstopper is Mate not Devuan.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p></div></blockquote></div><p>I don&#039;t want to fingerpoint anyone (you could also argument Debian is the showstopper because of making systemd the default init system) - I just need a solution so I can migrate the main laptop to Devuan. AFAIK I have to switch to Devuan as long as I am using jessie, there won&#039;t be a migration path from stretch (and I have a feeling why this would be too much effort).</p>]]></description>
			<author><![CDATA[dummy@example.com (afuerst)]]></author>
			<pubDate>Tue, 16 May 2017 18:29:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1488#p1488</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1486#p1486</link>
			<description><![CDATA[<p>only battery icon ,&#160; as far as I know thereisn&#039;t no workaround for Suspend/Hibernat button</p><p> just my opinion but is not showstopper, and the bug came from upower</p>]]></description>
			<author><![CDATA[dummy@example.com (AntoFox)]]></author>
			<pubDate>Tue, 16 May 2017 17:41:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1486#p1486</guid>
		</item>
		<item>
			<title><![CDATA[Re: MATE Desktop - Suspend and Hibernate buttons missing]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1483#p1483</link>
			<description><![CDATA[<p>The showstopper is Mate not Devuan.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Tue, 16 May 2017 17:01:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1483#p1483</guid>
		</item>
	</channel>
</rss>
