webui icon indicating copy to clipboard operation
webui copied to clipboard

No window on Linux

Open hassandraga opened this issue 3 years ago • 8 comments

123605629-927ec500-d7eb-11eb-96d2-d2f2d73b509c

Original: https://github.com/alifcommunity/compiler/issues/29

hassandraga avatar Jul 06 '21 13:07 hassandraga

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?

hassandraga avatar Jul 06 '21 13:07 hassandraga

which OS you have?

hassandraga avatar Jul 06 '21 13:07 hassandraga

OS: Arch Linux x86_64
Kernel: 5.12.12-arch1-1 
> firefox -v
Mozilla Firefox 89.0.1

MuhammadSawalhy avatar Jul 06 '21 13:07 MuhammadSawalhy

@MuhammadSawalhy Thank you, All the three commands run well?

hassandraga avatar Jul 06 '21 13:07 hassandraga

@MuhammadSawalhy Thank you, All the three commands run well?

YES

MuhammadSawalhy avatar Jul 06 '21 16:07 MuhammadSawalhy

in the screenshot the command line is missing the first part. It's should start with firefox

hassandraga avatar Oct 07 '21 19:10 hassandraga

guys any update about this ?

waseeld avatar Dec 26 '21 07:12 waseeld

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

MuhammadSawalhy avatar Dec 26 '21 12:12 MuhammadSawalhy

Fixed. Thank you.

hassandraga avatar Oct 20 '22 00:10 hassandraga