Comments (4)
Hi,
to adjust the configuration that’s used at boot, one needs to know to either edit config in /etc or to manually start as root (it’s a GUI…)
You shouldn't run the GUI as root. It uses policykit for that reason. If your user has administrative privileges (i.e. sudoer/admin) it will ask for elevated privileges before applying the settings.
program doesn’t interfere with CPU governor at boot simply by installing or starting it
That doesn't have to do with the program itself but rather the packaging of said software. The program doesn't enable any services it is the package that does, so that is distro specific.
The rest are valid points so I will change the issue from a bug to enhancement instead.
P.S. For the service that get re-enabled, it is better to mask
the service that disable
it. For example, a disabled service can still be run when another service depends on it. However a masked one never starts.
from cpupower-gui.
If your user has administrative privileges (i.e. sudoer/admin) it will ask for elevated privileges before applying the settings.
Apply
seems to work without any prompt. And the preferences also don’t prompt.
When exactly is a prompt intended to appear?
packaging of said software
Since your name is listed as maintainer of the AUR package, i thought it’s enough to mention it here.
I hadn’t used mask
before, so that’s interesting.
from cpupower-gui.
Polkit config for cpupower-gui is setup in such a way that it won't ask for a password if the user is member of system group and physically logged in. If you try to change settings over SSH it should fail.
If you are a simple user it will ask for admin's password to proceed.
As for packaging, if I am recalling correctly used the same pkgbuild as other packages in core/community. Also, this happens automatically for Debian, in fact the packager has to explicitly disable the behaviour of enabling the service after install, and I think it also happens in Fedora.
That being said, I believe the problem is more with setting the wrong governor by default than actually enabling the service.
I mean if the default was to keep the current settings during install and apply that at boot it wouldn't be that of a problem (omnipotence comes to mind) Right?
from cpupower-gui.
Is Polkit also used for anything related to the boot configuration?
I think on Arch packages usually don’t enable services automatically.
But, indeed, it would matter less if it had no noticeable effect without any user adjustments (by only reapplying the current settings).
I would still prefer if the system configuration wasn’t touched at all, initially, by default.
from cpupower-gui.
Related Issues (20)
- WARNING! Unknown CPU frequency, cause: [Errno 16] Device or resource busy HOT 5
- Not working in fedora 37 HOT 14
- OBS link HOT 5
- When some core is offlline, the gui crash HOT 1
- Fails to start on Fedora Kinoite 38 HOT 5
- wrong menu entry HOT 1
- ubuntu 23 can not locate apt package
- Add status switching support for newer amd_pstate and intel_pstate drivers HOT 1
- Minor feature: Toggle/Rotate/Next state HOT 3
- Any plans for a new release
- Help with automatic applying new profile when booting
- "int-expected, float-passed" error for the --min frequency
- cpupower-gui performance profile is not persistent. HOT 6
- installing latest cpu power gui removed other governors besides powersave and performance HOT 2
- cpupower-gui fails to start HOT 1
- Fix OBS link and fedora 37 support HOT 5
- Fedrora 36: Install bricks system HOT 11
- The CPUpower-GUI no longer has a Release file HOT 4
- Arch Linux | Although the default profile is selected, it does not start with that setting.
- Docs on Ubuntu / Debian installation of latest version are outdated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpupower-gui.