forked from smorks/keepassnatmsg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathffKPinFlatPak.bash
More file actions
executable file
·20 lines (18 loc) · 827 Bytes
/
Copy pathffKPinFlatPak.bash
File metadata and controls
executable file
·20 lines (18 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env -S bash
PROFILENAME='KPinFlatPak'
LAUNCHFOLDER="${HOME}/tmp/${PROFILENAME}.dir"
if [[ ! -d $LAUNCHFOLDER ]]; then mkdir -p "$LAUNCHFOLDER"; fi;
pushd "${LAUNCHFOLDER}"
echo 'HELP: flatpak run org.mozilla.firefox --help '
echo 'ProfileManager: pass in --ProfileManager'
echo '--createprofile NewProfileName'
pwd
flatpak run --verbose org.mozilla.firefox -P ${PROFILENAME} $@ &
pushd "${LAUNCHFOLDER}"
echo "flatpak must want to change to the user's home folder"
echo "For iDrac, iLo, ipKVM, in ${HOME}/.config/icedtea-web/deployment.properties, set:"
echo "deployment.browser.path=$0"
echo
echo 'Search for \"Allocated instance id\" in this output to find the tab completeable first column (instanceID?) in `flatpak ps` output.'
echo '`flatpak --verbose ps --verbose --columns=all`'
pushd "${LAUNCHFOLDER}"