Skip to content

Contains files to workaround the Chrome "Restore pages" bug on Linux Ubuntu.

Notifications You must be signed in to change notification settings

JustinTrvz/chrome-restore-pages-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chrome "Restore Pages" Bug Fix

Applicable to: Google Chrome/Chromium

Tested OS: Linux Ubuntu 20.04.1

Description: Google Chrome crashes when shutting down. Starting Google Chrome will display a "Restore pages?" pop up. Following the instructions, will fix this problem. This script will change the value of the key 'exit_type' in Google Chromes 'Preferences' file to the value 'Normal' instead of 'Crashed'.

1. Download files

Download files to any directory.

2. Install python

Skip if already installed.

Python installation

3. Create service

Add a new application to "Startup Applications".
Use this path <PATH_TO_REPOSITORY>/chromefix/chromefix.sh and replace PATH_TO_REPOSITORY with your path to the repository.

4. Done!

This python script will be executed each time after startup.

5. OPTIONAL: Check if script worked

After startup up you can execute `python check_if_crashed.py` to see if the `exit_type` is `Normal` or `Crashed`.

About

Contains files to workaround the Chrome "Restore pages" bug on Linux Ubuntu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published