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

10.5: Change login panel background System 10.5
While attempting to get rid of the gaudy pink and purple Aurora login picture, I found that it is no longer enough to simply rename your picture of choice to Aurora.jpg and drop it in Desktop Pictures a la Aqua.jpg in previous releases.

To change the picture behind the login panel in 10.5, one must name the picture of choice DefaultDesktop.jpg, and drop it in to /System » Library » CoreServices. Doing this as the admin user is required for authentication purposes.

[robg adds: It's the simple things that can make using one's OS of choice more pleasant :). I used Terminal to create a backup of the original image first, just in case. After cding to the CoreServices directory, I then did sudo mv DefaultDesktop.jpg DefaultDesktop_old.jpg, then moved my new image in.]
    •    
  • Currently 3.57 / 5
  You rated: 5 / 5 (7 votes cast)
 
[71,374 views]  

10.5: Change login panel background | 10 comments | Create New Account
Click here to return to the '10.5: Change login panel background' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Change login panel background
Authored by: rspeed on Nov 01, '07 02:04:45PM

Changing /System bad mojo! Though... I guess this is harmless enough.



[ Reply to This | # ]
10.5: Change login panel background
Authored by: jmcmurry on Nov 01, '07 03:35:55PM

"There's a more elegant way to do this," at least on my MBP running 10.5:

Change the login window background picture - revisited

(I used the "Terminal solution")



[ Reply to This | # ]
10.5: Change login panel background
Authored by: randalla on Nov 01, '07 08:12:59PM

I agree, replacing system files is a sloppy way to do this. The defaults write method works very well, and actually was carried over to my 10.5 install when I upgraded (which made me happy).


---
Xaren Development
http://www.xaren.net



[ Reply to This | # ]
10.5: Change login panel background
Authored by: Ronald Lanham on Nov 04, '07 02:34:24PM

Major caution!

Re. my post at the MacFixIt Leopard forum regarding this...

http://www.macfixitforums.com/showflat.php?Cat=&Board=leopard&Number=836950&page=0&view=collapsed&sb=5&o=21&fpart=&vc=1&PHPSESSID=

Among other things... with Leopard it MAY make it impossible to do backups using SuperDuper!



[ Reply to This | # ]
10.5: Change login panel background
Authored by: morespace54 on Nov 12, '07 08:58:29AM

Can someone tell me what is the correct path is the "default" Aurora.jpg picture for the Login in 10.5 (in "com.apple.loginwindow" plist file)?

I'm working on a Applescript to help users to change their login background image for their own or help them to restore the default one (that's why I need the correct path and name used for the "Aurora.jpg" in "com.apple.loginwindow")
I'm not in front of my 10.5 right now...

thanks!



[ Reply to This | # ]
10.5: Change login panel background
Authored by: morespace54 on Nov 15, '07 12:40:01PM
Here my upadated Applescript version to do just that.

Thanks so much to stormen for the "hard work"... ;)
http://www.macosxhints.com/article.php?story=20070610164328933

It's for 10.5 only (as there is no default "DesktopPicture" key in apple.com.loginwindow file in Leopard).




[code]
(*
----------------------------------------
Created by Stormen (Stormen81 AT gmail DOT com) on June 14, 2007
Modified by morespace on November 15, 2007 (for Mac OS 10.5)
----------------------------------------
*)



-- Get current loged in user
tell application "System Events" to set c_user to name of current user


-- Restore default pic or choose a new one
set my_result to display dialog

"Would you like to change the Login Background or restore the default one" with icon 1 buttons {"Restore", "Change"} default button 2

if button returned of my_result is "Restore" then
set chosen_pic to true
set my_choice to "Restore"
else
set chosen_pic to choose file with prompt "Please select a Background Image for the Login Window:" without invisibles

-- set the image path
set image_path to quoted form of (POSIX path of (chosen_pic as alias))
set ThePic to image_path
set my_choice to "Change"
end if




-- set the shell script for the user
if my_choice is "Restore" then
set myScript_s to " sudo defaults delete /Library/Preferences/com.apple.loginwindow \\DesktopPicture"
else
set myScript_s to "sudo defaults write /Library/Preferences/com.apple.loginwindow \\DesktopPicture " & ThePic
end if


-- user must enter the root password for the shell
set inpwd to display dialog "Enter Root password " default answer "" with icon 2 with hidden answer

if inpwd is not false then
-- set the user password
set pwd to text returned of inpwd
-- run the shell command
do shell script myScript_s password pwd with administrator privileges
--end if
end if



--Log Out prompt
set my_result to display dialog "Done!" & return & "Would you like to Log Out immediately?" with icon 2 buttons {"Cancel", "Log Out"} default button 2

if button returned of my_result is "Log Out" then
tell application "System Events"
keystroke "q" using command down & shift down & option down -- Log Out

end tell
end if

[/code]


There must be a zillion ways to make this more compact or more elegant but it works for me.

[ Reply to This | # ]
10.5: Change login panel background
Authored by: King Pelvis on Feb 27, '08 02:37:46PM

Incredible that changing a wallpaper can cause system instability and dangers. Why have they included an (ugly in mho) wallpaper in the login procedure? It makes no sense.

Almost seems like a bug that the changing of the default wallpaper doesn't also change the login wallpaper.

Odd also that none of the system tweak utilities like Onyx have a built in option to do this.



[ Reply to This | # ]
10.5: Change login panel background
Authored by: kevans on Jun 30, '08 06:59:17AM
There's a very cool, freeware application that does this safely and quickly. Desktop 2 Login will, when run, automatically set your personalized desktop image as the default startup image. The app is from the Rose-Hulman Institute of Technology and is on Apple's downloads page:

http://www.apple.com/downloads/macosx/icons_screensavers/desktop2login.html

[ Reply to This | # ]
10.5: Change login panel background
Authored by: charliez on Sep 15, '08 06:11:57PM

After the latest Leopard upgrade to 10.5.4 there is a bit of chown and chmod steps you have to do to the new DefaultDesktop.jpg:

chown root:wheel DefaultDesktop.jpg
chmod u=rw,g=r,o=r DefaultDesktop_new.jpg

chown makes root the owner, and wheel the group (mimics the original ownership of DefaultDesktop.jpg)
chmod recreates the permissions for root, wheel group, and others (also mimics the original permissions of DefaultDesktop.jpg)



[ Reply to This | # ]
10.5: Change login panel background
Authored by: headphonejack on Jun 18, '09 06:33:38AM

There is a much easier way (not mentioned here). Since I could not get the terminal to work I did this:

1. In the finders "Go" menu: Go to folder: HD/System/Library/CoreServices/
(This will open the CoreService Directory and you see all the files in there.)

2. Drag your (you wish) desktop picture in to the CoreService Directory.)
(Of course, rename it before Dragging into: DefaultDesktop.jpg)

3. After Dragging and Dropping the picture you will have to authenticate as the admin user.)

And voala: you are done. The next time you log out or into your system, you see the new choosen screen.



[ Reply to This | # ]