VMWare Fusion & shared folder with Linux guest

Under guest (Linux) identify uid and gid:

guest$ id
uid=500(username) gid=500(groupname) groups=500

then adjust the /etc/fstab file accordingly, in the block added by VMWare software:
old: .host:/ /mnt/hgfs vmhgfs defaults,ttl=5 0 0
new: .host:/ /mnt/hgfs vmhgfs defaults,ttl=5,uid=500,gid=500 0 0

lastly umount and remount hgfs:

guest$ sudo umount /mnt/hgfs
guest$ sudo mount /mnt/hgfs

kmail, firefox and macosx

Need to document how to configure firefox launching from within kmail, as none of the “obvious” (googled) options worked:

X11 –> terminal –> kcontrol –> KDE components –> Component chooser –> Web browser –> enable “in the following browser” and add this line:

open /Applications/Firefox.app

The problem is that the only answer having come up close to the above was indicating the line to be:

/Applications/Firefox.app/Contents/MacOS/firefox

recommendation from an old posting on the subject, but which option leads to a “complaint”, if firefox is already running: “A copy of firefox is already open …”