GithubCodespaces - xdg-open not working for html files<title> #41200
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Currently we are using Github Codespaces as part of our development flow (via VSCode Local) and on the language that we are running our app (Elixir), we have a command called open_browser(view) that should open a screenshot of the current UI on some test.
This base container run as Alpine Linux.
Previously, when we were running full local, it should open this screenshot on Chrome and expose to the developer to find out what is happening for this test.
With Codespaces, when we perform the same command nothing happens.
I have done a debug and find out that what this command do is:
xdg-open /tmp/PATH_TO_FILE.html
If i try xdg-open "https://google.com.br" it works fine. if i try xdg-open "PATH_TO_FILE" nothing happends.
Do someone knows how we can handle this?
Maybe start a firefox/browser service in parallel with the app and make the xdg-open pointing there?
Thanks a lot!
I have tried to install into our codespaces via docker-compose a instance of a firefox Tried to tune xdg-open as well, with no success.
Beta Was this translation helpful? Give feedback.
All reactions