Page 1 of 1

[SOLVED] swiping to go back gesture not working.

Posted: 04 Jul 2020, 15:44
by aaamoeder
First let me say I LOVE porteus kiosk..
Before I was running ubuntu server and chromium and tons of scripts to have it all working, now it's all so easy..

One thing I can't seem to get working is the swipe gesture to go to the previous page.
Swiping in general works fine but chrome doesn't seem to pick up the gesture.
I've checked in chrome://flags but the toggle for "overscroll-history-navigation" isn't there.
It seems to have been removed in version 80 and turned on for all users.

Any ideas as to why it doesn't work or what I should be doing to get it to work please ?
I would hate to have to enable buttons or some such since the kiosks entire UI is designed around having as little buttons as possible.

thanks in advance !

swiping to go back gesture not working.

Posted: 05 Jul 2020, 05:18
by fanthom
Hello aaamoeder,

Some Chrome flags are removed from the UI options but still works when you add them to the browser command line.
This is the case for 'overscroll-history-navigation' flag.

To disable this flag please add following parameter to your kiosk config:

Code: Select all

run_command=sed -i 's/,OverscrollHistoryNavigation//' $chflags
Thanks

swiping to go back gesture not working.

Posted: 05 Jul 2020, 17:57
by aaamoeder
fanthom wrote:
05 Jul 2020, 05:18
Hello aaamoeder,

Some Chrome flags are removed from the UI options but still works when you add them to the browser command line.
This is the case for 'overscroll-history-navigation' flag.

To disable this flag please add following parameter to your kiosk config:

Code: Select all

run_command=sed -i 's/,OverscrollHistoryNavigation//' $chflags
Thanks
Thank you for your response.

I would however like to enable the flag, not disable.

I've tried the following but no success..
Should this be correct ?

Code: Select all

run_command=grep -q "OverscrollHistoryNavigation" $chflags || echo '--enable-OverscrollHistoryNavigation' >> $chflags

swiping to go back gesture not working.

Posted: 05 Jul 2020, 18:43
by fanthom
The full flag is:

Code: Select all

--disable-features=TabHoverCards,OverscrollHistoryNavigation
By removing this part (with run_command= parameter):

Code: Select all

,OverscrollHistoryNavigation
you should achieve what you want.

Next time please actually follow my advice instead of assuming it does not work.

Thanks

swiping to go back gesture not working.

Posted: 07 Jul 2020, 21:49
by aaamoeder
Indeed your first reply works..

I was merely confused by your remark about "To disable this flag" while I was assuming it needed to be enabled.

thank you for the help.