Open Aeyk opened 1 year ago
I confirm this bug in both i3 and sway. This is very problematic as there’s no way to get rid of the login error with a custom config.
Sorry just noticed this issue. To override the navigation keybindings, copy the partial file /usr/share/regolith/common/config.d/30_navigation
to the user config directory, then uninstall the package that provides the original: regolith-wm-navigation
. Update the user version as needed, then log back in once you're ready to use it.
To find what package provides a given file, you can use dpkg -S <file path>
.
Thanks for confirming that it is indeed a bug. Not sure how this could be fixed :-/
My take here is that we need to have sway provide the functionality "require_one" in which there's 30_navigation in several possible dirs (default, user) it only picks up (by directory priority) so we don't have to remove packages as a solution.
We did have a patch for this for sway but untested.
Problem with sway though is that their PR flow seems really really slow, so it doesn't really invite contributions.
On 23/09/06 09:55, Carlos Fernandez Sanz wrote:
My take here is that we need to have sway provide the functionality "require_one" in which there's 30_navigation in several possible dirs (default, user) it only picks up (by directory priority) so we don't have to remove packages as a solution.
We did have a patch for this for sway but untested.
Problem with sway though is that their PR flow seems really really slow, so it doesn't really invite contributions.
Regolith-sway is still alpha-software so fixing it for sway is probably not a priority.
But what about the same problem on i3?
Thanks for confirming that it is indeed a bug. Not sure how this could be fixed :-/
I am confused. I was describing how to remove the defaults (by uninstalling the package). What in particular is a bug?
Going back to the original post:
Is the way I'm supposed to rebind navigation keys is move /usr/share/regolith/i3/30_navigation to ~/.config/regolith/i3/config.d and edit it there?
The way to rebind navigation keys is to put whatever bindings you want in the user directory and uninstall the package from regolith that's providing the defaults. This will survive an apt upgrade just fine.
On 23/09/06 08:52, Ken Gilmer wrote:
Thanks for confirming that it is indeed a bug. Not sure how this could be fixed :-/
I am confused. I was describing how to remove the defaults (by uninstalling the package). What in particular is a bug?
I was considering that removing a package installed by default to solve a configuration issue might be a bug. Is it the intended way of working? Should it be documented "as it is" that, when customizing their shortcuts, people should remove a package?
If it's documented sufficiently, I am fine with it, but is it, I tried a little and failed to search through the seemingly two sets of incompatible and configuration notes.
I would prefer it if it was more similar to the rest of the config files, where you don't need to copy or uninstall packages to override settings.
On Thu, Sep 7, 2023, 4:52 AM Ploum @.***> wrote:
On 23/09/06 08:52, Ken Gilmer wrote:
Thanks for confirming that it is indeed a bug. Not sure how this could be fixed :-/
I am confused. I was describing how to remove the defaults (by uninstalling the package). What in particular is a bug?
I was considering that removing a package installed by default to solve a configuration issue might be a bug. Is it the intended way of working? Should it be documented "as it is" that, when customizing their shortcuts, people should remove a package?
— Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-desktop/issues/864#issuecomment-1709749562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA47HFLSBCGXGMIHKS2FGSTXZGDLBANCNFSM6AAAAAAZL2IAAI . You are receiving this because you authored the thread.Message ID: @.***>
Removing regolith-wm-navigation doesn’t solve the issue for me. Still an error.
;; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-x C-f and enter text in its buffer.
Describe the bug Adding lines that deal with navigation to ~/.config/regolith/i3/config.d/00_custom cause a i3 error about duplicate bindings. for context, I like warping my mouse to the focused window and changing the navigation keys bindings is how i normally do it.
To Reproduce ~/.config/regolith/i3/config.d/00_custom
and reload config -- get red error line about duplicate bindings
Expected behavior I would like for user local config to supersede the global config. Is the way I'm supposed to rebind navigation keys is move /usr/share/regolith/i3/30_navigation to ~/.config/regolith/i3/config.d and edit it there? that seems like it wouldn't survive a
apt upgrade
of regolith-desktop.Installation Details
deb [arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic main