1
3
submitted 10 months ago by TheGuyTM3@lemmy.ml to c/termux@lemmy.world

Each time i try to launch proot distro ubuntu on a vnc server, my smartphone crash, and my tmx session end. Is this because i did something wrong, or my phone is too old? (Samsung G A12 4GB ram)

2
10
submitted 11 months ago by DoubleOwl7777@feddit.de to c/termux@lemmy.world

just wanted to say that. its what i have always wanted. no lag like with the shitty vnc methode, no f...ing around with connection and passwords.

3
3

instance.sh:

#!/bin/bash

MY_INSTANCE=lemmy.world #change to your URL

STR=$( echo "$1" | sed 's#/c/# #' | sed 's/http[s]:\/\///' )
OTHER_INSTANCE=$( echo $STR | cut -d ' ' -f 1 )
COMMUNITY=$( echo $STR | cut -d ' ' -f 2 )
termux-open-url $( echo https://$MY_INSTANCE/c/$COMMUNITY\@$OTHER_INSTANCE )

Usage: instance.sh URL

Example usage:

instance.sh https://lemmy.ml/c/technology

Result:

https://lemmy.world/c/technology@lemmy.ml opens in browser

Termux

102 readers
1 users here now

founded 1 year ago
MODERATORS