Recycling Automatically on Startup? Thread last updated on 2007-07-11 20:13:23

Posted by member 376748 on 2007-07-08 10:02:23

I've recently installed Litestep, and everything is pretty much fine; however when I start up my computer, the Systray and lsxCommand modules don't display properly. Most of the Icons in the Systray don't load, and lsxCommand is greyed out (but still usable). Both these problems fix themselves when I !Recycle. Is it possible to make Litestep automatically !Recycle after the theme is loaded, and if so, how? I'd imagine it would involve putting an !Recycle in one of the .rc files, but not knowing exactly what order things are loaded in, I'd rather not risk causing an infinite loop or anything like that.

Or, of course, is there any way to fix said problems by editing the theme?

EDIT: Having checked, !Refresh also fixes the display errors.

Posted by member 1 on 2007-07-08 13:22:46 link

A Recycle shouldn't resolve your problem. I'm not trying to say that it isn't, but a Recycle is just LS unloading everything and starting again. Did you find that this only happens with one theme? What theme is it? What OS are you running?

Posted by member 212670 on 2007-07-08 13:23:28 link

Did you update your Litestep build to the final, found in the download section?

Posted by member 248213 on 2007-07-08 15:04:51 link

!recycle is a terrible way to solve your problem, and probably wont work 100% of the time.


That said, you could try adding a shortcut to your windows startup folder.
Mine, for example, is located "C:\Documents and Settings\fractal.design\Start Menu\Programs\Startup"

You'll want to create a new shortcut.
Type "C:\litestep\litestep.exe !recycle" in the location of the item field.

Note: This will only run when you logon, not everytime litestep.exe starts.
Note2: As I mentioned allready, this is a bad fix, but if it fixes your problems, who cares? :)

Posted by member 376748 on 2007-07-09 04:21:01 link

Nice idea; but it doesn't work. I think that the startup folder runs before the theme is finished applying or something, so LiteStep gets recycled before the problem occurs... Is there anywhere I could find out what order the .rc files are loaded in? Maybe I could stick an !Recycle in at the end of the last file, would that work?

@DeViLbOi:
Theme is wilmo 2.0, the OS is Windows XP Media Center with SP2.

Posted by member 1 on 2007-07-09 05:20:55 link

I downloaded the theme and will play with it over the next couple days and let you know what I find.

Posted by member 376748 on 2007-07-09 05:31:36 link

Thanks. It's not a major problem or anything, but it sucks to have to recycle every time I start up.

Posted by member 248213 on 2007-07-09 07:13:33 link

Crane, it would be more complicated than that, otherwise you'd end up stuck in an infinite loop (!recycling reads the rc files again)

Try the other ways you can run something on logon/startup (task scheduler, services, registry run, etc)

But I hope dev can figure out whats up.

Posted by member 376748 on 2007-07-09 08:30:25 link

Check my first post. The possibility of causing a loop was what made me come here in the first place... :-P

Posted by member 248213 on 2007-07-09 17:01:25 link

Yeah, I read your first post, and in light of it was offering you advice.

NO SOUP FOR YOU!

Posted by member 1 on 2007-07-10 19:01:55 link

Ok...I installed Wilmo and had no issues. Is it only when your computer first boots up or did it happen as soon as you installed the theme?

Posted by member 376748 on 2007-07-11 02:38:05 link

Only when it boots up. If I swap to the Wilmo theme from another one, it works fine.

Posted by member 376748 on 2007-07-11 14:17:05 link

Success!
Switching from Welcome Screen to Classic login makes it work fine.
The only problem now is that I can't just hit the power button, leave and then come back to find it ready to use, but once it's reached the login screen, it takes all of four seconds to load up litestep after I enter my username, so I guess it'll have to do. Thanks for trying though; everyone was very friendly and helpful.

Posted by member 1 on 2007-07-11 20:13:23 link

That means you need to update LiteStep to the final build that is available in the downloads section. It was a known bug back when omar's installer came out.