cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Cosmic Settings can no longer alter keyboard shortcuts

Open kode54 opened this issue 1 year ago • 15 comments

As of Cosmic Alpha 3, now in the Arch repositories, it is not possible to change keyboard shortcuts, only delete them. Adding or editing a shortcut has no effect.

kode54 avatar Nov 02 '24 01:11 kode54

I haven't seen any reports from our ISO, so make sure to report these to Arch's maintainer

mmstick avatar Nov 02 '24 02:11 mmstick

I found yesterday that modifying the panel and dock settings had no effect. It modifies the configuration files, but the modifications don't get used. Also Arch, updated yesterday. Maybe related.

I've just found that after freshly logging in it does respond to settings changes, but I've seen it not doing so several times since Tuesday, so if it stops working at some point while being logged in I might be able to provide more info.

nevdelap avatar Nov 02 '24 05:11 nevdelap

I was able to add a new custom keyboard shortcut, and also was able to delete a shortcut from a system shortcut, both of which saved to the ~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom file, but adding or changing the hotkey binding for a system shortcut doesn't seem to get saved. I tried changing the Save Screen key to XF86Calculator, which did nothing, but when I added a custom shortcut to launch cosmic-screenshot on that key, it worked.

In hindsight, this issue probably should have been filed on the cosmic-settings project.

kode54 avatar Nov 02 '24 10:11 kode54

I also tried adding Super+L to Lock Screen, because of course, I have a keyboard with a bunch of macros hard coded into it that resolve to Windows shortcuts. Such as a Lock button that presses Super+L. And of course, because Logitech decided that Printscreen is obsolete, it doesn't have that key, but it does have a XF86Calculator key, and it has a Fn+F7 hotkey that binds to Super+Shift+S, the Snipping Tool shortcut.

kode54 avatar Nov 02 '24 10:11 kode54

I haven't seen any reports from our ISO, so make sure to report these to Arch's maintainer

There have been no changes on "cosmic-settings" nor "cosmic-settings-daemon" between the Alpha 2 and Alpha 3 packaging. So far I have checked, there has been no packaging changes outside of cosmic-idle is now a dependency for cosmic-session in the Alpha 3 release.

ptr1337 avatar Nov 02 '24 10:11 ptr1337

Meh. Instructions unclear. I did not realize that I needed to press the Enter key to confirm an edit to a shortcut key setting. I incorrectly assumed it would also save it if I unfocused the edit box with the mouse.

kode54 avatar Nov 02 '24 12:11 kode54

Still so used to certain DEs where Enter on a dialog box just outright commits the entire dialog into the void, except mysteriously on multi-line edit boxes, where it's a tossup as to whether Enter still does this, or whether the Shift button comes into play somehow.

kode54 avatar Nov 03 '24 01:11 kode54

There is an issue open about being able to just press the keys you want to add as a shortcut, rather than having to type them and press Enter. I think there is also one about when you press Enter but what you've typed is invalid, and it doesn't accept it, but the UI feedback is unclear when your having pressed Enter hasn't been accepted.

nevdelap avatar Nov 03 '24 23:11 nevdelap

I am on the latest alpha and cannot enter any new shortcuts. Either I'm too dumb or it does not work.

I had one shortcut set from an earlier alpha, but when I wanted to change it, it did not work. Assuming that it might be an invalid entry, I deleted it but now I cannot re-create it anymore.

When opening the dialog and I have filled in every field, all the Enter key does is adding another empty Type Key Combination textbox, but it does not create it, no matter how many times I press it.

It looks like this THis is how it looks like when I tried to press Enter to create it.

do-nat avatar Jun 25 '25 19:06 do-nat

The xkbd symbols are case-sensitive, so for now you have to type them with that in mind. Some keys do not use upper case letters when being parsed from text. There will be a raw editor that intercepts keys directly, but it's not ready yet.

mmstick avatar Jun 25 '25 19:06 mmstick

I am on the latest alpha and cannot enter any new shortcuts. Either I'm too dumb or it does not work.

I had one shortcut set from an earlier alpha, but when I wanted to change it, it did not work. Assuming that it might be an invalid entry, I deleted it but now I cannot re-create it anymore.

When opening the dialog and I have filled in every field, all the Enter key does is adding another empty Type Key Combination textbox, but it does not create it, no matter how many times I press it.

It looks like this THis is how it looks like when I tried to press Enter to create it.

Same here, under latest Fedora Cosmic Atomic

mlo-3 avatar Aug 27 '25 09:08 mlo-3

I thought I was having the same issue until I realized after adding the keyboard shortcut string (typed out manually) and hitting enter, I also had to hit [Add another keybinding], which imo, is worded wrong. It should probably say "Add Keybinding" or "Save" instead so it's less confusing

bmfkai avatar Sep 02 '25 13:09 bmfkai

Thank you, indeed, pressing enter then clicking [Add another keybinding] works !

The thing that does not work is that the special key are not recognized : Ctrl, shift, super are not detected by pressing and I have to write them manually.

mlo-3 avatar Sep 02 '25 15:09 mlo-3

Yeah, that is annoying, but this is Alpha territory 😁

bmfkai avatar Sep 02 '25 16:09 bmfkai

Should be resolved with https://github.com/pop-os/cosmic-settings/issues/499

LiamillionSS avatar Nov 03 '25 16:11 LiamillionSS