You are not logged in.

#1 2010-03-05 10:43:29

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Openbox marchobmenu [solved]

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.

tM3Fuag

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

#2 2010-03-06 00:13:14

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Re: Openbox marchobmenu [solved]

I knew it was weird, I had followed all possible lines and it should have worked.

I inspected the xml output and it had an unescaped '&' in the code.

Once that was removed marchobmenu now works perfectly in arch big_smile

Offline

#3 2010-03-08 16:36:23

ju1ius
Member
Registered: 2010-03-08
Posts: 4

Re: Openbox marchobmenu [solved]

Hi tawan,
I'm the maintainer of marchobmenu, glad you like it !  wink
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 ... big_smile

PS: the source code is now on github: http://github.com/ju1ius/marchobmenu

Last edited by ju1ius (2010-03-08 16:38:16)

Offline

#4 2010-03-09 08:13:50

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Re: Openbox marchobmenu [solved]

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

#5 2010-03-12 14:57:48

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

Re: Openbox marchobmenu [solved]

ju1ius, did you get my reply?

Offline

#6 2010-03-13 01:35:32

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Re: Openbox marchobmenu [solved]

I think ju1ius is not too active here but he should see it eventually.

Thanks for helping drsjlazar

Offline

#7 2010-03-28 02:33:14

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Re: Openbox marchobmenu [solved]

NOTE: Now works great here on AUR

Offline

#8 2010-03-28 04:26:19

Anonymo
Member
Registered: 2005-04-07
Posts: 427
Website

Re: Openbox marchobmenu [solved]

tawan wrote:

NOTE: Now works great here on AUR

Can you update the openbox arch wiki to reflect the use of this program?

http://wiki.archlinux.org/index.php/Openbox

Offline

#9 2010-08-26 23:53:17

ju1ius
Member
Registered: 2010-03-08
Posts: 4

Re: Openbox marchobmenu [solved]

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

#10 2010-08-27 23:40:49

ju1ius
Member
Registered: 2010-03-08
Posts: 4

Re: Openbox marchobmenu [solved]

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

#11 2010-08-27 23:55:50

ju1ius
Member
Registered: 2010-03-08
Posts: 4

Re: Openbox marchobmenu [solved]

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

Board footer

Powered by FluxBB