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

            Bug ID: 430934
           Summary: Nice/Ionice Not Being Honored In .desktop Exec
           Product: plasmashell
           Version: 5.20.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff)
          Assignee: k...@davidedmundson.co.uk
          Reporter: nroycea+...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
Niceness of a running application launched from the Application Launcher is not
being applied.

STEPS TO REPRODUCE
1. Right-mouse application in Application Launcher and "Edit application"
2. Go to application tab and prepend "Command" with "nice" and "ionice" values
(-n 15 & -c 3). Save.
3. Run that application from the launcher.

OBSERVED RESULT
The niceness for the process is the default.

EXPECTED RESULT
The niceness should reflect what was stated in the command.

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

ADDITIONAL INFORMATION
If you copy/paste that niced command in the terminal and then look at the
niceness of the running process, that will show the change.
Yet the same command used in the Launcher will not.

EG. Exec(comment)= nice -n 15 ionice -c 3 <pathTo>/code-insiders (visual studio
code/vscode)

If you iotop to view that process PRIO, when it was run by the Launcher, you'll
see it is the default "be/4", which is incorrect.

But if you run that same command in the terminal and view the iotop for that
process, it shows "idle", which would be correct.

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

Reply via email to