The default Blackbox menu which comes with SuSE 9.3 includes the following: [separator] [include] (|xdg_menu --format blackbox) [separator] xdg_menu is /usr/bin/xdg_menu, it seems a very clever Perl script which generates window manager menus in a variety of formats, Blackbox format being one of them. This restores some functionality which was lost in SuSE 9.2; installation of a new SuSE RPM package results in that application, if applicable, being dynamically added to the Blackbox menu section automagically created by the [include] (|xdg_menu --format blackbox) line. However, I am interested to know what, if anything, one needs to add to one's own RPM packages in order for the xdg_menu to "see" them (and hence add them to the Blackbox menu dynamically). For example, this evening I removed the SuSE 9.3 xine packages with RPM packages which I built from xine source code. However, xdg_menu no longer "sees" /usr/local/bin/xine (the xine-ui) and hence no longer adds it dynamically to the Blackbox menu. I have added it manually by adding: [exec] (xine) {xine} [separator] [include] (|xdg_menu --format blackbox) [separator] However, it would be nice to know how to build RPM packages which will work with xdg_menu. Does anyone have any ideas? -- Anthony Edwards anthony.edwards@uk.easynet.net
Op maandag 11 juli 2005 22:17, schreef Anthony Edwards:
However, it would be nice to know how to build RPM packages which will work with xdg_menu.
Does anyone have any ideas?
First link at the page: http://susewiki.org/index.php?title=Package_building page 83 is about menus. -- Richard Bos Without a home the journey is endless
On Mon, Jul 11, 2005 at 11:25:36PM +0200, Richard Bos wrote:
Op maandag 11 juli 2005 22:17, schreef Anthony Edwards:
However, it would be nice to know how to build RPM packages which will work with xdg_menu.
Does anyone have any ideas?
First link at the page: http://susewiki.org/index.php?title=Package_building page 83 is about menus.
Many thanks. I must now confess to having cheated, by re-downloading the SuSE 9.3 xine-ui-1.0-10.i586.rpm package, and running rpm2cpio ../xine-ui-1.0-10.i586.rpm | cpio -d -i to extract the files it contains, then copying xine.desktop to /usr/share/applications/. Thanks for the heads up. -- Anthony Edwards anthony.edwards@uk.easynet.net
participants (2)
-
Anthony Edwards
-
Richard Bos