Zut n00b
Joined: 27 Jun 2004 Posts: 21 Location: Sheffield, UK
|
Posted: Fri Sep 24, 2004 11:47 pm Post subject: Cant autostart apps with Entrance |
|
|
Im building an HTPC, and I want mythfrontend to start when I log in, and when I exit mythfrontend I want the WM (fluxbox) to exit.
Im using entrance for the non-ugliness, but it seems it wont let me autostart stuff. For now I'd just like it to autostart mythfrotend... My ~/.xsession looks like this at the moment, although Ive changed it plenty...
Quote: | #!/bin/bash
mythfrontend &
fluxbox |
Ive also tried exec, and the wait $pid thing. I made the file executable with chmod +x, and I know it recognises the file, since if I screw it up, it wont log in at all. Ive check all the various xseesion and xinitrc file in /etc and they all point to ~/.xsession.
Does anyone know what Im doing wrong? Is it entrance, fluxbox, xorg, or myself at fault?
Also, do you know how I can get it to exit when mythfrontend does? Im understand that the session will end when .xsession has been completed, so can I just reverse things to get it to work this way? I already tried stuff like...
Quote: | mythfrontend &
waitpid=$1
fluxbox &
wait $waitpid |
Any ideas?
Thanks very much |
|