Score:0

Auromatically Launching Firefox To Run An HTML File

na flag

My son has developed a game in HTML that he wants to put on Steam. For Windows he has a batch file to open the browser, then run the HTML to launch the game.

He wants to do the same for Linux, but he's brand new to the OS and it's beyond my ability (I can only manage the basics in Linux).

How could he go about doing this? Any help would be really appreciated.

guiverc avatar
cn flag
Have you tried any documentation on creating bash scripts? https://help.ubuntu.com/community/Beginners/BashScripting etc
guiverc avatar
cn flag
from CLI on my Ubuntu system, I can use `firefox https://askubuntu.com` to cause `firefox` to open a new tab (*it's already open on my box, or start browser*) & open it to `https://askubuntu.com` or this website; but that could be a local file if that is what is specified). I'm assuming a Ubuntu Desktop system here as you weren't specific, and this is a Ubuntu specific site.
waltinator avatar
it flag
Try `man firefox`. `firefox -help`, `firefox http://localhost/`
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.