Talk:Framework Laptop 16
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 11:39, 5 November 2024 (UTC) :: Your reply ~~~~
Telling users to run an install script on GitHub as root
Section Fan control tells users to clone a fork of a popular GitHub repository and run the install script with sudo. I see three problems with this:
- We usually use {{RootCmd}} instead of sudo (see the guidelines)
- This script can change at any moment. Do we trust it?
- The package manager isn't involved. This has a few implications:
- The install script can override files owned by other packages
- Other packages can override files owned by the script
- And more
How should I deal with this? Should I remove the section entirely, or just add a warning?
— Waldo Lemmer 06:14, 19 May 2024 (UTC)
- I'm new to editing the Gentoo Wiki, it was late at night, and I managed to get control over my fans and wanted to share. Yes, these are moderately lame excuses.
- This is why I forked the script to ensure it won't suddenly change.
- I don't have any experience writing ebuild scripts yet, this may be a good opportunity to learn how to do this, and possibly create my own overlay.
Fan control
A modified version of fw-fanctl on GitHub, which also includes a version of ectool that allows to control the fans, tracks the temperature better and will speed up fans faster when temperature rises fast. It also tracks changes in the config file, and reloads the config when it changes and contains a script for init.d as well as systemd.
To clone fw-fanctrl:
user $
git clone https://github.com/NAKlama/fw-fanctrl
user $
cd fw-fanctrl
To install (for OpenRC) run inside the cloned directory:
Please review the script and make sure it won't overwrite any files
root #
chmod +x install-initd.sh
root #
./install-initd.sh
To list available fan curves (configured in /etc/fw-fanctrl/config.json):
root #
fw-fanctrl -l
To change to the fan curve lazy
(as an example) run:
root #
fw-fanctrl lazy
— NaK-System (talk) 08:59, 19 May 2024 (UTC)
Yes, these are moderately lame excuses.
- No worries, I wasn't criticizing in any way. Just wanted to guide you in the right direction, is all :)
- Thanks a lot for the proposal, it already shows that you're paying more attention than most. I'll incorporate it, but I think I should leave this discussion open and hear what others have to say. I don't think the guidelines regarding third-party scripts are documented anywhere...
- — Waldo Lemmer 09:29, 19 May 2024 (UTC)
No worries, I wasn't criticizing in any way. Just wanted to guide you in the right direction, is all :)
- Thanks for clarifying this. I am autistic, and prone to misunderstanding peoples intention, and with my history of social trauma, I often interpret any criticism harsher than it is intenden.
Thanks a lot for the proposal, it already shows that you're paying more attention than most.
- I try my best. ;)
I don't think the guidelines regarding third-party scripts are documented anywhere...
- As I said, I may write an ebuild to install the script, and build the ectool it uses to control the fans from sources. This is currently just a temporary solution.
— NaK-System (talk) 11:06, 19 May 2024 (UTC)