Hi,
Can anyone help me? My lazarus program needs to be run with gksudo as some commands such as setting system dat/time can't be done without.
I want to be able to start the chromium-browser, telling to start maximized and passing it a url.
It won't start unless I use the -no-sandbox switch, which then gives me a stability warning in chrome!
If I use:
runcommand('chromium-browser', ['--no-sandbox', 'https://www.bbc.com/weather/6355177], s);
it works, but I want chrome maximized, but if I try:
runcommand('chromium-browser', ['--no-sandbox --start-maximized', 'https://www.bbc.com/weather/6355177], s);
then it ignores the sandbox switch and warns me to restart as a normal user
Is there some way around this please?
Thanks
Brian
RasPi 3, jessie, foc 3.0.0, lazarus 1.7