Bug 1222766

Summary: compositor picom is started unconditionally
Product: [openSUSE] openSUSE Tumbleweed Reporter: Giacomo Comes <gcomes.obs>
Component: X11 ApplicationsAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giacomo Comes 2024-04-15 05:26:52 UTC
The package picom-conf install the file /etc/xdg/autostart/lxqt-picom.desktop
Such file contains: OnlyShowIn=LXQt;
So when login with LXQT the command 'picom' get executed.

The package picom (since version 10) install the file:
/etc/xdg/autostart/picom.desktop
Such file does not contain any 'OnlyShowIn'
therefore when login with every desktop environment the command 'picom' get executed.

There are two problems here:
1) two files: lxqt-picom.desktop and picom.desktop starts the same program when using the LXQT desktop environment
2) if using a desktop environment that starts his own composer (for example kwin on plasma/kde) picom.desktop starts picom as well. 
At the end of the login process there are two composer running at the same time which is not good.

In my opinion the package picom should not install /etc/xdg/autostart/picom.desktop

picom and picom-conf are installed by the lxqt pattern, and since 
picom-conf will start picom on lxqt login, there is no need for
/etc/xdg/autostart/picom.desktop.

I'm going to submit a SR to remove the file /etc/xdg/autostart/picom.desktop
from the package picom.
Comment 1 Giacomo Comes 2024-04-15 05:34:30 UTC
SR#1167699
Comment 2 Giacomo Comes 2024-04-19 00:33:22 UTC
The fix has been published. Closing.