<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3136&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Question about XDG menus]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3136</link>
		<description><![CDATA[The most recent posts in Question about XDG menus.]]></description>
		<lastBuildDate>Tue, 21 Jan 2020 13:28:43 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=19596#p19596</link>
			<description><![CDATA[<p>Would there be interest in the Devuan community for a maintainer of an xdgmenumaker dpkg? I like it enough that I am willing to read through the process for how to be a maintainer, and volunteer to participate if I can agree with all the T&amp;Cs, if there is enough community desire for the package.</p><p>In the mean time, I&#039;ve built it on my OBS: <a href="https://build.opensuse.org/package/show/home:bgstack15/xdgmenumaker" rel="nofollow">https://build.opensuse.org/package/show … gmenumaker</a> if people want an easy download. My package adds a trigger on /usr/share/applications, and a corresponding postinst script:</p><div class="codebox"><pre><code>#!/bin/sh
# xdgmenumaker postinst

case &quot;$1&quot; in
   triggered)
      Xvfb :18 &amp;
      result=$!
      export DISPLAY=:18
      for word in fluxbox ;
      do
         /usr/bin/xdgmenumaker -f &quot;${word}&quot; -i &gt; &quot;/etc/xdgmenumaker/${word}&quot; 2&gt;/dev/null
      done
      kill $result
      ;;
   *)
      :
      ;;
