Hi guys. I’ve been having a lot of issues with my Manjaro KDE install recently and I need help figuring out firstly if it’s Manjaro, Plasma, or SDDM, and secondly, how to fix it.
I’ll start this with some system info. I have 2 monitors, a left and right one. the right one is my main monitor, but I think the left one technically has higher priority, because on a fresh install (of windows, linux, anything) the left monitors defaults to the primary. I have the right one set as the primary in Plasma, however. As for the rest of the system, I’ll just paste the “about this system” from settings:
this only seems to affect windows using the standard window borders, as programs like Firefox using the native titlebar are unaffected. Any programs I open post-wake are also unaffected.
Windows shift to the left monitor after wake.
Like I said, the left monitor seems to be seen as the “primary” in some sense. (for instance, when I wake from sleep, my cursor and keyboard are focused on the left monitor; I don’t see that as a bug, since I assume SDDM just isn’t being told to primary the right monitor like Plasma is.) Logging in after wake, any windows I had focused on the primary right monitor (i.e. Firefox) are moved to the left, where programs already on the left monitor (i.e. Discord) stay there. This is true for maximized and windowed programs.
Brightness / night color settings do not fix on both monitors.
I have monitor brightness setup via ddc/ci, and Plasma will dim my monitors before going to sleep, similar to a laptop. however, after wake, it seems that the brightness on the left monitor gets restored to what is was pre-dimming, whereas the right monitor stays at 0% until I manually adjust it. Similarly, I had “night color” on in Plasma, which just applies the orange screen tint based on sunrise/sunset. When I manually enable/disable it, it makes no difference, neither display reflects the changes. However, with night color enabled, despite showing no change initially, after wake, the left monitor has a permanent orange hue until I restart the PC. I have only recently experienced this, since I only accidentally left night mode on by accident (like I said, it doesn’t make any difference when initially enabled). As such, I haven’t had much a chance to play with this as the other issues. However, I do find it interesting that after wake, night mode fails to update on the left monitor, and brightness settings fail to update on the right.
Program preview crashes Plasma widget
This one is probably the most minor, but it’s still odd. After wake, I seemingly don’t have any compositor issues (I remember that being the case on an old install). However, the first time I hover over a program on my task manager to see the preview, it crashes the entire Plasma panel, and after a couple seconds, the panel comes back, and I can hover to preview just fine.
Those are all the issues I can think of off the top of my head. They’re mostly minor annoyances, nothing that forces a system reboot, but I would like to resolve them if possible. I tried to provide as much info as I can but if there’s anything else I can clarify on, I’m more than happy to. I can try to capture video examples of some issues as well, if that would help.
Please let me know of any way I can fix one or all of these issues. Thank you!
[shawn@shawn-manjaro ~]$ mhwd -l
> 0000:06:00.0 (0300:10de:2182) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-nvidia 2021.12.18 false PCI
video-nvidia-470xx 2021.12.18 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
[shawn@shawn-manjaro ~]$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-nvidia 2021.12.18 false PCI
Warning: No installed USB configs!
unfortunately, that was a bit of a fear of mine, it chalking up to being nvidia. maybe this will finally just push me to get a single ultrawide instead, lol
yes having only one monitor would be probably the best…
try disabling compositor with alt + shift + f12 put your pc to sleep, wake it up, enable compositor with the shortcut again and check if you have issues
maybe its your custom themes… first log out, log in, go to system settings/ global theme click defaults, click apply … put your pc into sleep, wake up, this time keep compositor enabled…
huh, sure enough i gave it a shot, and it looks like that’s fixed at least the window border scaling issues.
in that case, would this be an issue with the specific theme, using a non-system theme, or something else?
Basically, can I continue to have scaling work without having to use breeze lol
edit: for the most part, though this might be more a gtk thing. (firefox in screenshot)
for the gtk bug, go to system settings/ application style/ configure gnome-gtk … and select for example breeze, click apply … again put your pc into sleep, wake up and check if everything works
do you know if it will be possible to get my other themes working, what might cause it to not work with downloaded themes? Again, I’m glad it’s working with Breeze, but I don’t really want to use Breeze, lol
btw, I tested, this happens with Sweet KDE, ChromeOS-Dark, and it would happen with WhiteSur on my last install. Is it maybe something w/ the process of downloading themes through the built-in GUI in Plasma?
dont use system settings/ global themes/ get new global themes … if you are using this, delete all themes that you downloaded in the global themes… you have to delete them, by clicking on the ‘get new global themes’ and there select ‘show only installed entries’ and delete them … after they are deleted, you can download from each section: plasma style/ colors/ icons, etc… the themes you want… after setting your theme from those sections, again, put your pc to sleep and check
tried this with the chromeos theme I was using, no luck… However, I noticed that after uninstalling the global theme, all the individual parts (cursor, window decorations, etc) were still installed. I tried uninstalling and re-installing just to be sure, but it was still having the issue upon wake.
For the sake of completess I also downloaded a random window decoration that I didnt have any global theme for at any point (just one of the ones at the top of “most recent”), applied the decoration, logged out, logged in, and put to sleep… upon wake, it did the same thing as when I disabled the compositor:
so again go to system settings and go trough global theme/ plasma style/ colors/ window decorations/ icons/ cursors … and in each of those section click on the get new button, in the window click everything and select show only installed and delete all of installed themes and their parts… when youre done, clear kde cache with this command: rm -rf ~/.cache/*
reboot
go again to system settings/ plasma style/ colors/ window decorations and download the sweet theme parts for example, and again put your pc to sleep and check
i see, so go to home/.kde4/share/apps/ color schemes and delete all of them
go to home/.local/share/ color schemes and delete them
home/.local/share/plasma/destktop theme and delete them
home/.themes - maybe youll not have this folder
after you delete those files, clear cache: rm -rf ~/.cache/*
reboot and try again system settings/ plasma style/ colors/ window decorations and download the sweet theme parts for example, and again put your pc to sleep and check
issue still persists.
I noticed after deleting the contents of those two directories (i did not have ~/.themes) & rebooting , i still had theme files showing in plasma settings, so i deleted those via gui, cleared cache, and rebooted again.
perhaps theres more directories i need to remove?
but overall i still find it very strange this happens and I almost wonder if it’s more of a failiure-to-load-files thing on boot, rather than just bad files? maybe i just need to use chmod on a specific directory, or use a daemon to restart compositor on boot?
I also feel bad for making you go through all this effort to help, even though its very much appreciated lol
now yes, however if i were to re-install from the gui and remove from those directories it does not seem to get rid of the global themes in the gui.
looking into it, it looks like my download themes go to ~/.local/share/plasma/look-and-feel/
manually removing them from there and re-installing makes no difference, however.
so i just downloaded a global theme and its saved in here:
/home/.local/share/plasma/look-and-feel - use dolphin to navigate there and delete everything in that folder