Closed matkijahenkilo closed 2 weeks ago
@matkijahenkilo maybe you need to add stylix.enable = true
?
well, looks like stylix.enable = true
was added today actually, so that's probably not it
Please could you check the value of the environment variable $XDG_CONFIG_DIRS
before and after applying Stylix?
Please could you check the value of the environment variable
$XDG_CONFIG_DIRS
before and after applying Stylix?
before settings up Stylix:
~> $XDG_CONFIG_DIRS
fish: Unknown command: /home/marisa/.config/kdedefaults:/etc/xdg
after setting up Stylix:
~> $XDG_CONFIG_DIRS
fish: Unknown command: /home/marisa/.config/kdedefaults:/nix/store/ryg6irnnwc6fgmygnwdrya0kjj51nkxd-stylix-kde-config
I also edited the issue and pasted both Spectacle and xfce4-screenshooter outputs, if it is of any relevance óuò
Looks like Home Manager removed /etc/xdg
from the list.
As a workaround, try setting this in your Home Manager config:
xdg.systemDirs.config = [ "/etc/xdg" ];
Looks like Home Manager removed
/etc/xdg
from the list.As a workaround, try setting this in your Home Manager config:
xdg.systemDirs.config = [ "/etc/xdg" ];
Thank you!, this fixed the issues and the new value of XDG_CONFIG_DIRS
seems corrected with the addition of :/etc/xdg
at the end (・∀・)
~> $XDG_CONFIG_DIRS
fish: Unknown command: /home/marisa/.config/kdedefaults:/nix/store/ryg6irnnwc6fgmygnwdrya0kjj51nkxd-stylix-kde-config:/etc/xdg
Looks like Home Manager removed
/etc/xdg
from the list.As a workaround, try setting this in your Home Manager config:
xdg.systemDirs.config = [ "/etc/xdg" ];
I do not use Plasma, but should Stylix support this, or should this be patched upstream to Home Manager, or is this a user configuration issue?
Thank you!, this fixed the issues and the new value of
XDG_CONFIG_DIRS
seems corrected with the addition of:/etc/xdg
at the end (・∀・)
Feel free to close this issue.
Seems most likely to be an issue with Home Manager when it's used on a non-NixOS distro
hewwo, I'm using Stylix with home-manager on Arch with Plasma 6 X11 session. Shortcuts and Spectacle gets broken when using it.
Before setting up Stylix, my system look like this:
After setting up Stylix, logging out and in the session, it becomes like this:
When running Spectacle on the terminal, it prints out this:
Qt: Session management error: Authentication Rejected, reason : MIT-MAGIC-COOKIE-1 authentication rejected
I screenshotted the second print using xfce4-screenshooter in which it also has some problems after setting up Stylix, like not saving the print in a folder, so I had to workaround to make xfce4-screenshooter open in Krita so that I could export the print into a folder. Executing xfce4-screenshooter also warned me about an Ibus error:
(xfce4-screenshooter:70063): IBUS-WARNING **: 03:40:26.594: Unable to connect to ibus: The given address is empty
.Steps to reproduce:
~/.gtkrc-2.0.backup
since I'm using-b backup
params in home-manager)home-manager switch -b backup --flake /path/to/flake/#<user>
And stuff will get weird
Steps to fix the issue:
home-manager switch -b backup --flake /path/to/flake/#<user>
And everything will get back to normal
My Stylix configuration:
I don't see anything wrong that I am doing, is there any fix or mitigation for this problem? ;w;