So I had a problem a few months ago where snap applications wouldn’t respond to keyboard input on an upgraded version of Ubuntu. Since there were other problems I was having that were proving difficult to fix, I just did a clean install to try and clear out all the nonsense.
That seemed to work, until today.
This is a HP Z840 tower system running Xubuntu 22.04 LTS, which means I’m running a pretty basic XFCE environment.
Now no snap applications (I’ve tried gedit and firefox) want to respond to keyboard input.
When I run gedit from the command line and try to type, I get this…
$ gedit
(gedit:4726): dconf-WARNING **: 13:48:51.569: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.86" (uid=1000 pid=4726 comm="/snap/gedit/653/usr/bin/gedit " label="snap.gedit.gedit (enforce)") interface="ca.desrt.dconf.Writer" member="Change" error name="(unset)" requested_reply="0" destination="ca.desrt.dconf" (bus)
(gedit:4726): dconf-WARNING **: 13:48:51.574: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.86" (uid=1000 pid=4726 comm="/snap/gedit/653/usr/bin/gedit " label="snap.gedit.gedit (enforce)") interface="ca.desrt.dconf.Writer" member="Change" error name="(unset)" requested_reply="0" destination="ca.desrt.dconf" (bus)
(gedit:4726): GLib-GIO-WARNING **: 13:48:51.660: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
(gedit:4726): dconf-WARNING **: 13:48:51.829: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.86" (uid=1000 pid=4726 comm="/snap/gedit/653/usr/bin/gedit " label="snap.gedit.gedit (enforce)") interface="ca.desrt.dconf.Writer" member="Change" error name="(unset)" requested_reply="0" destination="ca.desrt.dconf" (bus)
(gedit:4726): dconf-WARNING **: 13:48:51.829: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.86" (uid=1000 pid=4726 comm="/snap/gedit/653/usr/bin/gedit " label="snap.gedit.gedit (enforce)") interface="ca.desrt.dconf.Writer" member="Change" error name="(unset)" requested_reply="0" destination="ca.desrt.dconf" (bus)
(gedit:4726): IBUS-WARNING **: 13:48:51.853: Unable to connect to ibus: Could not connect: Permission denied
(gedit:4726): IBUS-WARNING **: 13:48:55.542: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.605: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.686: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.750: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.838: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.902: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:55.974: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:56.062: Events queue growing too big, will start to drop.
(gedit:4726): IBUS-WARNING **: 13:48:56.142: Events queue growing too big, will start to drop.
Firefox seems to do the same thing wrt IBUS here. More information that was requested last time I had this problem.
$ snap version
snap 2.57.5+22.04
snapd 2.57.5+22.04
series 16
ubuntu 22.04
kernel 5.17.0-1020-oem
$ snap info snapd gnome-3-38-2004 firefox
name: snapd
summary: Daemon and tooling that enable snap packages
publisher: Canonical✓
store-url: https://snapcraft.io/snapd
license: GPL-3.0
description: |
Install, configure, refresh and remove snap packages. Snaps are
'universal' packages that work across many different Linux systems,
enabling secure distribution of the latest apps and utilities for
cloud, servers, desktops and the internet of things.
Start with 'snap list' to see installed snaps.
type: snapd
snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
tracking: latest/stable
refresh-date: 11 days ago, at 04:07 EDT
channels:
latest/stable: 2.57.4 2022-10-19 (17336) 50MB -
latest/candidate: 2.57.5 2022-10-27 (17576) 52MB -
latest/beta: 2.57.5 2022-10-17 (17576) 52MB -
latest/edge: 2.57.5+git885.g3c05e53 2022-10-25 (17642) 52MB -
installed: 2.57.4 (17336) 50MB snapd
---
name: gnome-3-38-2004
summary: Shared GNOME 3.38 Ubuntu stack
publisher: Canonical✓
store-url: https://snapcraft.io/gnome-3-38-2004
license: unset
description: |
This snap includes a GNOME 3.38 stack (the base libraries and desktop
integration components) and shares it through the content interface.
snap-id: rw36mkAjdIKl13dzfwyxP87cejpyIcct
tracking: latest/stable/ubuntu-22.04
refresh-date: 30 days ago, at 17:32 EDT
channels:
latest/stable: 0+git.6f39565 2022-09-30 (119) 363MB -
latest/candidate: 0+git.6f39565 2022-09-01 (119) 363MB -
latest/beta: ↑
latest/edge: 0+git.6ed44b3 2022-05-13 (105) 266MB -
installed: 0+git.6f39565 (119) 363MB -
---
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
commands:
- firefox
- firefox.geckodriver
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
tracking: latest/stable/ubuntu-22.04
refresh-date: 4 days ago, at 15:32 EDT
channels:
latest/stable: 106.0.2-1 2022-10-26 (2015) 250MB -
latest/candidate: 106.0.3-1 2022-10-30 (2042) 250MB -
latest/beta: 107.0b7-1 2022-10-29 (2038) 187MB -
latest/edge: 108.0a1 2022-10-30 (2041) 192MB -
esr/stable: 102.4.0esr-1 2022-10-18 (1967) 183MB -
esr/candidate: 102.4.0esr-1 2022-10-27 (2027) 183MB -
esr/beta: ↑
esr/edge: 102.2.0esr-2 2022-09-02 (1793) 182MB -
installed: 106.0.2-1 (2015) 250MB -
$ snap connections firefox
Interface Plug Slot Notes
audio-playback firefox:audio-playback :audio-playback -
audio-record firefox:audio-record :audio-record -
avahi-observe firefox:avahi-observe :avahi-observe -
browser-support firefox:browser-sandbox :browser-support -
camera firefox:camera :camera -
content[gnome-3-38-2004] firefox:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 -
content[gtk-3-themes] firefox:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] firefox:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] firefox:sound-themes gtk-common-themes:sound-themes -
cups-control firefox:cups-control :cups-control -
dbus - firefox:dbus-daemon -
desktop firefox:desktop :desktop -
desktop-legacy firefox:desktop-legacy :desktop-legacy -
gsettings firefox:gsettings :gsettings -
hardware-observe firefox:hardware-observe :hardware-observe -
home firefox:home :home -
joystick firefox:joystick :joystick -
mount-control firefox:host-hunspell :mount-control -
mpris - firefox:mpris -
network firefox:network :network -
network-bind firefox:network-bind :network-bind -
network-observe firefox:network-observe - -
opengl firefox:opengl :opengl -
personal-files firefox:dot-mozilla-firefox :personal-files -
removable-media firefox:removable-media :removable-media -
screen-inhibit-control firefox:screen-inhibit-control :screen-inhibit-control -
system-files firefox:etc-firefox-policies :system-files -
system-packages-doc firefox:system-packages-doc :system-packages-doc -
u2f-devices firefox:u2f-devices :u2f-devices -
unity7 firefox:unity7 :unity7 -
upower-observe firefox:upower-observe :upower-observe -
wayland firefox:wayland :wayland -
x11 firefox:x11 :x11 -
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=