https://bugs.kde.org/show_bug.cgi?id=449682

            Bug ID: 449682
           Summary: hp-systray does not restart on logging back in
           Product: ksmserver
           Version: 5.23.5
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: audv...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

STEPS TO REPRODUCE
1. Run hp-systray from HPLIP
2. Log out allowing session to save
3. Log back in

OBSERVED RESULT

Upon logging back in, hp-systray does not start. The following message is
logged:

hp-systray[9295]: hp-systray[9295]: error: option -s not recognized

EXPECTED RESULT

hp-systray should start and should not log any errors.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.16.5/5.23.5
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.23.5
Qt Version: 5.15.2

ADDITIONAL INFORMATION

 $ fgrep hp-systray ~/.config/ksmserverrc
program1=/usr/bin/hp-systray
restartCommand1=/usr/bin/hp-systray,-session,1014cd2d4cd000164398932500000094520009_1643989599_866247,-name,hp-systray

I am not sure on the format of this file but it appears -session is being
passed to hp-systray and does not get ignored. It results in hp-systray failing
to start.

 $ hp-systray -session 101

HP Linux Imaging and Printing System (ver. 3.21.12)
System Tray Status Service ver. 2.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


System Tray monitors the HP device status and Displays

Usage: hp-systray [MODE] [OPTIONS]


[MODE]
  Run in graphical UI mode:   -u or --gui (Default)

[OPTIONS]
  Use Qt5:                    --qt5 (Default)
  Set the logging level:      -l<level> or --logging=<level>
                              <level>: none, info*, error, warn, debug
(*default)
  Run in debug mode:          -g (same as option: -ldebug)
  This help information:      -h or --help

  Startup even if no hplip    -x or --force-startup
  CUPS queues are present:

error: option -s not recognized

I have tried editing the file to remove all mentions of hp-systray and this did
not help.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to