Page 1 of 1

User Scripts

Posted: 05 Mar 2025, 10:04
by rych
There is now a subforum in Porteus eXchange Telegram group devoted to publishing useful user-contributed scripts:
https://t.me/PorteusX/98

User Scripts

Posted: 05 Mar 2025, 14:02
by Vic
It seems I need a cell phone to access. Bummer.

Vic

User Scripts

Posted: 05 Mar 2025, 19:02
by Ed_P
Yup. tg://resolve?domain=PorteusX&post=98 not easy to access. This may help Vic: Telegram questions

Easier, more convenient, for Porteus users if a script is/are simply posted in a form posting. :happy62:

Added in 17 minutes 26 seconds:

These may help also Vic: Self-updating PorteuX (Post by rych #102236) & https://t.me/PorteusX/98/100.

And this: https://desktop.telegram.org/ :happy62:

User Scripts

Posted: 05 Mar 2025, 22:54
by Vic
Thanks Ed

The https://t.me/PorteusX/98/100 link seems to be all I need. Much appreciated.

Vic

User Scripts

Posted: 06 Mar 2025, 00:11
by Ed_P
For Firefox users there is this option: https://addons.mozilla.org/en-US/firefo ... ownloader/

User Scripts

Posted: 06 Mar 2025, 05:11
by rych
Ed_P wrote:
05 Mar 2025, 19:19
Easier, more convenient, for Porteus users if a script is/are simply posted in a form posting
Of course, they are all here first: scattered around the topics in this forum, it's just an attempt to gather some of them one in place in Telegram group as well. As an incomplete back-up. This forum feels fragile at times: it's often under attack and difficult to post into.

User Scripts

Posted: 06 Mar 2025, 12:30
by Vic
I guess I have been doing the same thing by using Start.me

https://about.start.me/

When I find a cool item I organize it there. About 10 years now give or take.

Vic

User Scripts

Posted: 23 Apr 2025, 12:22
by rych
update_vscode (portable VS Code, will be installed if not present)

Code: Select all

#!/usr/bin/bash
# Updates a portable installation of VSCode.
# When VSCode notifies of a new version,
# run this script instead which starts by changing to your portable directory, e.g,:
cd /I
# and downloads the latest .tar.gz from
wget -Nq --show-progress --content-disposition "https://code.visualstudio.com/sha/download?build=stable&os=linux-x64"
tar -xf code-*.tar.gz
mv VSCode VSCodeOLD
mv VSCode-* VSCode
mv VSCodeOLD/data VSCode/
chown -hR root:root VSCode
chmod 4755 VSCode/chrome-sandbox
echo "$(tput setaf 2) " #green, a new line
echo "These can now be deleted:"
ls code-*.tar.gz -d VSCodeOLD
echo "$(tput bold) " #bold, a new line
read -t 10 -n 1 -r -p "Delete them now? [y/N] " response
if [[ $response == [yY] ]]; then
    rm code-*.tar.gz -r VSCodeOLD
fi
echo "$(tput sgr0)"