You are not logged in.
NOTE: Now works great here on AUR
I had marchobmenu working on Debian and I loved it.
Can't get the Applications menu to work on arch. Any ideas?
Here you can see it failing.
It did generate a menu and the xml exists where it should. I can run the menu command in terminal and get the xml output. Just can't see it in the menu..
I checked all dependencies and so on.
To install I got the source and copied the files into my system. The only odd bit is that Arch does not have init.d so I copied that file to rc.d
I assumed this worked as a menu was generated, but as you can see, it does not display.
I have noted that the deamon refers to /lib/init/vars.sh and that does not exist. I hacked that but still fails.
I assume it is something along these lines (where arch and debian differ) but have not found it yet...
Last edited by tawan (2010-03-28 02:33:06)
Offline
Offline
Hi tawan,
I'm the maintainer of marchobmenu, glad you like it !
I think I solved your issue. http://code.google.com/p/marchobmenu/issues/detail?id=4
I don't know anything about Arch, but I heard that lots of people use openbox here.
Could you (or someone else) explain me how to add a the deamon at startup with the rc.d system, so that I can add this to marchobmenu ?
It would then be easier to find volunteers to package it for Arch ...
PS: the source code is now on github: http://github.com/ju1ius/marchobmenu
Last edited by ju1ius (2010-03-08 16:38:16)
Offline
It is a great tool ju1ius.
Now I don't know the official way of making the root deamon work as I'm quite new to Arch. All I did as I said in post1 was copy the file to /etc/rc.d/
There is a file that makes some deamons work called /etc/rc.conf and a line called MODULES under HARDWARE, you add the module name in there. @ before the name says load as deamon. ! before the name says don't load.
I do not know if you should use this file. I did not personalty add the deamon here.
One problem that does occur is that the deamon spews an error about /lib/init/vars.sh (as it does not exist) so I commented this out and all seems ok but I'm not sure if I broke anything in doing that, like maybe my menu won't generate. I don't know yet as have not installed anything new since the menu began working.
Shane, the ex MintFluxbox developer is an Arch user so he can probably help you. His name here is drsjlazar
Sorry I can't help much, quite new to Arch.
Offline
ju1ius, did you get my reply?
Offline
Offline
NOTE: Now works great here on AUR
Can you update the openbox arch wiki to reflect the use of this program?
Offline
Hey guys,
just a quick message to tell you that I just pushed the first stable version to github !
I refactored a lot of things and it is now much more simple, configurable, and XDG compliant.
Check it out:
http://github.com/ju1ius/marchobmenu
There's also a package available:
http://github.com/ju1ius/marchobmenu/downloads
Thanks for putting this on AUR !
Offline
And a new version again (1.2), with a few minor improvements.
I added a command to refresh the menu, so it can now be used (but won't auto-refresh) without the daemon running for those who like to save the extra Mb of RAM.
The places script can now open files (and folders) with exo-open or gnome-open.
Folders are now showed at the top, like in most file managers.
There's also a Wiki,
and of course a new debian package
Gonna try to hack the pkgbuild and post it here for review...
Offline
Hey !
I modified tawan's PKGBUILD.
Is this OK ?
# Contributor: David Spicer <azleifel at googlemail dot diddly dot dot com>
pkgname=marchobmenu-git
pkgver=20100313
pkgrel=1
pkgdesc="An Openbox automated XDG Menu"
arch=('any')
url="http://github.com/ju1ius/marchobmenu"
license=('GPL')
depends=('openbox' 'bash' 'inotify-tools' 'python-xdg>=0.19')
makedepends=('git')
provides=('marchobmenu')
conflicts=('marchobmenu')
_gitroot="git://github.com/ju1ius/marchobmenu.git"
_gitname="marchobmenu"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd "$srcdir/$_gitname"
install -d -m755 "$pkgdir/usr/lib" || return 1
cp -Rp "usr/lib/marchobmenu" "$pkgdir/usr/lib" || return 1
install -d -m755 "$pkgdir/etc/xdg/menus" || return 1
cp -p "etc/xdg/menus/mom-applications.menu" "$pkgdir/etc/xdg/menus" || return 1
install -d -m755 "$pkgdir/usr/share" || return 1
cp -Rp "usr/share/desktop-directories" "$pkgdir/usr/share" || return 1
install -D -m644 "README.md" "$pkgdir/usr/share/doc/marchobmenu/README" || return 1
}
Last edited by ju1ius (2010-08-28 00:20:52)
Offline