Skip to content

Keyboard Applet doesn't launch in Cinnamon 6.6.7 on debian forky/sid #13690

@ClementXVII

Description

@ClementXVII

Distribution

Debian GNU/Linux forky/sid - 6.19.10+deb14-amd64

Package version

6.6.7

Graphics hardware in use

dual AMD Radeon 890M Graphics -- NVIDIA GeForce RTX 5070 Laptop GPU

Frequency

Always

Bug description

A couple of days (perhaps a week) ago, my compose key started to behave differently on my UK International keyboard (Framework 16 laptop) in Cinnamon. Whereas the Compose + ' + e key would previously produce the letter é, it now produces the letter ê. Furthermore, the Compose + . + e key doesn't produce the ė anymore, but produces this ·e.

So, long story short, behaviour changed and the only thing I did was a regular package update on debian.

I launched the Settings app and when I clicked on the "Keyboard" applet, nothing happened (other applets like Mouse and Touchpad, Network,... launch as expected).

And this is what I get from the Terminal:

myuser@framework:~$ cinnamon-settings
KeybindingWidgets session type: x11
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:307: PyGIDeprecationWarning: GLib.unix_signal_add is deprecated; use GLibUnix.signal_add instead
  GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGTERM, self._quit)
Using pam module (python3-pampy)
Loading Keyboard module
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 708, in button_press
    self.side_view_nav(widget, None, category)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 178, in side_view_nav
    self.go_to_sidepage(sidePage, user_action=True)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 187, in go_to_sidepage
    sidePage.build()
    ~~~~~~~~~~~~~~^^
  File "/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py", line 217, in build
    self.module.on_module_selected()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_keyboard.py", line 268, in on_module_selected
    self.kb_table = KeybindingTable.get_default()
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/cinnamon/cinnamon-settings/bin/KeybindingTable.py", line 971, in get_default
    instance = KeybindingTable()
  File "/usr/share/cinnamon/cinnamon-settings/bin/KeybindingTable.py", line 501, in __init__
    self._load_spice_store()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/cinnamon/cinnamon-settings/bin/KeybindingTable.py", line 651, in _load_spice_store
    _config = json.load(config_file)
  File "/usr/lib/python3.13/json/__init__.py", line 298, in load
    return loads(fp.read(),
        cls=cls, object_hook=object_hook,
        parse_float=parse_float, parse_int=parse_int,
        parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.13/json/__init__.py", line 352, in loads
    return _default_decoder.decode(s)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/json/decoder.py", line 345, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/json/decoder.py", line 363, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Steps to reproduce

Option 1

  1. Launch Cinnamon Menu -> Preferences -> Keyboard
  2. Nothing happens

** Option 2**

  1. Cinnamon Menu -> Preferences -> System Settings
  2. In Hardware, click the Keyboard Icon
  3. Nothing happens

Option 3

  1. launch your favourite Terminal app
  2. launch cinnamon-settings
  3. In Hardware, click the Keyboard Icon
  4. The errors mentioned in the Bug Description are displayed on the screen

Expected behavior

Option 1

  1. Launch Cinnamon Menu -> Preferences -> Keyboard
  2. Keyboard applet launches

** Option 2**

  1. Cinnamon Menu -> Preferences -> System Settings
  2. In Hardware, click the Keyboard Icon
  3. Keyboard applet launches

Option 3

  1. launch your favourite Terminal app
  2. launch cinnamon-settings
  3. In Hardware, click the Keyboard Icon
  4. Keyboard applet launches

Additional information

I'm aware that this will not solve the Compose key behaviour changed issue, but at ieast it'll give me access to the Keyboard settings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions