make sudo suggestions/help text 'sudo' aware
Bug #236158 reported by
Paul Sladen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powertop (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: powertop
By default, 'powertop' prints information such as:
"PowerTOP needs to be run as root to collect enough information"
and:
"echo 1500 > /proc/sys/
The first message can be changed to be more generic "root, or using 'sudo $0'". The second message can check $0 of the parent process and if being run via sudo display suggestions as:
echo 1500 | sudo tee -a /proc/sys/
Changed in powertop: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Talking to Arjan (of the original authors), the language change could be done if the opinion for doing this would be strong enough, i.e. ovewcome the nuisance of having to get new translations. It seems translations are handled outside of the original authors' source trees.