esac</code></pre></div><p>Which could easily be adapted to just run for any set of WMs.</p><p>A weakness this has, is that it is run as root, and therefore will not make a single suitable fluxbox menu file that also reads the users&#039; $XDG_DATA_DIR or similar values. So in my ~/.fluxbox/startup file I have:</p><div class="codebox"><pre><code>/usr/bin/xdgmenumaker -f fluxbox -i &gt; ~/.fluxbox/xdg-menu &amp;</code></pre></div><p>And of course in ~/.fluxbox/menu</p><div class="codebox"><pre><code>[begin] (fluxbox)
[include] (.fluxbox/xdg-menu)
#[include] (/etc/xdgmenumaker/fluxbox)
[include] (/etc/X11/fluxbox/fluxbox-menu)
[end]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Tue, 21 Jan 2020 13:28:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=19596#p19596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18956#p18956</link>
			<description><![CDATA[<p>There&#039;s also xdgmenumaker. I haven&#039;t tried it on icewm since I don&#039;t use it, but I have used it on fluxbox and jwm, and it works great on them. It says that it works with icewm too.</p><p><a href="https://github.com/gapan/xdgmenumaker" rel="nofollow">https://github.com/gapan/xdgmenumaker</a></p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Wed, 11 Dec 2019 22:00:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18956#p18956</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18955#p18955</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>this is not possible with icewm or windowmaker, AFAICT.</p></div></blockquote></div><p>icewm can be kept up to date, but i think it has to be restarted then (with x and your applications still running.)</p><p>i have used openbox but i dont know exactly what &quot;on the fly&quot; means in this context, so i dont know if icemw is capable of the same. it can be triggered after apt installs new programs.</p>]]></description>
			<author><![CDATA[dummy@example.com (freemedia2018)]]></author>
			<pubDate>Wed, 11 Dec 2019 19:02:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18955#p18955</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18954#p18954</link>
			<description><![CDATA[<p>Have a look at <a href="http://menumaker.sourceforge.net/" rel="nofollow">MenuMaker</a>. </p><p>&quot;MenuMaker is a menu generation utility for X window managers on *NIX systems. It is capable of finding lots of installed programs and generating a root menu consistent across all supported X window managers, so one will get (almost) the same menu no matter which window manager is used.&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (reverber)]]></author>
			<pubDate>Wed, 11 Dec 2019 18:24:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18954#p18954</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18439#p18439</link>
			<description><![CDATA[<p>The Debian menu system predates the freedesktop.org standard of &quot;XDG.&quot; I personally like some of the fd.o published specs (not to be confused with &quot;standards&quot;) but others might be concerned because fd.o has published plenty of projects we disdain around here. The XDG menu stuff is fine, in my opinion, and it sounds like you have come across the same point of view.</p><p>I personally use Fluxbox and I have half-heartedly tried to use <a href="https://github.com/PhantomX/fluxbox-chinfo-menu" rel="nofollow">various</a> <a href="https://github.com/michaelrice/fluxbox-xdg-menu" rel="nofollow">projects</a> and gave up. I guess application discovery just wasn&#039;t that important for my use cases.</p><p>Here are the examples for a project named &quot;xdg-menu&quot; from the <a href="https://wiki.archlinux.org/index.php/Xdg-menu" rel="nofollow">Arch Wiki</a>.</p><div class="quotebox"><blockquote><div><p><strong>IceWM</strong><br />With xdg_menu</p><div class="codebox"><pre><code>$ xdg_menu --format icewm --fullmenu --root-menu /etc/xdg/menus/arch-applications.menu &gt;&gt;~/.icewm/programs</code></pre></div><p>With update-menus</p><ul><li><p>Uncomment icewm in /etc/update-menus.conf</p></li><li><p>run update-menus as root</p></li><li><p>make symlink to /var/cache/xdg-menu/icewm/programs in ~/.icewm/programs</p></li></ul><p><strong>WindowMaker</strong><br />With xdg_menu<br />use</p><div class="codebox"><pre><code>$ xdg_menu --format WindowMaker --root-menu /etc/xdg/menus/arch-applications.menu &gt;my-wm-menu</code></pre></div><p>and add</p><div class="codebox"><pre><code>#include &quot;my-wm-menu&quot;</code></pre></div><p>into your WindowMaker menu file.<br />You can also use the WPrefs &quot;Application Menu Definitions&quot;, and add the xdg command as a parameter in a &quot;Generated Submenu&quot; object.<br />With update-menus</p><ul><li><p>Uncomment WindowMaker in /etc/update-menus.conf</p></li><li><p>run update-menus as root</p></li><li><p>add</p><div class="codebox"><pre><code>#include &quot;/var/cache/xdg-menu/WindowMaker/wmrc&quot;</code></pre></div><p>into your menu file.</p></li></ul></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Sun, 10 Nov 2019 01:10:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18439#p18439</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18412#p18412</link>
			<description><![CDATA[<p>Both icewm &amp; windowmaker use the Debian menu system, see <a href="https://www.debian.org/doc/packaging-manuals/menu.html/ch6.html" rel="nofollow">https://www.debian.org/doc/packaging-ma … l/ch6.html</a> for the override methods.</p><p>EDIT: openbox can generate XDG menus on-the-fly using the openbox-menu package and this pipemenu entry:</p><div class="codebox"><pre><code>&lt;menu id=&quot;applications-menu&quot; label=&quot;Applications&quot; execute=&quot;/usr/bin/openbox-menu -i lxde-applications.menu&quot;/&gt;</code></pre></div><p>But this is not possible with icewm or windowmaker, AFAICT.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 07 Nov 2019 17:32:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18412#p18412</guid>
		</item>
		<item>
			<title><![CDATA[Re: Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18409#p18409</link>
			<description><![CDATA[<p>Looking forward for any answer to this question. I used time ago IceWM, still like it, and thought that is a good idea implement in IceWM the XDG menu structure. When I used IceWM, I edited their menu by hand.</p>]]></description>
			<author><![CDATA[dummy@example.com (PedroReina)]]></author>
			<pubDate>Thu, 07 Nov 2019 14:04:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18409#p18409</guid>
		</item>
		<item>
			<title><![CDATA[Question about XDG menus]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18408#p18408</link>
			<description><![CDATA[<p>Hello folks,</p><p>I&#039;ve been questioning #debian these days with this matter but since I got no answer I thought I should ask here too.</p><p>I am looking for a solution to have the menus in icewm and windowmaker show the same apps the &quot;modern&quot; DEs show (XFCE, LXQT, ...). The menus in icewm and windowmaker look very strange, some (many) apps are missing, instead there are useless items like xclock, xeyes, ...</p><p>This is what I found out so far:<br />- there are two &quot;standards&quot;, the old one is using the entries in /usr/share/menu<br />- the new standard (or the XDG one) is using the entries in /usr/share/applications</p><p>What I tried:<br />- I installed menu and menu-xdg<br />- I ran update-menus</p><p>But the menus look just like before. The thing is, I don&#039;t need at all the old standard, I just want the XDG one. I don&#039;t need to see in the menu xclock and xeyes, I don&#039;t use them anyway <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>And now a little rant: on my laptop I use Mageia, it&#039;s a very nice distro, too bad that systemd ruins it. Windowmaker and icewm look wonderful there, the menus are &quot;XDG-only&quot;, but I can&#039;t figure out how they did it. They don&#039;t even have a /usr/share/menu directory!</p><p>Hopefully someone will have a clue about this. Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (omnio)]]></author>
			<pubDate>Thu, 07 Nov 2019 10:24:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18408#p18408</guid>
		</item>
	</channel>
</rss>
