diff --git a/firefox_as_new b/firefox_as_new new file mode 100755 index 0000000..bcad3c0 --- /dev/null +++ b/firefox_as_new @@ -0,0 +1,20 @@ +#!/bin/bash +#function set-title() { +# if [[ -z "$ORIG" ]]; then +# ORIG=$PS1 +# fi +# TITLE="\[\e]2;$*\a\]" +# PS1=${ORIG}${TITLE} +#} +#set-title "chrome terminal" + + +#gnome-terminal -x sh -c "export XDG_RUNTIME_DIR=/run/user/$UID; su - $1 -c chrome" +if [ -z "$1" ] +then + USER=$(zenity --entry --text="Enter user name for opening firefox") +else + USER=$1 +fi +#ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -l $USER localhost /sf/bernina/bin/ff_shared_prof +ssh -l $USER localhost /sf/bernina/bin/ff_shared_prof