-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shortcuts are non-functional #109
Comments
Are you sure this is an issue with all shortcuts. One thing which may cause this could be that Ctrl+Alt+T is bound by kde beforehand, so it might be unset by kde for some reason due to it being a colliding keybinding. Have you also tried to add |
It seems to be an issue with only Ctrl+Alt+T, but this is the script I'm using to test: Testing your |
Nope, |
Yeah I tried a bit as well. There seems to be some weird behavior with this keybinding specifically which makes kde even ignore the fact that the keybinding is supposed to be immutable (that's what the $i is supposed to do). If this is the case I'm afraid it's difficult to do something about it as the problem is more on the kde side. I'll leave this issue open if someone finds some solution for this though. |
It works for me (but there are some extra commas, I'm not sure if the commas as ok). After deleting the file and running
my config: shortcuts = {
"services/dev.warp.Warp.desktop"."_launch" = "Ctrl+Alt+T";
"services/org.kde.konsole.desktop"."_launch" = [ ];
}; I'm also on Plasma 6 btw |
...Somehow it works now. baffled. but im not complaining |
Nope, was a fluke. hotkeys.commands."alacritty" = {
name = "Launch Alacritty";
key = "Ctrl+Alt+T";
command = "alacritty";
}; |
Same problem here
This does not work for me as Konsole always overwrites Ctrl+Alt+T. I also tried to set |
The {
config.programs.plasma.configFile = [
"kglobalshortcutsrc"."services/org.kde.krunner.desktop"."_launch".value = builtins.concatStringsSep "\t" [ "Meta+F2" "Meta+D" ];
];
} I don't know if a leading Personally, I'd like to see |
We could handle that. Does this fix the problem at hand though? From my experience kde usually corrects this automatically on login. Another difficulty is that the shortcuts module needs to be able to write to services and non-services groups, though handling them differently (like not adding a comma when in the services group) shouldn't be very hard. Note: handling |
My Ctrl+Alt+T stopped working btw. I think it's because of those extra commas. |
We can fix the commas issue easily (I'll do it when I get time), but I haven't seen much that indicates that this would allow us to bind Ctrl+Alt+T to whatever we want (after all the configFile solution doesn't insert extra commas at all and it still doesn't work) |
Why won't it work? It works for me if I change settings with the KDE GUI |
Don't really know from my testing. Could be something more the gui does than just write those lines to file |
OK the trailing commas problem for the shortcuts module at least is fixed after #110. This probably still won't work though. If someone could find out what keys need to be set manually by only editing |
Having a similar issue with Alt+`, which I've been using to switch between Japanese/English in IME/fcitx5 for decades. It's normally bound to "Walk Through Windows of Current Application", and even when I remove it in the UI, it immediately re-binds. Edit: in my case, it seems plasma-manager works and you can't override it through the UI. So adding this to my nix config worked: "kwin"."Walk Through Windows of Current Application" = "none,,Walk Through Windows of Current Application"; |
I can't get shortcuts to work at all, I have this in the plasma config:
(I put both "New" and "_launch" and tried just either or, same result)
Inside of
.config/kglobalshortcutsrc
it results in:I've deleted all kde/plasma configs and regenerated from home manager, I can't get this to work. I'm on plasma 6.
I've also tried:
...and I try doing "Ctrl+Alt+T", nothing happens, or sometimes konsole opens.
The text was updated successfully, but these errors were encountered: