regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

regolith-compositor-picom ignores .config/regolith2/picom/config on startup #713

Open Charles-Schleich opened 2 years ago

Charles-Schleich commented 2 years ago

Hello, I am using regolith2 I have installed regolith-compositor-picom-glx $ picom --version vgit-cd505 I am potentially doing something wrong, but it seems that at startup .config/regolith2/picom/config is ignored by the process that starts picom.

As soon as I login, i can see that picom has started

$ ps aux | grep picom
charles    24295  1.0  0.1 195908 40012 ?        S    12:53   0:02 /usr/bin/picom --config /home/charles/.config/regolith2/picom/config

But none of the effects from the config are applied to the windows.

Running ~/.config/regolith2/picom/compositor-init applies the configuration properly, but then is attached to the terminal. I cant add ~/.config/regolith2/picom/compositor-init to my ~/.profile file because it never finishes executing and prevents me from entering my system. And it looks like running nohup ~/.config/regolith2/picom/compositor-init & doesnt seem to fix the problem either.

Is there another location where the startup of picom could be getting its config from ? Or is there another location where I should put the startup invocation for ~/.config/regolith2/picom/compositor-init ?

Thank you in advance, and thanks for all the work on Regolith2, super cool project.

edit: Added comment regarding nohup ~/.config/regolith2/picom/compositor-init &

kgilmer commented 2 years ago

Hi @Charles-Schleich ,

Hmm, odd. Yes from the process list it appears that the correct (user) config is being loaded. I'm not sure what could be the problem assuming that the file contents are correct. Here is the logic which determines which config file to load, and as you can see there are only two possibilities.

kgilmer commented 2 years ago

You may check /var/log/syslog to see if picom reports any errors directly after login..

daenuprobst commented 1 year ago

As this is open. I have the same issue with regolith 3 installed on top of pop-os. I would assume that this (pop-os) might be cause the issue for some reason. If i start (restart?) picom manually with

picom --config "$HOME/.config/regolith3/picom/config"

it loads the changes made in the config.