Bug 25346 - Hplip icon system tray starts automatically unnecessarily.
Summary: Hplip icon system tray starts automatically unnecessarily.
Status: RESOLVED DUPLICATE of bug 9902
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard: MGA7TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-23 16:58 CEST by Jose Manuel López
Modified: 2021-02-15 17:37 CET (History)
3 users (show)

See Also:
Source RPM: hplip
CVE:
Status comment:


Attachments

Description Jose Manuel López 2019-08-23 16:58:39 CEST
Description of problem: Hplip icon system tray starts automatically even if it is not necessary

Version-Release number of selected component (if applicable): Mageia 7 64Bits


How reproducible: Install cups and reboot, install printer other than hp. The hplip icon system tray starts automatically consuming unnecessary resources, since I don't have an hp printer


Steps to Reproduce:
1. Install cups and reboot
2. Install printer other than hp
3. Reboot
Comment 1 Jose Manuel López 2019-08-23 17:02:10 CEST
I think that hplip systray shouldn't start if there isn't installed printer hp in the system.

Greetings.
Comment 2 Marja Van Waes 2019-08-31 16:33:37 CEST
Which desktop environment are you using, José?

I see the same behaviour with Plasma5, but must say that it was quite a while ago that I installed my (non-HP) printer.

I'll try whether renaming the /etc/xdg/autostart/hplip-systray.desktop helps

Source RPM: Hplip => hplip
Keywords: (none) => NEEDINFO
CC: (none) => geiger.david68210, marja11
Version: 7 => Cauldron
Whiteboard: (none) => MGA7TOO

Comment 3 Marja Van Waes 2019-09-01 08:32:59 CEST
(In reply to Marja Van Waes from comment #2)
> Which desktop environment are you using, José?
> 
> I see the same behaviour with Plasma5, but must say that it was quite a
> while ago that I installed my (non-HP) printer.
> 
> I'll try whether renaming /etc/xdg/autostart/hplip-systray.desktop helps

That does indeed help.

But this is your bug report, Jose, so please tell (in this report) whether that helps for you, too, and which desktop environment you're using (KDE/Plasma5, Gnome, Xfce, Mate, Cinnamon.... we have so many of them)
Comment 4 Jose Manuel López 2019-09-02 06:54:36 CEST
I use desktop Plasma 5 with Mageia 7.1 x64. I found a fix for this problem in the web.

The file /etc/xdg/autostart/hplip-systray.desktop needs to be renamed "hplip-systray.desktop-DISABLE", and the service does not start automatically, but I think this should be done automatically by default, and return to its original name in case an hp printer is installed.

Greetings.
Comment 5 Marja Van Waes 2019-09-04 14:49:38 CEST
There is no registered maintainer for hplip and, afaik, this issue only occurs in Plasma5.

Maybe it can be fixed on Plasma5 side. Assigning to KDE team.

Assignee: bugsquad => kde

Marja Van Waes 2019-09-04 14:49:43 CEST

Keywords: NEEDINFO => (none)

Comment 6 Jose Manuel López 2021-02-15 17:24:11 CET
Any progress on this?

Greetings!
Comment 7 Aurelien Oudelet 2021-02-15 17:37:31 CET
This appears on all desktop with a systray and that user does not want hplip because he does not have an HP printer.

This is due that clicking on Setup printer... in MCC triggers gurpmi2 to install task-printing-server AND task-printing-hp.
This is hard-coded in MCC behaviour.

Duplicate.

*** This bug has been marked as a duplicate of bug 9902 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED
CC: (none) => ouaurelien


Note You need to log in before you can comment on or make changes to this bug.