WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SOLVED: Start mnttool (and conky) automatically at boot  (Read 3464 times)

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
SOLVED: Start mnttool (and conky) automatically at boot
« on: January 05, 2010, 02:38:15 PM »
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.
« Last Edit: January 05, 2010, 04:27:14 PM by OldAdamUser2 »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Start mnttool automatically at boot
« Reply #1 on: January 05, 2010, 02:57:43 PM »
.xsession would be the correct file

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

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: Start mnttool automatically at boot
« Reply #2 on: January 05, 2010, 03:26:55 PM »
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.


Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Start mnttool automatically at boot
« Reply #3 on: January 05, 2010, 03:51:13 PM »
Maybe try putting it in .xsession?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: Start mnttool automatically at boot
« Reply #4 on: January 05, 2010, 04:23:07 PM »
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!

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: SOLVED: Start mnttool (and conky) automatically at boot
« Reply #5 on: January 07, 2010, 10:21:01 PM »
FYI, "exec" is probably redundant