log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
- RISC OS London Show Report 2024 (News:1)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: General: Hepl me! Problem with !Boot structure and PreDesktop
 
  Hepl me! Problem with !Boot structure and PreDesktop
  filecore (18:53 11/6/2009)
  filecore (19:00 11/6/2009)
    filecore (19:08 11/6/2009)
  Phlamethrower (19:10 11/6/2009)
    Acornut (21:51 11/6/2009)
      filecore (05:19 12/6/2009)
        Acornut (07:46 12/6/2009)
          filecore (08:00 12/6/2009)
            VincceH (08:25 12/6/2009)
              filecore (09:05 12/6/2009)
 
Jason Togneri Message #110228, posted by filecore at 18:53, 11/6/2009

Posts: 3868
Okay, it's been quite literally over a decade since I last touched this stuff.

There's an error popping up on boot:

File 'StartDesktopTask' not found

To rectify this, I went to !Boot.Choices.Boot.PreDesktop and inserted the following line in the Alias section:

Alias StartDesktopTask Filer_Run %%*0

Instead, I now get a new error (looking for parameters):

Syntax: *Filer_Run <file>|<application>

And now I'm stumped. Can anybody help?

While I'm here, another question: where (and how) do I add tasks to make them boot automagically? I'm assuming it's in !Boot.Choices.Boot.Tasks but do I need to put the entire app in there?
  ^[ Log in to reply ]
 
Jason Togneri Message #110229, posted by filecore at 19:00, 11/6/2009, in reply to message #110228

Posts: 3868
Update! changed it to:

Alias StartDesktopTask Error %%*0

And it returns:

Obey ADFS::cf4.$.!BOOT.Choices.Boot.Tasks.!IcnClpBrd.Configure

I deleted !IcnClpBrd.
  ^[ Log in to reply ]
 
Jason Togneri Message #110230, posted by filecore at 19:08, 11/6/2009, in reply to message #110229

Posts: 3868
And to answer my other question, I suppose an Obey file with the following should go into !Boot.Choices.Boot.Tasks...

run ADFS::cf4.$.Path.To.App.!<AppName>.!Run

Is that right?
  ^[ Log in to reply ]
 
Jeffrey Lee Message #110231, posted by Phlamethrower at 19:10, 11/6/2009, in reply to message #110228
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15100
StartDesktopTask is a command provided by the TaskManager module. Seemingly added sometime inbetween RISC OS 3.7 and 5, since my Iyonix supports it but my RiscPC doesn't. So I'm not exactly sure how it could magically break, unless you've swapped ROMs/hard discs without remembering it.

==> Help on keyword StartDesktopTask
Cause a task to start next time the desktop environment is entered.
Syntax: *StartDesktopTask <*command>
To get stuff to boot automagically... newer configure apps (RISC OS 4+?) have a settings window to allow you to configure what gets booted/run on startup. But I guess you don't have a newer version, so you can just stick the approprate Filer_Boot/Filer_Run line in !Boot.Choices.Boot.Desktop (which I believe is where the Configure widget will stick any bits you add through that)
  ^[ Log in to reply ]
 
Blind Moose Message #110232, posted by Acornut at 21:51, 11/6/2009, in reply to message #110231
Acornut No-eye-deer (No Idea)

Posts: 487
Boot.Choices.Boot.Desktop (which I believe is where the Configure widget will stick any bits you add through that)
I think the Configure widget is actually in Boot.Choices.Boot.Tasks ( Select)
and
Boot.Choices.Boot.PreDesk (3.7)

If that's any help. Not that I know what I'm doing!

[Edited by Acornut at 23:10, 11/6/2009]
  ^[ Log in to reply ]
 
Jason Togneri Message #110233, posted by filecore at 05:19, 12/6/2009, in reply to message #110232

Posts: 3868
StartDesktopTask is a command provided by the TaskManager module. Seemingly added sometime inbetween RISC OS 3.7 and 5, since my Iyonix supports it but my RiscPC doesn't. So I'm not exactly sure how it could magically break, unless you've swapped ROMs/hard discs without remembering it.
The complicated part is that I have 3.7, I've never ever had anything higher than 3.7, but I do have the RO4 universal !Boot structure.

To get stuff to boot automagically... newer configure apps (RISC OS 4+?) have a settings window to allow you to configure what gets booted/run on startup. But I guess you don't have a newer version, so you can just stick the approprate Filer_Boot/Filer_Run line in !Boot.Choices.Boot.Desktop
I don't have that option, I guess it's never than whatever OS version/!Boot structure version that I have. Should have posted my specs, sorry - wasn't really thinking (RO3.7/SA 202MHz/64MB/2MCool Dude.

Boot.Choices.Boot.PreDesk (3.7)
They both look right... or at least, both exist. I've been using whatever paths I listed earlier in this thread. Sadly today is a workday but tonight we have people round, so I shan't get to play for a while more. However, feel free to help - my exact !Boot structure (as it was just before I started this thread) is replicated here, feel free to browse and give advice!

The file I'm referring to is here (*.txt extensions added to make it easier to browse/view from Windows et al). You can browse the entire !Boot structure from here.

[Edited by filecore at 09:01, 12/6/2009]
  ^[ Log in to reply ]
 
Blind Moose Message #110234, posted by Acornut at 07:46, 12/6/2009, in reply to message #110233
Acornut No-eye-deer (No Idea)

Posts: 487
feel free to browse and give advice!

http://filth.ath.cx/ro3.7/

Aha!
Looks like you are missing your Desktop boot file.
Boot(fea)
found in Boot.Choices.Boot.Tasks.
This is where all the 'Filer_Boot' commands are placed, to configure your personal desktop preferences. big grin
  ^[ Log in to reply ]
 
Jason Togneri Message #110235, posted by filecore at 08:00, 12/6/2009, in reply to message #110234

Posts: 3868
Right, I found one from another machine's !Boot structure, this is it here. So if I just modify it to the tasks/apps resident on my own system, it should be fine?

The more I examine these files, the more I'm beginning to remember, but it's all so rusty... thanks again for the help!
  ^[ Log in to reply ]
 
VinceH Message #110236, posted by VincceH at 08:25, 12/6/2009, in reply to message #110235
VincceH
Lowering the tone since the dawn of time

Posts: 1600
The more I examine these files, the more I'm beginning to remember, but it's all so rusty... thanks again for the help!
From the mid-late 90s, the !Boot structure became a sprawling mess.

Hmmm... "You are in !Boot. You can go into Resources, Choices, [etc]. What next?"
  ^[ Log in to reply ]
 
Jason Togneri Message #110237, posted by filecore at 09:05, 12/6/2009, in reply to message #110236

Posts: 3868
Yep. I remember the changeover, it threw a lot of people off. It's like an adventure: Go North. Open Choices. Go East. Open PreDesktop. A Werebeast Attacks You. You Are Now Dead.
  ^[ Log in to reply ]
 

The Icon Bar: General: Hepl me! Problem with !Boot structure and PreDesktop