Skip to content

Will retro-desktop ?x2 and New method Executing all from browser window. #3

@offternet

Description

@offternet

Hello, I have a couple questions about retro-desktop functionallity since I no longer am hosting a site, I can't test it and can't remember from a year ago when I installed it an used it online.

  1. Will retro-desktop load a browser in to one of its js windows ?

  2. Since vanalla JS will can run client side, will retro-desktop as its currently built, run client side, off line and without a webserver ?

Please let me know when you have time. TIA

The reason I am enquring now is I have developed a very easy way to use x-scheme-handlers to execute anything on a Linux system from a webpage html only page using malformed url hybrid hyperlinks --> launcher.desktop %u --> script %u --> execute anything on any Linux system that uses x-desktop. The webpage can be local, local network, online. If retro-desktop can open browser in its window, it can become a conttrol panel for any computer using my new method. If retro-desktop can run client side, it could become a Universal Desktop Replacement basically for any Linux or Windows System from a Centralized locaton or Decentralized.

==========
Webpage:
a href="linuxapps://launch?app=vlc" class="launch-btn">Launch VLC

==========
Desktop Launcher (notice MimeType below)
[Desktop Entry]
Version=1.0
Type=Application
Name=LinuxApps
Comment=linuxapps:// protocol
Exec=/home/linux/linuxApp.sh %U
Icon=application-x-executable
Terminal=false
Categories=Utility;
MimeType=x-scheme-handler/linuxapps;
NoDisplay=false

#!/bin/bash
shell Script:
#!/bin/bash
APP=$(echo "$URL" | sed -E 's/.[?&]app=([^&?#]).*/\1/')

if [ -z "$APP" ]; then
notify-send "LinuxApps Error" "No app parameter found!\nURL: $URL"
echo "ERROR: No app= parameter in $URL" >&2
exit 1
fi
case "$APP" in
vlc) exec vlc ;;
*)
notify-send "LinuxApps" "Unknown app: $APP"
echo "Unknown app requested: $APP" >&2
exit 1
;;

esac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions