Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Run program (Plugin) At startup and gui_syncsplash help
« previous next »
  • Print
Pages: [1]

Author Topic: Run program (Plugin) At startup and gui_syncsplash help  (Read 3103 times)

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Run program (Plugin) At startup and gui_syncsplash help
« on: August 24, 2006, 06:58:42 PM »
is it possible to make it so it runs a plugin at startup, ive searched around and i didnt find anything, so it either hasnt been done yet, or been talked about much =S


and i would also like to add that when using a dark WPS the splash seams to always be black text on the black WPS background. is there a way to change it so that the splash uses the forground/background colours? because that would be cool :)
« Last Edit: August 24, 2006, 09:23:39 PM by Jazz00006 »
Logged
Whats that got to do with the price of feet?

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #1 on: August 24, 2006, 11:08:24 PM »
I don't really see the use of running a plugin at startup. What were you thinking of this for?
Logged

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #2 on: August 26, 2006, 02:31:25 AM »
well, my original idea was to run a locking program (password protection for rockbox) but it could also be used for running a small cleanup at start up.
but the ,most recent idea came to me as i put about 6 new wps on my iriver, they all use the same wps, but with diferent backgrounds, i was thinking that you could make a plugin that ran at startup and chose a random wps (from the list u can make) and it will make it display, i know it would take a long time to start up but it would be cool (for me anyway)

but i dunno, maybe my ideas are just too stupid (or useless)

but what about making the splash screen using foregound and background colours, that way i could see what the messages say :)

Logged
Whats that got to do with the price of feet?

Offline XavierGr

  • Global Moderator
  • Member
  • *
  • Posts: 207
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #3 on: August 26, 2006, 03:39:13 AM »
Actually Rockbox can do that. :D

Rename a plugin of your choice to "autostart.rock" and place it on the plugins folder.
Next time Rockbox will initialise and fire up the plugin named "autostart.rock".

Check apps/main.c for more details.
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #4 on: August 26, 2006, 07:48:26 AM »
Quote from: XavierGr on August 26, 2006, 03:39:13 AM
Actually Rockbox can do that. :D

Rename a plugin of your choice to "autostart.rock" and place it on the plugins folder.
Next time Rockbox will initialise and fire up the plugin named "autostart.rock".

Check apps/main.c for more details.
If you check more closely, you will discover that the autostart code is disabled. You have to build your own Rockbox where you remove the comments from #define AUTOROCK in main.c.

Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #5 on: August 26, 2006, 07:56:28 AM »
Ah well, at least this qualifies as a "requires minimal coding skills to add to a custom build" style problem. :)
Logged

Offline XavierGr

  • Global Moderator
  • Member
  • *
  • Posts: 207
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #6 on: August 26, 2006, 09:12:23 AM »
Oops I forgot about that!   ::)

At least the code is there....
Logged

Offline Jazz00006

  • Member
  • *
  • Posts: 40
  • Master Jin
Re: Run program (Plugin) At startup and gui_syncsplash help
« Reply #7 on: August 27, 2006, 12:21:42 AM »
cheers guys :)
Logged
Whats that got to do with the price of feet?

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Run program (Plugin) At startup and gui_syncsplash help
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.035 seconds with 15 queries.