Re: how users can change cpu frequency ?

2010-12-30 Thread Ted Roche
On Tue, Dec 28, 2010 at 4:20 PM, Boggiano boggi...@gmail.com wrote:
 - Messaggio originale -

 Thanks Donald,
 but I'd like to use the gnome applet instead of using command line and
 password.
 My girlfriend needs to save power when she is away from her pc, and she
 is lazy! :)
 I tried to chmod +s on the exe file but it didn't even start!

You might consider using the applet named Shut Down instead. If you
click it, you can select suspend from the dialog that appears, and it
will put the machine in a low power state, one that's easily and
quickly restored from, by pressing a key. On my Thinkpad, suspend
reduces power from 35 to 5 watts and restores in around six seconds.


-- 
Ted Roche
Ted Roche  Associates, LLC
http://www.tedroche.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how users can change cpu frequency ?

2010-12-28 Thread Boggiano
- Messaggio originale -
 On Mon, Dec 27, 2010 at 00:52, Alessandro Boggiano
 boggi...@gmail.comwrote:

  Hi all,
  I'd like to permit to users to scaling the cpu frequency
  using the applet cpu scaling inside gnome
 


 If that can be done with a command, add the user and command to sudoers
 with the NOPASSWD option.

Thanks Donald,
but I'd like to use the gnome applet instead of using command line and password.
My girlfriend needs to save power when she is away from her pc, and she is 
lazy! :)
I tried to chmod +s on the exe file but it didn't even start!

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how users can change cpu frequency ?

2010-12-28 Thread Tim
On Tue, 2010-12-28 at 22:20 +0100, Boggiano wrote:
 I'd like to use the gnome applet instead of using command line and
 password.  My girlfriend needs to save power when she is away from her
 pc, and she is lazy! :)

In that case, wouldn't you want the computer to automatically scale the
CPU speed, rather than set it via any technique?

That's how my laptop's set up, it always runs at the slowest speed until
some intensive task comes along.  Though it's still running Fedora 9,
not the current release.

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


how users can change cpu frequency ?

2010-12-27 Thread Alessandro Boggiano
Hi all,
I'd like to permit to users to scaling the cpu frequency
using the applet cpu scaling inside gnome without typing root password.
How can I do it?

Thanks!
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how users can change cpu frequency ?

2010-12-27 Thread Donald Russell
On Mon, Dec 27, 2010 at 00:52, Alessandro Boggiano boggi...@gmail.comwrote:

 Hi all,
 I'd like to permit to users to scaling the cpu frequency
 using the applet cpu scaling inside gnome without typing root password.
 How can I do it?



If that can be done with a command, add the user and command to sudoers with
the NOPASSWD option.

#visusdo
add the following line:
user ALL=(ALL) NOPASSWD:command

then your user can use sudo command

You may also grant this access to a group. It may be better to grant the
access in sudoers to a group, then add individuals to the group as needed.

Normally with sudo, the user will be prompted for their own password, but
if you want no passwd prompt at all, use the NOPASSWD option as shown above

Something else to consider adding to sudoers...
Defaults passprompt = [sudo] Please enter the password %p: 

Otherwise the prompt will simply be Password:  and it's not very clear
which password is being asked for. With the above line in effect, it's clear
the prompt is coming from sudo, and which password is required. :-)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines