-
Notifications
You must be signed in to change notification settings - Fork 77
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
Problems with plasma 6 #62
Comments
I set up my own virtual machine with kde neon and tested some things. It appears that the panel-approach works just fine without changes on kde plasma 6 (as far as I saw), that is after installing some package (I believe it was called Other than that I will say that plasma 6 does look very good at first look, so this is something to look forward to! |
kde6 is available in nixos-unstable. The only problem is the new default floating panel style (I prefer the old non-floating style). Could you please support this boolean option? |
Yeah, we'll have to look into that. Hopefully this capability has been added to plasma desktop scripts as well, although I'm not seeing anything obvious in the documentation for it yet. I also see that the maxwidth stuff doesn't work either. On a positive note it appears that the panels at least are created on the correct screen, which was always a bit irritating when using multi-monitors :). |
Plasma6 added some new global shortcuts for Spectacle, so it would be appreciated if new options in spectacle.nix were added. And also, it seems like on machines that updated shortcuts and updated to plasma 6 at the same time (like happened with me on my less used device) the plasma-manager cannot set shortcut values that overlaps new shortcuts set by plasma update (for example, plasma-manager tried to set shortcut to "Meta+R" right after update, but shortcut with that key combo was added by plasma between rebuild and applying the config). This is kind of a rare edge case, because plasma updates do not override shortcut values already set by users so this only happens if key combination was unused by both user-set and plasma-manager-set shortcuts until that exact rebuild, but I decided to mention it anyway. |
These shortcuts should now be supported. Nice knowing about the shortcut potentially being overwritten, that might make it easier for troubleshooting, though I don't think there is much that can be done to fix this. |
Can you add the option for the panels to dodge the Windoes? |
I see that is broken indeed. I'll see if I can find out what the new keys are over the weekend |
This is now available as per #80. You can use set the |
I figured these out. To get the "Always visible" panel it seems like |
These are now implemented, and min/maxLength should also work now. I would imagine there still are some things in the panels module which still doesn't fully work on plasma 6, but it at least now works on my whole config |
On my config too. |
Not sure if this is related to plasma6 but I have a feeling it is. I'm not able to set hotkeys at all. This is my config: home-manager.users.${userName} = { ... }: {
imports = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
programs.plasma = {
enable = true;
hotkeys.commands = {
"Launch terminal" = {
key = "Meta+E";
command = "foot";
};
};
};
}; There are no errors but it doesn't set any hotkeys and there is no indication that it's doing anything when I check the relevant settings page. |
I seem to remember that there was some hotkeys implementation changes in plasma 6 (or some old standard was dropped or something). It probably needs updating, we'll add it to the list. I think though for most tasks though (probably the above included) the |
The hotkeys should be fixed now after #24 was merged :) |
I found something: that causes that we dont have enouogh subsets (if I understand this correctly. warning: Git tree '/home/sven/GitHub/NixOS-Config' is dirty
error:
… while checking flake output 'nixosConfigurations'
at /nix/store/5rhk70jn2123ic2wc5c7jf9i4nlc3sjm-source/flake.nix:9:5:
8| {
9| nixosConfigurations = {
| ^
10| Yon = lib.nixosSystem {
… while checking the NixOS configuration 'nixosConfigurations.Yon'
at /nix/store/5rhk70jn2123ic2wc5c7jf9i4nlc3sjm-source/flake.nix:10:7:
9| nixosConfigurations = {
10| Yon = lib.nixosSystem {
| ^
11| specialArgs = {
(stack trace truncated; use '--show-trace' to show the full trace)
error: A definition for option `home-manager.users.sven.programs.plasma.panels."[definition 1-entry 2]".widgets."[definition 1-entry 7]".config.org.kde' is not of type `string or list of string'. Definition values:
- In `/nix/store/5rhk70jn2123ic2wc5c7jf9i4nlc3sjm-source/users/sven/plasma.nix':
{
ksysguard = {
piechart = {
General = {
rangeAuto = "false";
... |
You might be correct there. Could you post more of the panel configuration so it becomes easier to debug (my panel configs work fine, but they are simpler)? |
https://github.com/Svenum/NixOS-Config/blob/master/users%2Fsven%2Fplasma.nix This is my config. |
I'm pretty sure the problem is then that you are using declaring |
I tryed with quotes warning: Git tree '/home/sven/GitHub/NixOS-Config' is dirty
error:
… while checking flake output 'nixosConfigurations'
at /nix/store/4xl8ij1l8q9lhgkzyxlvz3vpj9z8bn1n-source/flake.nix:9:5:
8| {
9| nixosConfigurations = {
| ^
10| Yon = lib.nixosSystem {
… while checking the NixOS configuration 'nixosConfigurations.Yon'
at /nix/store/4xl8ij1l8q9lhgkzyxlvz3vpj9z8bn1n-source/flake.nix:10:7:
9| nixosConfigurations = {
10| Yon = lib.nixosSystem {
| ^
11| specialArgs = {
(stack trace truncated; use '--show-trace' to show the full trace)
error: A definition for option `home-manager.users.sven.programs.plasma.panels."[definition 1-entry 2]".widgets."[definition 1-entry 7]".config."org/kde/ksysguard/piechart".General' is not of type `string or list of string'. Definition values:
- In `/nix/store/4xl8ij1l8q9lhgkzyxlvz3vpj9z8bn1n-source/users/sven/plasma.nix':
{
rangeAuto = "false";
rangeTo = "1600";
}
|
Yeah I meant quotes around the whole thing, but that obviously won't give the desired result (but would build). It will need some tweaks |
After looking into this I am pretty sure it already was supported, you just needed to include everything as one string, i.e. |
Worked great, thanks |
The flake downloads plasma5 even if I am using plasma 6. I think it is because of the demo package. |
I guess the solution to that would just be to update it the demo to |
Maybe split the flake into 2 different branches and the user chooses based on whether they are running plasma5 or 6? |
Yeah, we've been thinking about doing that for some time. Sounds like a good solution |
|
Also some news on my end is that I will not in the near future be able to co-maintain or contribute much to plasma-manager anymore because I will be switching distributions for various reasons (mostly software and a little bit hardware complications regarding quite specialized use-cases, which while probably solvable in nixos would take too much time for what I am willing to use, at least in the near future). I really wouldn't rule out that I at some time will come back to the distro though (I have done so a couple times before), and if/when that happens I'll certainly be back here making contributions. Hopefully the project will continue fine though, it's seen good progress even besides my contributions, and I'd say it's in a good state a.t.m. although some bugs are present (some of which are probably not even I will close this issue now, I think the transition to |
This is a tracker issue for things not working in plasma-manager on the upcoming kde plasma 6 version. If there are any bugs/configuration-problems in plasma-manager, feel free to post them here. At the moment kde plasma isn't available for nixos, but it is available for other distributions to test some of the tools/configurations plasma-manager to find potential problems. As already noted in #59 @mlyxshi, the way we generate panels may be broken (hopefully this is just a problem with the qdbus command we send in and hence it hopefully is an easy fix).
The text was updated successfully, but these errors were encountered: