Dave Miner-san wrote (10/11/08 02:14 AM): > Erwann Chenede wrote: >> Dave Miner wrote: >>> Erwann Chenede wrote: >>>> Hi Takao & Dave, >>>> >>>> I believe ddu.desktop and getting_started.desktop are placed on the >>>> desktop by the installer. Dave, Am I correct ? >>>> If so we could get rid of the /jack checks an only cater of >>>> register-opensolaris.desktop packagemanager.desktop. >>>> >>>> Thanks to let me know, >>>> >>> >>> Yes, SUNWslim-utils supplies jack's desktop. I don't think your code >>> should be doing anything special based on /jack, as that could appear >>> in an installed system independent of the live CD. >> Ok, so if we don't do anything the installer will have to remove >> register-opensolaris.desktop & packagemanager.desktop if you don't >> want it on the liveCD desktop. >> >> Is that Ok ? >> > > That's what we did for BTS, so if the same fix (ensuring there's an > empty .os-icons-installed file in jack/.gnome2) still works, I'm fine.
The LiveCD has the following .desktop files. ddu.desktop getting_started.desktop packagemanager.desktop register-opensolaris.desktop install_opensolaris.desktop Do you mean three files, ddu.desktop, getting_started.desktop and install_opensolaris.desktop, are copied by the installer? If so, we can check packagemanager.desktop and register-opensolaris.desktop only? Unfortunately jack/.gnome2/.os-icons-installed doesn't work at present and I'm moving it to jack/$DESKTOP/.os-icons-installed . The problem is $DESKTOP is changed when we change the locale in GDM login prompt. I think another solution is to check the time stamp of .os-icons-installed and $DESKTOP. I attached the script to check packagemanager.desktop and register-opensolaris.desktop only. Thanks, fujiwara > > Dave > >> Thanks, >> >> Erwann >>> >>> Dave >>> >>> >>>> Erwnan >>>> >>>> >>>> >>>> Takao Fujiwara - Tokyo S/W Center wrote: >>>>> Takao Fujiwara - Tokyo S/W Center-san wrote (10/10/08 04:28 PM): >>>>> >>>>>> Takao Fujiwara - Tokyo S/W Center-san wrote (10/10/08 04:12 PM): >>>>>> >>>>>>> Takao Fujiwara - Tokyo S/W Center-san wrote (10/ 7/08 01:57 PM): >>>>>>> >>>>>>>> I'm fixing opensolaris-icons-copy.sh for locales. >>>>>>>> >>>>>>>> I think the script could be called when the locales are changed >>>>>>>> so $MARKER_DIR is also changed. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> I'm revising the patch opensolaris-welcome-01-g11n-icon-copy.diff >>>>>>> to work with LiveCD. >>>>>>> if /jack/Desktop exists, I thought it's LiveCD. Otherwise I have >>>>>>> no idea. >>>>>>> >>>>>> Hmm.., it seems this update doesn't work because >>>>>> register-opensolaris.desktop is in /usr/share/applications but >>>>>> ddu.desktop is in /jack/Desktop. >>>>>> I need to think the fix again.. >>>>>> >>>>>> >>>>> >>>>> Attaching the update of opensolaris-welcome-01-g11n-icon-copy.diff >>>>> again. >>>>> If /usr/share/applications doesn't have the .desktop, /jack/Desktop >>>>> is searched. >>>>> >>>>> >>>> >>>> >>> >> >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: opensolaris-icons-copy.sh Type: application/x-shellscript Size: 643 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20081013/9ebcf952/attachment.bin>
