Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Cinnamon rules seem to set file manager and other applications to nice -10 #181

Closed
LinuxOnTheDesktop opened this issue Dec 7, 2019 · 3 comments

Comments

@LinuxOnTheDesktop
Copy link

The problem

When I copied a large file I noticed this:

image

It turns out that the 'Very High' niceness reported by that system monitor is niceness -10.

Now, my file-manager, Nemo, should not be at -10 niceness, because that's not sane and I have a Nemo ananicy rule to set it to nice 0. Nor should a lof of that other stuff be at -10.

Diagnosis

Playing around seem to show that, if ananicy is running, restarting Nemo gives it a -10 niceness. I found that if I removed the (default) ananicy Cinnamon rules, the whole problem went away. Note that simply stopping anaicy does not solve the problem, if Cinnamon (or possibly cinnamon-session as against cinnamon) is at -10. This suggests that Cinnamon propagates its ananicy-assigned -10 niceness to programs that it (CInnamon) is involved in launching.

Proposed remedy

Trust distro developers to nice their rather critical comments. So: just delete the Cinnamon rules and indeed issue a warning about creating any.

Ananicy: latest git, I think. (It would be nice were ananicy --version to work.)
Linux Mint 19.2 Cinnamon

@LinuxOnTheDesktop
Copy link
Author

This problem persists. Indeed on my systems just now it has meant that the indexer of the launcher program 'Albert' got niced to -10. Not good.

@nefelim4ag
Copy link
Owner

You can just create PR and remove them, if they perform bad.

@LinuxOnTheDesktop
Copy link
Author

LinuxOnTheDesktop commented Oct 4, 2020

I tried and I got into terrible trouble with git and specifically with gpg; I am unused to doing more than fetching with it. Why don't you just please delete the cinnamon.rules file?

raphielscape added a commit to raphielscape/Ananicy that referenced this issue Nov 18, 2020
* 'master' of github.com:Nefelim4ag/Ananicy: (72 commits)
  nefelim4ag#272: disable chromium rules once it manages its child processes by itself
  Create stellaris.rules
  Create rimworld.rules
  Fix: nefelim4ag#181
  fix descriptions
  Added some rules
  Create handbrake.rules
  Create celluloid.rules
  Create mame.rules
  Create ecwolf.rules
  Create blastem.rules
  Create mesen.rules
  Create higan.rules
  Update firefox.rules
  Added Kerbal Space Program rules
  Added unison rule
  Create quake.rules
  Create cen64.rules
  Create fsuae.rules
  Delete quake.rules
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants