diff --git a/src/base/registration/registration.py b/src/base/registration/registration.py index fac14cc..f65b918 100644 --- a/src/base/registration/registration.py +++ b/src/base/registration/registration.py @@ -630,6 +630,12 @@ class Registration: def delete_ahenk_pulseaudio_desktop_file(self): ahenkpulseaudio = "/etc/xdg/autostart/ahenk.pulseaudio.desktop" + pulseaudio_start_file = "/etc/xdg/autostart/ahenk.pulseaudio.start.desktop" + if self.util.is_exist(pulseaudio_start_file): + self.util.delete_file(pulseaudio_start_file) + self.logger.info("ahenk.pulseaudio.start.desktop autostart file deleted") + else: + self.logger.info("ahenk.pulseaudio.start.desktop autostart file doesn't exist") if self.util.is_exist(ahenkpulseaudio): self.util.delete_file(ahenkpulseaudio) self.logger.info("ahenk.pulseaudio.desktop autostart file deleted")