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

Click here to return to the 'Add a text message to the login window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add a text message to the login window
Authored by: p0pper on Jul 09, '10 02:39:51PM
this is very old, but i just found out how to put in line breaks after unintentionally corrupting my plist in snow leopard. here's what you have to do:

open the plist file with Property List Editor as root (either use or launch it with
 sudo /Developer/Applications/Utilities/Property\ List\\ List\ Editor 
) and re-save the plist as either text or xml (it's binary by default since leopard or tiger). then enter your string as documented in the hint without line breaks.

then, using a hex editor such as HexEdit (as root, the same way as above), open your now non-binary plist and insert, into the hex code of the file, the sequence "0A" wherever you want a line break (without the quotes, obviously). that's a zero, not an "o".

you may have to resave your plist as a binary (i did) to make it work, but i'm not sure.
Decay heat is not ordered information.
-Patrick Lui (SLAC)

[ Reply to This | # ]