webui
webui copied to clipboard
No window on Linux
Original: https://github.com/alifcommunity/compiler/issues/29
WebUI check if Firefox is installed on your system using this command:
firefox -v >>/dev/null 2>>/dev/null
If yes, Then WebUI create a new Firefox profile:
sh -c " firefox -CreateProfile "WebUI /var/tmp/WebUIFirefoxProfile" >>/dev/null 2>>/dev/null"
If yes, Then WebUI run Firefox:
sh -c " firefox -P WebUI -private -no-remote -new-instance http://google.com >>/dev/null 2>>/dev/null"
Can you please run those commands manually and see if it's work? Can you please also provide your OS info?
which OS you have?
OS: Arch Linux x86_64
Kernel: 5.12.12-arch1-1
> firefox -v
Mozilla Firefox 89.0.1
@MuhammadSawalhy Thank you, All the three commands run well?
@MuhammadSawalhy Thank you, All the three commands run well?
YES
in the screenshot the command line is missing the first part. It's should start with firefox
guys any update about this ?
If yes, Then WebUI create a new Firefox profile:
sh -c " firefox -CreateProfile "WebUI /var/tmp/WebUIFirefoxProfile" >>/dev/null 2>>/dev/null"
Here is the issue, as I hope. You forgot to escape quotations inside the string which represents the command. So change it to be:
sh -c "firefox -CreateProfile WebUI" &> /dev/null
Or just
firefox -CreateProfile WebUI &> /dev/null
Fixed. Thank you.