regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

"You have an error in your i3 config file" after upgrade from 3.2 Beta 1 to 3.2 Beta 2

Open robbie-cahill opened this issue 1 year ago • 3 comments

Describe the bug i3 config file errors:

ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym c, command "exec --no-startup-id gnome-control-center"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym d, command "exec --no-startup-id gnome-control-center display"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym w, command "exec --no-startup-id gnome-control-center wifi"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym b, command "exec --no-startup-id gnome-control-center bluetooth"
ERROR: Duplicate keybinding in config file:
  state mask 0x41 with keysym n, command "exec --no-startup-id /usr/bin/nautilus --new-window"
ERROR: FYI: You are using i3 version 4.23 (2023-10-29)
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym c, command "exec --no-startup-id gnome-control-center"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym d, command "exec --no-startup-id gnome-control-center display"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym w, command "exec --no-startup-id gnome-control-center wifi"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym b, command "exec --no-startup-id gnome-control-center bluetooth"
ERROR: Duplicate keybinding in config file:
  state mask 0x41 with keysym n, command "exec --no-startup-id /usr/bin/nautilus --new-window"
ERROR: FYI: You are using i3 version 4.23 (2023-10-29)
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym c, command "exec --no-startup-id gnome-control-center"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym d, command "exec --no-startup-id gnome-control-center display"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym w, command "exec --no-startup-id gnome-control-center wifi"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym b, command "exec --no-startup-id gnome-control-center bluetooth"
ERROR: Duplicate keybinding in config file:
  state mask 0x41 with keysym n, command "exec --no-startup-id /usr/bin/nautilus --new-window"
ERROR: FYI: You are using i3 version 4.23 (2023-10-29)
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym c, command "exec --no-startup-id gnome-control-center"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym d, command "exec --no-startup-id gnome-control-center display"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym w, command "exec --no-startup-id gnome-control-center wifi"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym b, command "exec --no-startup-id gnome-control-center bluetooth"
ERROR: Duplicate keybinding in config file:
  state mask 0x41 with keysym n, command "exec --no-startup-id /usr/bin/nautilus --new-window"
ERROR: FYI: You are using i3 version 4.23 (2023-10-29)
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym c, command "exec --no-startup-id gnome-control-center"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym d, command "exec --no-startup-id gnome-control-center display"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym w, command "exec --no-startup-id gnome-control-center wifi"
ERROR: Duplicate keybinding in config file:
  state mask 0x40 with keysym b, command "exec --no-startup-id gnome-control-center bluetooth"
ERROR: Duplicate keybinding in config file:
  state mask 0x41 with keysym n, command "exec --no-startup-id /usr/bin/nautilus --new-window"
ERROR: FYI: You are using i3 version 4.23 (2023-10-29)

To Reproduce Steps to reproduce the behavior: Upgrade from Regolith 3.2 Beta 1 to 3.2 Beta 2 using i3, then login.

Expected behavior A clear and concise description of what you expected to happen. No i3 config file errors

Screenshots If applicable, add screenshots to help explain your problem.

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

  • Regolith Install Type: [PPA]
  • Regolith Version: [3.2]
  • PPA url: [default: ppa:regolith-linux/release]
  • Host OS (for PPA): [e.g. Ubuntu 24.04]

Additional context The errors don't seem to cause any real issues, its more of an annoying popup on login/i3 config reload.

robbie-cahill avatar Jun 28 '24 03:06 robbie-cahill

I've had a similar issue - the following seems to have resolved it. Seems like settings custom workspace in .config/regolith3/Xresources triggered something / is colliding?

sudo su -
mv /usr/share/regolith/common/config.d/40_workspace-config ~/
exit
regolith-look refresh

Note: this will dork your hot-keys which this config sets :-P

ArchiMoebius avatar Oct 20 '24 22:10 ArchiMoebius

Seems like this is related to https://github.com/regolith-linux/regolith-desktop/issues/504

ArchiMoebius avatar Nov 03 '24 21:11 ArchiMoebius

Your solution just removes the file from the configuration, and you then don't get to use any of the super+shift+<n> or similar commands.

To solve the issue of getting an error after following the docs to switch the super key from windows to alt you need to change line 94 of /usr/share/regolith/common/config.d/40_workspace-config:

set_from_resource $wm.carry_container_to_ws_key wm.carry_container_to_ws_key Mod1

to:

set_from_resource $wm.carry_container_to_ws_key wm.carry_container_to_ws_key Mod4

Edit: Solution from KieranReck here

JosiahBLB avatar Feb 02 '25 12:02 JosiahBLB