Re: [ANN] Customizing GWorkspace and other apps
Rubens_Septimus <[email protected]> Fri, 2 May 2008 04:46:23 -0700 (PDT)
| Newsgroups | gmane.comp.lib.gnustep.applications |
|---|---|
| Message-ID | <[email protected]> |
Fred Kiefer wrote: >=20 > Rubens_Septimus wrote: >>=20 >>=20 >> Rubens_Septimus wrote: >>> >>> >>> Fred Kiefer wrote: >>>> Rubens_Septimus wrote: >>>>> Hello ! >>>>> >>>>> I try to understand customizing with GNUstep : >>>>> >>>>> 1=C2=B0) Icons : is a clean way to customize icons in GWorkspace ? I = tried >>>>> to >>>>> do >>>>> so on a draft system (virtual box) before installing GNUstep on my >>>>> real >>>>> computer. But it was dirty, because copying file icons in the system >>>>> domain >>>>> results in many disadvantages : >>>>> 1) Other people can't chose their icons or can't revert to the classi= c >>>>> ones >>>>> ; >>>>> 2) When upgrading, the customized icons will be lost. >>>>> >>>>> So I thought the User domain was the good way, but putting icons file= s >>>>> in >>>>> ~/GNUstep/Icons/ gives no result. Any idea how to achieve this ? >>>>> >>>> There is one other way to customize icons, that is by using a mapping >>>> to=20 >>>> a different file name in the nsmapping.strings file. You find that fil= e=20 >>>> in the GNUstep/System/Library/Images directory. >>>> >>>>> Are the 48x48 size and the tiff format the only ones supported ? >>>>> >>>> You may use different sizes or formats. >>>> >>>>> 3=C2=B0) How I can get windows bar to look different, for example, wi= th >>>>> pretty >>>>> color buttons like on Mac OS X ? Is a way to do this from "defaults" >>>>> directive ? >>>> You will need to program that yourself, but it shouldn#T be to hard, i= f=20 >>>> you know what you want. >>>> >>> Thanks, Fred. I will try the nsmapping.strings. It seems cleaner than m= y >>> first attempt. >>> For the other suggestion, I will wait a little to learn more about >>> Objective-C and so on... >>> >>> Patrick >>> >> Well, searching nsmappings.strings on Ubuntu only reports >> /usr/share/pixmaps/GNUstep/nsmapping.strings, but that file don't deal >> with >> dir or app icons... >> There is a /usr/lib/GNUstep/Images (apparently path with System are >> deprecated) but no nsmapping.strings inside. So the only way seems to >> make a >> backup of the old icons and copying in the shared folders the new icons. >> Did'nt find how to use mapping files. >>=20 >=20 > No idea what version of GNUstep you have installed and how you installed= =20 > it. > Anyway there should be a nsmapping.strings file in the directory=20 > where your images are stored. And this file should have a similar=20 > structure to this: >=20 > NSSwitch =3D common_SwitchOff; > NSHighlightedSwitch =3D common_SwitchOn; > NSRadioButton =3D common_RadioOff; >=20 >=20 > This is the mapping from a logical image name to a physical. This=20 > mechanism was intended to provide a mapping from Next image names to=20 > GNUstep image files, but it could be misused for theming as well, by=20 > redefining one physical name into another. This wont allow you to just=20 > change the path to the image directory (this can only be done via=20 > changes to NSBundle), but enables you the redefine the used images on a= =20 > one by one basis. >=20 Well, my GNUstep is now a regular installation from Ubuntu Hardy. I seems /etc/GNUstep/GNUstep.conf now replaces the source mechanism previously used from Makefiles/GNUstep.sh. In that conf file they say :=20 "# These GNUSTEP_*_ROOT variables are obsolete, and will be removed. GNUSTEP_SYSTEM_ROOT=3D/usr/System GNUSTEP_LOCAL_ROOT=3D/usr/Local GNUSTEP_NETWORK_ROOT=3D/usr/Network" Well about nsmapping.strings, there is only one and it is where I said and it complies with your description. Maybe I misunderstood it's usage : I thought it could handle things like common icon files path like Home_Folder= . But, if I understand well your explanation, only the icons for theming the appearance in the UI. So you tell me about NSBundle. Where can I find more about it ? (I'm a very newbie !) Thanks for your attention. Patrick --=20 View this message in context: http://www.nabble.com/Customizing-GWorkspace-= and-other-apps-tp16973040p17016202.html Sent from the GNUstep - Apps mailing list archive at Nabble.com.