Sample Header Ad - 728x90

Open HTML file in Firefox from terminal

8 votes
2 answers
1251 views
I made this script to open three HTML files in Firefox from a subdirectory: #!/bin/bash firefox ./web/*.html 2>/dev/null & disown; I call the bash script from the terminal. Which seems to work okay, but after doing some things in Firefox I have this message in the terminal: $ [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt ...which I then have to abort with Ctrl-C. Shouldn't disown and 2>/dev/null have taken care of that? Is there a better way for me to do this? FWIW, I'm using Linux Mint 21.1 and the latest Firefox.
Asked by Mike (271 rep)
Jun 3, 2025, 11:23 PM
Last activity: Jun 4, 2025, 07:17 PM