diff --git a/browser.py b/browser.py index 164edb0..fb3d0b7 100755 --- a/browser.py +++ b/browser.py @@ -561,7 +561,7 @@ class KioskOverlay(QWidget): # ── Chrome launcher ─────────────────────────────────────────────── def launch_chrome(): import pathlib, json as _json, shutil - profile_dir = pathlib.Path("/home/jgitta/.config/google-chrome-kiosk") + profile_dir = pathlib.Path("/home/jgitta/chromium-kiosk") profile_dir.mkdir(parents=True, exist_ok=True) for name in ("SingletonLock", "SingletonSocket", "SingletonCookie"): @@ -606,7 +606,7 @@ def launch_chrome(): chrome_h = SCREEN_H - TOP_H cmd = [ - "google-chrome", + "chromium", "--no-first-run", "--no-default-browser-check", "--disable-translate", @@ -623,9 +623,9 @@ def launch_chrome(): "--disable-extensions", "--disable-gpu", "--no-sandbox", - "--test-type", + "--disable-blink-features=AutomationControlled", "--disable-dev-shm-usage", - "--user-data-dir=/home/jgitta/.config/google-chrome-kiosk", + "--user-data-dir=/home/jgitta/chromium-kiosk", f"--remote-debugging-port={CDP_PORT}", "--remote-allow-origins=*", f"--window-position=0,{TOP_H}",