nodefourtytwo / gnome-shell-extension-cpu-freq

Change CPU frequency from gnome shell
12 stars 11 forks source link

When changing the governor, the password is required several times (once per cpu core?) #22

Open maximilianpalm opened 9 years ago

maximilianpalm commented 9 years ago

When changing the governor setting, I'm asked for my password 4 times. That's also how many (virtual) cpu cores I have, so I'm probably asked once per core. Additionally, if I change my mind I have to the password another 4 times. For me it's just on the edge of annoying, but I don't want to imagine having 8+ cores.

In case this is not just my machine doing funny things, could you improve this behaviour to only asking once per change and maybe also to keep the permission for a while (like sudo does)?

uname -a
Linux box 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

gnome-shell --version
GNOME Shell 3.4.2

cat /proc/cpuinfo | grep "model name"
model name  : Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz
model name  : Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz
model name  : Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz
model name  : Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz