Bug#565491: [fluxbox] Doesn't start programs

2010-03-29 Thread Peter Fritzsche
Paul Tagliamonte wrote:
 Severity: important
 thanks
 
 On Sun, Mar 28, 2010 at 7:33 AM, Peter Fritzsche peter.fritzs...@gmx.de 
wrote:
  I think I found the problem. (Just read fbrun source code, but rest will
  probably work the same). Execl is used to start the program using $SHELL
  -c myprogram. This cannot work because I use zsh and output of my $SHELL
  is zsh - which of course cannot be found by execl (needs full path).
 
  Setting shell in my screenrc to /bin/zsh worked around that problem.
 
 I'm taking a look into this now. Thanks Peter!

I think the best idea would be to read env['SHELL'] - if that exists then 
check if we are allowed to execute that file (and that it exists and is not a 
folder). If it is not a valid shell then just do what is done when no 
env['SHELL'] is set - use /bin/sh as shell

Best regards,
Peter



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#565491: [fluxbox] Doesn't start programs

2010-03-28 Thread Peter Fritzsche
I think I found the problem. (Just read fbrun source code, but rest will 
probably work the same). Execl is used to start the program using $SHELL -c 
myprogram. This cannot work because I use zsh and output of my $SHELL is zsh 
- which of course cannot be found by execl (needs full path).

Setting shell in my screenrc to /bin/zsh worked around that problem.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#565491: [fluxbox] Doesn't start programs

2010-03-28 Thread Paul Tagliamonte
Severity: important
thanks

On Sun, Mar 28, 2010 at 7:33 AM, Peter Fritzsche peter.fritzs...@gmx.de wrote:
 I think I found the problem. (Just read fbrun source code, but rest will
 probably work the same). Execl is used to start the program using $SHELL -c
 myprogram. This cannot work because I use zsh and output of my $SHELL is zsh
 - which of course cannot be found by execl (needs full path).

 Setting shell in my screenrc to /bin/zsh worked around that problem.





I'm taking a look into this now. Thanks Peter!

-- 
#define sizeof(x) rand()
:wq



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#565491: [fluxbox] Doesn't start programs

2010-01-16 Thread Peter Fritzsche
Package: fluxbox
Version: 1.1.1-5
Severity: normal

I have a machine running thightvncserver as user program. As window manager 
fluxbox was choosen. When I now make a right click on the background the 
application menu pops up and I can click on any menu entry. but then the 
program doesn't open. I tried with several programs, but no one works. I 
tested also openbox and it seems that it works there.

Is there any debug option I can use to get more information from fluxbox?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org