Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Display a random fortune in the login window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Display a random fortune in the login window
Authored by: macmaxbh on Nov 18, '04 05:05:01PM

With the loginhook, will there be a new fortune every time you go to the login window or just when you restart (eg--if you log out of a running system, does the fortune change from what you got when you turned the computer)?



[ Reply to This | # ]
Display a random fortune in the login window
Authored by: robg on Nov 18, '04 06:23:16PM

Yes, it seems to change whenever the login screen is presented.

-rob.



[ Reply to This | # ]
Display a random fortune in the login window
Authored by: starwxrwx on Nov 28, '04 03:29:21AM

I use fast-user-switching to return to the login screen (but not log out) when I am away from my desk. The fortune quote stays the same.



[ Reply to This | # ]
Display a random fortune in the login window
Authored by: gw on Dec 08, '04 02:03:52AM

you need to make sure that you add the LogoutHook in order to change the fortune.

the fortune will only change when a user logs out (so just doing a lot of fast user switching will always reveal the same fortune, logging out just one user will force a change)

this is because it's the logout hook that's setting the login window text to the actual string


---
----
"I only conceptualize, everything else is hardware."
Prof. L.B. Wilson



[ Reply to This | # ]