Tiny Core Base > TCB Talk

hacking .X.d

<< < (7/7)

curaga:
iptables twice?

jur:

--- Quote from: curaga on November 11, 2010, 02:17:12 PM ---iptables twice?

--- End quote ---
Oops, thanks!

danielibarnes:
One more alternative: the waitForX binary waits for X to start. You could include this line (or something similar) in bootlocal.sh to wait for X to start before loading your extensions:
(/usr/bin/waitforX; [ -f /home/tc/.startup ] && home/tc/.startup) &

gerald_clark:
No, you cannot wait for X in bootlocal.sh, as this runs before the user is logged in.

danielibarnes:
Well, see, that's what I get for posting without actually trying it first. I typically include the caveat, "I haven't tried this ..." but I was lazy. It does work, however, if you change waitforX to: su -c "/usr/bin/waitforX" tc. :)

I'd not seen anyone examine methods for starting X quicker, though, so I found this topic interesting.

Navigation

[0] Message Index

[*] Previous page

Go to full version