Bug 2488676
| Summary: | xfce4-screensaver idle/lock failure after xscreensaver removal due to orphaned autostart desktop entries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Todd <ToddAndMargo> |
| Component: | xscreensaver | Assignee: | Mamoru TASAKA <mtasaka> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 44 | CC: | cheese, epel-packagers-sig, jonathan, lkundrak, mtasaka |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-06-15 14:03:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Todd
2026-06-13 08:39:46 UTC
"dnf remove" are not expected to touch user directory. It can happen that user needs to do some "cleanup" manually. Maybe Xfce is doing adding ~/.config/autostart/xscreensaver-autostart.desktop But to do it, it would have to read /etc/xdg/autostart/xscreensaver-autostart.desktop which "remove" did not remove. And is not in a user directory. Please correct. were these also suppose to be removed when uninstall xscreensaver? $ rpm -qa | grep -i xscreen xscreensaver-gl-base-6.15-1.fc44.x86_64 xscreensaver-extras-base-6.15-1.fc44.x86_64 xscreensaver-gl-extras-6.15-1.fc44.x86_64 xscreensaver-base-6.15-1.fc44.x86_64 xscreensaver-extras-6.15-1.fc44.x86_64 Again, system wide dnf or rpm command are not supposed to remove files under ~/ (user home directory) Maybe xfce session copies files under /etc/ to /home/user/.config, however anyway it is - not the fault of xscreensaver rpm, maybe DE can handle it. - again dnf / rpm is not supposed to touch files under /home once it is copied. So definitely xscreensaver does not copy the file, some desktop environment or so copies, and `dnf remove` or `rpm -e` is not expected to remove the files under /home once copied. In other words, once it is copied to under /home directory, dnf or rpm can no longer judge if it is copied, or it is manually created by user because it is under user home directory. So to prevent removing files "maybe" created by user, dnf or rpm is not expected to remove files under user home directory. /etc/xdg/autostart/xscreensaver-autostart.desktop was created by $ rpm -qf /etc/xdg/autostart/xscreensaver-autostart.desktop xscreensaver-base-6.15-1.fc44.x86_64 It is not in the user's files dnf remove did not remove xscreensaver-gl-base-6.15-1.fc44.x86_64 xscreensaver-extras-base-6.15-1.fc44.x86_64 xscreensaver-gl-extras-6.15-1.fc44.x86_64 xscreensaver-base-6.15-1.fc44.x86_64 xscreensaver-extras-6.15-1.fc44.x86_64 which are all dependent on having sscreensaver installed Ah, "xscreensaver" rpm is a meta package which installs the 5 packages above, but $ dnf remove xscreensaver does not remove the 5 packages, it is expected. You can do "$ sudo dnf remove xscreensaver\*" |