CHANGE THE MAC 10.7 LION LOGIN SCREEN BACKGROUND IMAGE?

来源:互联网 发布:课程可从哪些方面优化 编辑:程序博客网 时间:2024/05/21 12:42

I have to agree with you. I was lucky enough to run thebeta releases of Lion so I've had a few months head start on you in terms of learning its features and capabilities, but I've long been a fan of the minimalist Mac OS X graphical user interface, so most of Lion felt very comfortable to me.

But I can also relate to your desire to spiff up some of the more mundane elements of Lion too, including that scary boring login screen.

Here's the good news/bad news, however: you canchange the image, but it's not particularly easy. You'll need to hack your system just a little bit, delving into a directory that you've probably never touched before. I'll give you all the steps but it's still not for the faint of heart.

Ready?

First you need to figure out your current screen resolution. Easiest is to go to System Preferences -> Display and just look at the default setting:

mac lion change login screen background image 1

You can see my screen is set to 1680 x 1050. For this hack to work best, I'll need to find an image that matches.

To do that, I am a big fan of Google Image Search and will use that to find something new. I'll use theadvanced search capability because it'll let me specify some useful parameters:

mac lion change login screen background image 2

To start out, I'll search for "boulder flatirons" as a photograph with a size at least 1024x768. The result:

mac lion change login screen background image 4

Note on the left where it says "Exactly..." as one of the image size options. I'll use that to specify the exact dimensions I seek (1680x1050).

mac lion change login screen background image 5

The result are certainly interesting, not quite sure how they all relate to the keywords I specified, but still, there are way more interesting images to have on my login screen than the grey linen graphic that's part of Mac OS X 10.7 Lion:

mac lion change login screen background image 6

I actually like the photo of the hot air balloon and the clouds (the one that's presented with more data because my cursor's over the image), but when I click on it, I decide it's a bit cheesy. Instead, a new, more advanced search. I use the same size constraints, but this time search for "tropics OR surf OR waves OR palm tree" and one of the results is splendid:

mac lion change login screen background image 7

To get the full-size image, I click on the thumbnail then click on the 'full size' image link that Google Imagesputs on the right side of the screen. A quick right-click on the large image, choosing "Save Image As..." and I'll give it the Lion-required name of NSTexturedFullScreenBackgroundColor.png (tip: it needs to be in PNG format too, not just have that filename suffix! If your image isn't in PNG format, change it using a handy utility like Graphic Converter. While you're at it, make sure that it's at 72ppi, not 200ppi or 300ppi. I don't do this the first time and you'll see in a sec what happens!).

Image ready? Great. Now let's get to the right place on your Mac OS X Lion file system. This is a bit tricky because it's a protected directory. To get there, go to the Finder and choose "Go To Folder..." from the "Go" menu, then enter the following:

/System/Library/Frameworks/AppKit.framework/Versions/C/Resources

It'll look like this:

mac lion change login screen background image 8

Click on "Go" and scroll down to find the "NSTexturedFullScreenBackgroundColor.png" image. Here it is, along with a preview glimpse:

mac lion change login screen background image 9

Let's rename the existing file to something different before we drag the new image onto this directory. I like adding ".old" to the filename, but you can do something else if you want. We just want to save it juuusssttt in case you want to switch back some day.

Files are renamed by clicking twice -- slowly! -- on the filename itself. Do that, add the new fragment to the filename, enter your administrative password (it's for your protection, to ensure you don't mess up system files inadvertently) and you're ready to drag the new image into this directory. Of course, drag the image on and you get the following:

mac lion change login screen background image 10

No worries. Click on "Authenticate" and enter your admin password. Now, finally, here's what you see:

mac lion change login screen background image 11

That's it. Now, does it work? Let's take a deep breath then log out and log in again:

mac lion change login screen background image 12

Yikes. That's not right. What the heck went wrong?

I open up the image in GraphicConverter again and find out that the image resolution isn't 72ppi, but rather 300ppi. Not good:

mac lion change login screen background image 13

A quick change of the resolution to 72ppi, save the update, log out and...

mac lion change login screen background image 14

Sweet! Now that is a far more attractive login screen than the boring old Lion grey linen!

http://www.askdavetaylor.com/change_mac_107_lion_login_screen_background_image_photo.html



原创粉丝点击