Tiny Core Base > TCB Q&A Forum

SOLVED: Start mnttool (and conky) automatically at boot

(1/2) > >>

OldAdamUser2:
I'd like to have the mount tool on my screen automatically as soon as Tiny Core boots into X. I've tried a number of different ways of doing this with bootlocal.sh and .xsessions, so far with no success.

Basically, I tried adding "mnttool" or "exec mnttool" or "sudo mnttool" in each file. No joy.

Any hints would be welcome.

^thehatsrule^:
.xsession would be the correct file

It may need to be backgrounded, i.e. `mnttool &`

OldAdamUser2:
Thanks for the tip. I tried a couple of variants, so far without success.

mnttool $ (as a separate line in .xsession did not work).

Then I decided to try it at the end of the line that invokes flit:

[ "$DESKTOP" == "flwm" ] && flit && mnttool $

That didn't work either. I don't yet know enough about scripting to KNOW what I'm doing! Trial and error is my thing. Mostly error.

Lee:
Maybe try putting it in .xsession?

OldAdamUser2:
Finally got it right. In .xsession I need the line:

exec /usr/bin/mnttool &

To automatically start conky, I need--

exec /usr/local/bin/conky &

Thanks for the help, guys!

Navigation

[0] Message Index

[#] Next page

Go to full version