"You sunk my battleship grey!"

I sometimes wonder how many people will really see the effects of work I do in Solaris. Some fixes I know only a handful of people will ever notice since they're in such corner cases. In this month's Solaris Express/Solaris 10 Beta 7 build though, I know a change I made will be seen by every Solaris desktop user as soon as they finish installing, and it may be the most visible change I've ever made to Solaris. (That's almost a bit scary...)

Alan DuBoff already wrote about the new splash screens in this release, but didn't quite capture the entire depth of the change - it's more than just updating the splash screens as we've done with every previous Solaris release - the whole login screen got a makeover as well. The original directive that kicked off this project was a missive from above to "Get rid of the battleship grey, and make it look modern, not like a holdover from the 80's." (Not an exact quote I'm sure, since it filtered through a few people before it got to me, and my memory is far from perfect.) The image to a right is just a clip - click on it for a full screenshot to see its full glory. That's still the same CDE dtlogin program we've shipped in Solaris for almost a decade now, just with some changes to the X resources to change the appearance - you can still see hints of the old login screen in things like the buttons. Sun's Software Experience Design team did the hard part - coming up with the new design and graphics - I just had to do a little work in dtlogin to implement their design.

Under the hood, the only code changes were to stop hardcoding some of the resources and allow the Xresources file to override them. The X resources file was then modified to include a new file called styleModern - since it's run through the C pre-processor first, this was simply adding a #include line for it and setting the include path to search. The first attempt discovered that Motif does not handle well XPM files with thousands of colors - my Ultra 10 test machine took 30 seconds to load the login screen. Fortunately our graphics designers were able to reduce the number of colors used without making the graphics ugly, and it now takes no more time than the original login screen did to come up.

So far, most of the feedback I've seen from our internal testers has been very positive of the new look, and with the imminent release of Solaris 10 Beta 7 and the Solaris Express 10/04 release, we'll be putting out for everyone to see. Of course, some people don't like change - they may have customized the look of the old login screen to be just the way they want, and for them, the old screen is easy to restore - since it's created by loading the new X resource values in the styleModern file, removing the include from the Xresources file will restore the old look, as will simply making it find an empty styleModern in the include path ahead of the real one (such as by running "mkdir -p /etc/dt/config/C ; touch /etc/dt/config/C/styleModern")

Unfortunately, most locales have their own versions of this file in order to translate all the buttons and menus, and they were not all updated in time for this month's beta/express release, so you may have to choose 'C' or another English locale to see the new look - the localization teams are working on getting the other locales in sync for the final release of Solaris 10. Also, this was only done to dtlogin, which is still the default login screen in Solaris 10 - gdm2 is also available now that the Java Desktop System is included, but it already has it's own modern look-and-feel.

Oh, and don't get too attached to this particular set of colors & graphics - they're a placeholder to get the integration with dtlogin done and tested in the beta release - the final Solaris 10 graphics are still to come...

[See more blogs and links on Solaris at ]

Comments:

Hi, Yup I like the new look'n'feel :-) Looks like the Marketing People have done an Ad campaign with the one in {1}0 represented by a Chess King Piece and the 10 reasons why Solaris 10 is great :-) It would be nice to see that as a choice as well? So, what's the majic incantation to capture the screen from evil dtgreet/dlogin twins? I am trying to capture it for a book I am working on.. Thanks Frank

Posted by Frank Kannemann on December 06, 2004 at 04:32 PM PST #

Post a Comment:
Comments are closed for this entry.
About

Engineer working on Oracle Solaris and with the X.Org open source community.

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle, the X.Org Foundation, or anyone else.

See Also
Follow me on twitter

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today