#!/bin/bash # # Open another user's default Firefox profile from your own desktop. # # Under the old shared-home-over-NFS model, "ssh -l $USER localhost # firefox" was enough: $HOME (and so ~/.mozilla) was the same content on # every host, so it just found the right profile. Now that each host has # its own separate local home, that no longer works - which profile it # finds depends on which host you happen to be sitting at. # # Instead, the default profile lives on network_drives/home (the per-user # SMB share, same content from any host) and is launched via # firefox_shared_profile, which also detects/hands off a session already # running on another host - see that script for details. Companion: # firefox_default (a symlink to firefox_shared_profile), for opening your # OWN profile without ssh'ing at all. # if [ -z "$1" ] then USER=$(zenity --entry --text="Enter user name for opening firefox") else USER=$1 fi ssh -l $USER localhost /sf/bernina/bin/firefox_shared_profile