Chrome flags

Share your opinion about Porteus Kiosk Edition.
Post Reply
dmeire
Ronin
Ronin
Posts: 3
Joined: 12 Dec 2017, 23:33
Distribution: Kiosk

Chrome flags

Post#1 by dmeire » 13 Dec 2017, 08:01

Hi,

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


Thanks,

Diego

User avatar
fanthom
Site Admin
Site Admin
Posts: 4709
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Chrome flags

Post#2 by fanthom » 13 Dec 2017, 09:31

Hi Diego,

Please use this parameter:

Code: Select all

run_command=grep -q "smooth-scrolling" $chflags || echo '--disable-smooth-scrolling' >> $chflags
Thanks
Please add [Solved] to your thread title if the solution was found.

dmeire
Ronin
Ronin
Posts: 3
Joined: 12 Dec 2017, 23:33
Distribution: Kiosk

Chrome flags

Post#3 by dmeire » 14 Dec 2017, 00:27

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4709
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Chrome flags

Post#4 by fanthom » 14 Dec 2017, 09:55

Hi Diego,

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

Thanks
Please add [Solved] to your thread title if the solution was found.

dmeire
Ronin
Ronin
Posts: 3
Joined: 12 Dec 2017, 23:33
Distribution: Kiosk

Chrome flags

Post#5 by dmeire » 14 Dec 2017, 23:30

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4709
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Chrome flags

Post#6 by fanthom » 15 Dec 2017, 17:40

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.
Please add [Solved] to your thread title if the solution was found.

Post Reply