[SOLVED] swiping to go back gesture not working.

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Post Reply
aaamoeder
Ronin
Ronin
Posts: 3
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

[SOLVED] swiping to go back gesture not working.

Post#1 by aaamoeder » 04 Jul 2020, 15:44

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 !
Last edited by aaamoeder on 08 Jul 2020, 13:07, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 5291
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

swiping to go back gesture not working.

Post#2 by fanthom » 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
Please add [Solved] to your thread title if the solution was found.

aaamoeder
Ronin
Ronin
Posts: 3
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

swiping to go back gesture not working.

Post#3 by aaamoeder » 05 Jul 2020, 17:57

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 5291
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

swiping to go back gesture not working.

Post#4 by fanthom » 05 Jul 2020, 18:43

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

aaamoeder
Ronin
Ronin
Posts: 3
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

swiping to go back gesture not working.

Post#5 by aaamoeder » 07 Jul 2020, 21:49

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.

Post Reply