public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] Difficulties to use scripts from openbox menu.xml
@ 2011-07-03  5:13 meino.cramer
  2011-07-03 14:17 ` Neil Bothwick
  0 siblings, 1 reply; 3+ messages in thread
From: meino.cramer @ 2011-07-03  5:13 UTC (permalink / raw
  To: Gentoo

Hi,

a weird problem hit me... ;)

I have a script, which cd into a certain
directory and starts a program from there
with "./<program>".

This scripts works fine from the commandline.

But when I use the same script inside the 
~/.config/openbox/menu.xml, I does not work:
No program start.

My setup:
recent Gentoo
X11
Slim
openbox
mrxvt

What do I have to change to make this working?

Best regards,
mcc





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] [OT] Difficulties to use scripts from openbox menu.xml
  2011-07-03  5:13 [gentoo-user] [OT] Difficulties to use scripts from openbox menu.xml meino.cramer
@ 2011-07-03 14:17 ` Neil Bothwick
  2011-07-04  1:13   ` meino.cramer
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Bothwick @ 2011-07-03 14:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

On Sun, 3 Jul 2011 07:13:16 +0200, meino.cramer@gmx.de wrote:

> I have a script, which cd into a certain
> directory and starts a program from there
> with "./<program>".
> 
> This scripts works fine from the commandline.
> 
> But when I use the same script inside the 
> ~/.config/openbox/menu.xml, I does not work:

Does the script use an absolute path to cd?


-- 
Neil Bothwick

Y'know how s'm people treat th'r body like a TEMPLE?
Well, I treat mine like 'n AMUSEMENT PARK...  S'great...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] [OT] Difficulties to use scripts from openbox menu.xml
  2011-07-03 14:17 ` Neil Bothwick
@ 2011-07-04  1:13   ` meino.cramer
  0 siblings, 0 replies; 3+ messages in thread
From: meino.cramer @ 2011-07-04  1:13 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> [11-07-04 03:03]:
> On Sun, 3 Jul 2011 07:13:16 +0200, meino.cramer@gmx.de wrote:
> 
> > I have a script, which cd into a certain
> > directory and starts a program from there
> > with "./<program>".
> > 
> > This scripts works fine from the commandline.
> > 
> > But when I use the same script inside the 
> > ~/.config/openbox/menu.xml, I does not work:
> 
> Does the script use an absolute path to cd?
> 
> 
> -- 
> Neil Bothwick
> 
> Y'know how s'm people treat th'r body like a TEMPLE?
> Well, I treat mine like 'n AMUSEMENT PARK...  S'great...

Yepp!

mcc





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-04  2:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-03  5:13 [gentoo-user] [OT] Difficulties to use scripts from openbox menu.xml meino.cramer
2011-07-03 14:17 ` Neil Bothwick
2011-07-04  1:13   ` meino.cramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox