[Portland] /opt setup

Wichmann, Mats D mats.d.wichmann at intel.com
Thu Jul 20 08:40:06 PDT 2006

On 7/20/06, Wichmann, Mats D <mats.d.wichmann at intel.com> wrote:
>>> While we were testing Picasa, we found that it was neccessary to do
>>>   ln -s /opt/picasa/bin/picasa /usr/bin/picasa
>> When we worked on something similar to xdg-utils in LSB a while back,
>> one of the pieces was a way for an application to "register" a
>> small script into /etc/profile.d.  /etc/profile.d/picasa.{sh,csh}
>> could handle adding an element to the path, no?

>Potentially.  But putting a link in /usr/bin (or /opt/bin) seems a
>lot less sensitive to profile setup f*ckups like:
>(which btw I still haven't quite figured out).

hmmm, I hadn't seen that. it's definitely not good if there is
*no* reliable mechanism...

anyway I think in the desktop case, this is not the "normal use",
as I think we're expecting most programs to be launched from the
desktop (menu, icon) rather than command line.  

More information about the Portland mailing list