LinHES Forums http://forums.linhes.org/ |
|
How to run a script after X is started http://forums.linhes.org/viewtopic.php?f=6&t=1787 |
Page 1 of 1 |
Author: | Bizty [ Mon Jun 21, 2004 3:07 am ] |
Post subject: | How to run a script after X is started |
I need to call nvtv on each boot to adjust the tvout. Where should I put the line? I think it would be fine to have it in the same script that starts mythtv frontend so that I can run nvtv just before the frontend. |
Author: | nianderson [ Mon Sep 20, 2004 10:52 pm ] |
Post subject: | |
did you ever get that? |
Author: | gr8nash [ Tue Sep 21, 2004 10:12 am ] |
Post subject: | |
i always use this script to load my stuff, im not sure at what point in runs in the startup.. Quote: /etc/init.d/bootmisc.sh
|
Author: | nianderson [ Tue Sep 21, 2004 11:21 am ] |
Post subject: | |
well that didnt work anyone know where knoppmyth launches mythtv? it adjusted it to where i couldnt read anything then when x started it went back to normal. |
Author: | cesman [ Tue Sep 21, 2004 11:29 am ] |
Post subject: | |
/home/mythtv/.fvwm/.fvwm2rc |
Author: | gr8nash [ Tue Sep 21, 2004 11:37 am ] |
Post subject: | |
for clarification, when is "bootmisc.sh" run? |
Author: | nianderson [ Tue Sep 21, 2004 11:38 am ] |
Post subject: | |
great ... now for anyone else out there with similar issue add exec nvtv -r 800,600 -S NTSC -s Large -t -o 25,0 (or whatever your nvtv command is or any program you want to start with X) at the end of /home/mythtv/.fvwm/.fvwm2rc |
Author: | nianderson [ Tue Sep 21, 2004 11:40 am ] |
Post subject: | |
i wasnt paying attention but an easy way to find out is add an eco line in it like echo "HEY gr8nash bootmisc.sh starts here" in the top of it ![]() |
Author: | gr8nash [ Tue Sep 21, 2004 12:05 pm ] |
Post subject: | |
true.. that would work. ![]() |
Author: | Xsecrets [ Tue Sep 21, 2004 12:12 pm ] |
Post subject: | |
well look at the number on it in /etc/rc3.d dir. they go in order ones that start with S are run ones that start with K are not. I believe GDM runs as S99 which is the last. the problem you have sometimes is there will be 5 things at S99, and I'm not sure how it decides which one to run first, but I think at that point they run pretty much parallel and one doesn't have to wait for the other to finish. I'm sure that's all clear as mud, but think about it and look in the /etc/rc.? directories and I'm sure you will figure it out. |
Author: | tjc [ Tue Sep 21, 2004 1:56 pm ] |
Post subject: | |
Xsecrets wrote: I'm sure that's all clear as mud, ...
Wow, I haven't heard anyone else use that expression in ages... It's probably not surprising that it was an old TN Volunteer that infected me with that meme in the first place... |
Author: | Xsecrets [ Tue Sep 21, 2004 2:02 pm ] |
Post subject: | |
tjc wrote: Xsecrets wrote: I'm sure that's all clear as mud, ... Wow, I haven't heard anyone else use that expression in ages... It's probably not surprising that it was an old TN Volunteer that infected me with that meme in the first place... LOL yeah we have some interesting sayings down here. I think one of my favorite is "That boy is as high as a lab rat" |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |