Page 1 of 1

Chrome flags

Posted: 13 Dec 2017, 08:01
by dmeire
Hi,

How can I change Chrome Flags ? Specifically the Smooth Scroll.


Thanks,

Diego

Chrome flags

Posted: 13 Dec 2017, 09:31
by fanthom
Hi Diego,

Please use this parameter:

Code: Select all

run_command=grep -q "smooth-scrolling" $chflags || echo '--disable-smooth-scrolling' >> $chflags
Thanks

Chrome flags

Posted: 14 Dec 2017, 00:27
by dmeire
Hi fanthom,

Thanks for the response. It didn't seem to work. In my case, I want to enable smooth-scrooling and hide the scrollbar.
I tried: run_command=grep -q "smooth-scrolling" $chflags || echo '--enable-smooth-scrolling' >> $chflags
However, the scrollbar is still visible constantly.
Another test I wanted to make is to enable "Overlay Scrollbars". Should I add another command to the same "run_command" directive ?

THanks,

Diego

Chrome flags

Posted: 14 Dec 2017, 09:55
by fanthom
Hi Diego,

Yes - 'run_command=' parameter accepts multiple commands. See here:
http://porteus-kiosk.org/parameters.html#run_command

Thanks

Chrome flags

Posted: 14 Dec 2017, 23:30
by dmeire
Hi fanthom,

I tried to include the commands but the outcome is not as I expected. The scrollbar is still showing.
What do you suggest for me to check ?

THanks again,

Diego

Chrome flags

Posted: 15 Dec 2017, 17:40
by fanthom
I'm not sure how to hide the scrollbars properly if navigations bar is enabled.

I just wanted to show you how to add custom flags to chrome.