Bug 1222766 - compositor picom is started unconditionally
Summary: compositor picom is started unconditionally
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-15 05:26 UTC by Giacomo Comes
Modified: 2024-04-19 00:33 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.