From 6721ae5df0be17520d59612b63264ac2cecec773 Mon Sep 17 00:00:00 2001 From: lemke_h Date: Wed, 3 Jun 2026 13:27:55 +0200 Subject: [PATCH] new personal firefox starter --- firefox_as_new | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 firefox_as_new 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