On Wed, Oct 10, 2007 at 09:36:09PM +0200, Johannes Krude wrote:
> Am Mittwoch 10 Oktober 2007 schrieb Christian G. Warden:
> > I get the following when trying to run mpd-dmenu:
> > MPD_HOST="localhost" mpc --no-status
> > sh: -c: line 29: syntax error: unexpected end of file
>
> Thats weird. on line 29 is only an assignment
> and why is sh complaining and not ruby
>
> > The status script runs, but shows the contents of $WMII_NORMCOLORS in
> > the status bar.
>
> Are you using a bleding edge version of wmii, where they changed the API or
> something?
> I'm not that much into wmii, I just copied it from the original status.
> I'm using wmii-3.6_rc2 from gentoo and it's working perfectly for me.
I don't grok ruby, but it seems "#{$dmenu}" is not being expanded
properly. Here's what's getting run:
execve("/bin/sh", ["sh", "-c", "echo \"add\nclear\ncrop\ncrossfade\ndisable\nenable\nload\nmove\nnext\noutputs\npause\nplay\nplaylist\nplaylists\nprevious\nrandom on\nremove\nremove_playlist\nrepeat on\nsave\nsearch\nsearch_one\nseek\nshuffle\nstats\nstop\nupdate\nversion\nvolume\" | "], [/* 125 vars */]) = 0
If I replace "#{$dmenu}" with "dmenu -b" it works properly:
execve("/bin/sh", ["sh", "-c", "echo \"add\nclear\ncrop\ncrossfade\ndisable\nenable\nload\nmove\nnext\noutputs\npause\nplay\nplaylist\nplaylists\nprevious\nrandom on\nremove\nremove_playlist\nrepeat on\nsave\nsearch\nsearch_one\nseek\nshuffle\nstats\nstop\nupdate\nversion\nvolume\" | dmenu -b"], [/* 125 vars */]) = 0
xn
Received on Fri Oct 12 2007 - 00:34:28 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:29:38 UTC