howto:firefox-external-app-launcher
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:firefox-external-app-launcher [2023/12/28 22:30] – Wulf Rajek | howto:firefox-external-app-launcher [2023/12/30 03:41] (current) – Wulf Rajek | ||
---|---|---|---|
Line 8: | Line 8: | ||
download, then unzip, then run installer | download, then unzip, then run installer | ||
- | Example for dl option using remote yt-dlp | + | Example for dl option using remote yt-dlp |
< | < | ||
- | Name: Download with yt-dlp on gondor | + | Name: Download with yt-dlp on remote system |
exec: gnome-terminal | exec: gnome-terminal | ||
- | args: -- ssh gondor | + | args: -- ssh user@remotesystem |
Toolbar, page and link context | Toolbar, page and link context | ||
+ | #on local system use only: | ||
+ | args: -- " | ||
+ | </ | ||
+ | |||
+ | Small bash script to exit immediately if all went fine but stops on error: | ||
+ | <code bash ytdlp-wrapper.sh> | ||
+ | #!/bin/bash | ||
+ | url=$1 | ||
+ | tmp=$(mktemp -t ytdlp.XXXXXXX) | ||
+ | ~/ | ||
+ | grep -q -i " | ||
+ | rm $tmp | ||
+ | </ | ||
+ | Create in ~/ | ||
+ | < | ||
+ | chmod 755 ytdlp-wrapper.sh | ||
+ | </ | ||
+ | Adjust the Firefox External App Launcher args to: | ||
+ | < | ||
+ | -- ssh user@remotesystem "/ | ||
+ | |||
+ | #for local system use only: | ||
+ | -- ytdlp-wrapper.sh [HREF] | ||
</ | </ |
howto/firefox-external-app-launcher.1703802621.txt.gz · Last modified: 2023/12/28 22:30 by Wulf Rajek