Full wrapper:

#!/bin/sh
PASSWORD_STORE=gnome
dbus-send --session --dest=org.freedesktop.secrets /org/freedesktop/secrets 
--print-reply org.freedesktop.DBus.Properties.GetAll 
string:'org.freedesktop.Secret.Service' >/dev/null 2>&1
if [ "$?" -ne "0" ]; then
  PASSWORD_STORE=basic
fi
exec "$SNAP/usr/lib/chromium-browser/chromium-browser" 
--no-default-browser-check --no-first-run --password-store=$PASSWORD_STORE "$@"

This would require some testing on other desktop environments, e.g. KDE.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1763829

Title:
  [snap] chromium won't start after logging in to google account

Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  (issue initially reported on the forum: https://forum.snapcraft.io/t
  /call-for-testing-chromium-65-0-3325-146/4390/20)

  $ snap info core chromium | egrep "name|installed"
  name:      core
  installed:   16-2.32.3                (4407) 90MB core
  name:      chromium
  installed:   65.0.3325.181 (274)  144MB -

  Steps to reproduce:
  1) Install the chromium snap: snap install chromium
  2) Launch it: /snap/bin/chromium
  3) Click the account button on the right side of the tabs bar, and log into a 
google account
  4) Close the browser window
  5) Launch chromium again

  Expected result: chromium launches, a window is shown and the user is
  logged into their google account

  Current result: the executable seemingly hangs, no window is shown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1763829/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to