Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46456 - [htop] corretly set system configuration directory
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Monday, 28 September 2015, 11:46 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 February 2016, 20:11 GMT
Opened by Christian Hesse (eworm) - Monday, 28 September 2015, 11:46 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 February 2016, 20:11 GMT
|
DetailsDescription:
htop can read default configuration from htoprc in system configuration file. By default this is set to ${prefix}/etc/ -- /usr/etc in our case. This should be /etc, so please add --sysconfdir=/etc to configure. Additional info: htop 1.0.3-3 |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 11 February 2016, 20:11 GMT
Reason for closing: Fixed
Additional comments about closing: htop 2.0.0
Thursday, 11 February 2016, 20:11 GMT
Reason for closing: Fixed
Additional comments about closing: htop 2.0.0

Bringing this to the top... Now that htop 2.0.0 has been release - can we get this change in?

Bug confirmed for htop 2. When ~/.config/htop/htoprc is missing, htop tries to read /usr/etc/htoprc.

I have tested this fix and applied it to a working htop PKGBUILD that builds updated 2.0.0 for convenience. credits to xyproto