regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

Unknown key or button in 30_navigation and other config files after upgrade #1045

Closed jc00ke closed 2 weeks ago

jc00ke commented 3 weeks ago

Describe the bug I upgraded yesterday after a week OOO and rebooted this morning. After logging in I found the following sway error message:

image

Configuration file(s) Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

Installation Details

Additional context

> dpkg -l "regolith-*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                    Architecture Description
+++-=====================================-==========================-============-=========================================================
ii  regolith-avizo                        0.1.3-1regolith-testing    all          Avizo is a simple notification daemon,
un  regolith-conky-config                 <none>                     <none>       (no description available)
ii  regolith-control-center               1.46.0-3-1regolith-testing amd64        utilities to configure the GNOME desktop
ii  regolith-desktop                      4.8.0-1regolith-testing    amd64        Meta package for Regolith desktop environment
un  regolith-desktop-meta                 <none>                     <none>       (no description available)
un  regolith-desktop-session              <none>                     <none>       (no description available)
ii  regolith-displayd                     0.3.1-1regolith-testing    amd64        Daemon for enabling inter-op between
ii  regolith-ftue                         2.2.0-1regolith-testing    amd64        Regolith first time user experience
un  regolith-i3-config                    <none>                     <none>       (no description available)
ii  regolith-inputd                       0.3.0-1regolith-testing    amd64        Daemon for synchronizing between
un  regolith-look-2                       <none>                     <none>       (no description available)
ii  regolith-look-default                 0.8.2-1regolith-testing    amd64        Default Look for Regolith with minimal dependencies
ii  regolith-look-default-loader          0.8.2-1regolith-testing    amd64        Script to update desktop from settings
ii  regolith-look-lascaille               0.9.0-1regolith-testing    amd64        i3 inspired look
ii  regolith-powerd                       0.4.0-1regolith-testing    amd64        Daemon for using swayidle
un  regolith-resource-loader              <none>                     <none>       (no description available)
ii  regolith-rofication                   1.5.0-1regolith-testing    amd64        Rofication notification system
un  regolith-session                      <none>                     <none>       (no description available)
ii  regolith-session-common               1.1.12-1regolith-testing   amd64        Common files for regolith X11 session
un  regolith-session-flashback            <none>                     <none>       (no description available)
ii  regolith-session-sway                 1.1.12-1regolith-testing   amd64        Regolith customized SwayWM session
un  regolith-styles                       <none>                     <none>       (no description available)
ii  regolith-sway-audio-idle-inhibit      4.11.6-1regolith-testing   amd64        Prevent sway from entering idle state if audio is playing
ii  regolith-sway-background              4.11.6-1regolith-testing   amd64        Configuration for providing media key functionality
un  regolith-sway-config                  <none>                     <none>       (no description available)
ii  regolith-sway-control-center-regolith 4.11.6-1regolith-testing   amd64        regolith and gnome integrations for system management
ii  regolith-sway-dbus-activation         4.11.6-1regolith-testing   amd64        Regolith dbus activation
ii  regolith-sway-default-style           4.11.6-1regolith-testing   amd64        Regolith sway style
ii  regolith-sway-gaps                    4.11.6-1regolith-testing   amd64        Configurations to increase or decrease gaps in sway
ii  regolith-sway-gsd                     4.11.6-1regolith-testing   amd64        Configuration for providing functionality equivalent
ii  regolith-sway-gtklock                 4.11.6-1regolith-testing   amd64        Configuration for using gtklock as the default locker
ii  regolith-sway-i3status-rs             4.11.6-1regolith-testing   amd64        Configuration for providing media key functionality
ii  regolith-sway-ilia                    4.11.6-1regolith-testing   amd64        Desktop executor
ii  regolith-sway-kbd-layout              4.11.6-1regolith-testing   amd64        Keybindings to cycle between keyboard layotus
ii  regolith-sway-media-keys              4.11.6-1regolith-testing   amd64        Configuration for providing media key functionality
ii  regolith-sway-polkit                  4.11.6-1regolith-testing   amd64        Configuration for providing media key functionality
un  regolith-sway-polkit-xwayland         <none>                     <none>       (no description available)
ii  regolith-sway-root-config             4.8.1-1regolith-testing    amd64        Regolith sway root config file
ii  regolith-sway-screensharing           4.11.6-1regolith-testing   amd64        Configuration for screensharing
ii  regolith-sway-session                 4.11.6-1regolith-testing   amd64        Regolith Desktop sway session keybindings
ii  regolith-sway-unclutter               4.11.6-1regolith-testing   amd64        Hide the mouse cursor if not used
ii  regolith-wm-base-launchers            4.11.6-1regolith-testing   amd64        Terminal and Browser launcher config
ii  regolith-wm-config                    4.11.6-1regolith-testing   amd64        Regolith window manager config file
un  regolith-wm-control-center            <none>                     <none>       (no description available)
ii  regolith-wm-ftue                      4.11.6-1regolith-testing   amd64        Help for new users
un  regolith-wm-gnome                     <none>                     <none>       (no description available)
un  regolith-wm-ilia                      <none>                     <none>       (no description available)
ii  regolith-wm-navigation                4.11.6-1regolith-testing   amd64        Configuration for navigation
ii  regolith-wm-networkmanager            4.11.6-1regolith-testing   amd64        nm-applet integration with wm
un  regolith-wm-next-workspace            <none>                     <none>       (no description available)
ii  regolith-wm-resize                    4.11.6-1regolith-testing   amd64        Regolith Desktop resize keybindings
un  regolith-wm-rofication                <none>                     <none>       (no description available)
ii  regolith-wm-rofication-ilia           4.11.6-1regolith-testing   amd64        Rofi based notifications
ii  regolith-wm-workspace-config          4.11.6-1regolith-testing   amd64        Configuration for windows and workspaces
jc00ke commented 3 weeks ago

To get the warning to go away I had to comment out a bunch of lines in the common config files:

kgilmer commented 2 weeks ago

There were two cases in which shared bindsym decls had been declared in partials instead of the root. This caused non-obvious errors across other partials that were depending on them. To resolve this, those decls moved to the root of the config file. A consequence is that any customized partials that retail the old decls will produce errors like this.

daniel-ziegler commented 2 weeks ago

This happened to me as well. I don't think I've customized anything in the common config, and it's a bit surprising to have to comment out a bunch of stuff there. When I do, those keybindings just stop working. What's the right fix? (Didn't quite understand your comment)