how to disable chrome session restore popup ?

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

how to disable chrome session restore popup ?

Post#1 by aaamoeder » 11 Oct 2020, 14:48

Hi,

As the title says, I'm looking for a way to disable this popup..
Image
I've sought an answer and have come to this "flag" --disable-session-crashed-bubble

I'm however not sure how to implement this..

I also found this post (Chrome restore session popup) but it has no info on how it was solved.
Any help will be greatly apreciated !

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

how to disable chrome session restore popup ?

Post#2 by fanthom » 11 Oct 2020, 17:34

Hello aaamoeder,

Please check the FAQ on the kiosk webpage and search for an answer how to add a flag to the Chrome browser.

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

aaamoeder
White ninja
White ninja
Posts: 15
Joined: 04 Jul 2020, 15:34
Distribution: porteus kiosk 5.0.0

how to disable chrome session restore popup ?

Post#3 by aaamoeder » 13 Oct 2020, 09:37

I'm sorry, but I'm not sure how to do this..
I've read the FAQ but I'm not knowledgable enough to figure it out from there ..

I already have a flag in the settings (from a line you kindly provided me) but it seems to be formatted differently then the FAQ says..

FAQ:

Code: Select all

run_command=grep -q "your-flag" $chflags || echo '--your-flag --your-flag2 --your-flag3' >> $chflags
What I have (provided by you and working)

Code: Select all

run_command=sed -i 's/,OverscrollHistoryNavigation//' $chflags
Should I add the flag like this ?

Code: Select all

run_command=sed -i 's/,OverscrollHistoryNavigation, disable-session-crashed-bubble//' $chflags
?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

how to disable chrome session restore popup ?

Post#4 by fanthom » 13 Oct 2020, 11:11

Please upgrade to latest kiosk which is 5.1.0.

Its a proper way to resolve this problem.

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

Locked