A couple questions - shutdown button, cpufreq, hostname
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37
Rep:
A couple questions - shutdown button, cpufreq, hostname
Heeey,
i have a relatively fresh install of mandriva one 2008, got a few questions:
shutdown button in kde .. all i can d o _straight_ from kde is log off. it then takes me to the kdm login screen from where i can shutdown. is there any way to add a shutdown icon to my kde, instead of having to log off and then do it?
hostname - i'm still the stock 'localhost', i tried setting the name via the 'hostname' command, like i would do on other distros, but it's reset to 'localhost' after reboot
cpufreq fails - since this is a laptop, i'd sure like to do some powersaving - but when i select any other power scheme ('policy') i get the small popup message that cpufreq policy could not be set - no more info. what's up with that?
hdparm - back on slackware i used to issue a hdparm -S1 /dev/hda to save up some battery - i could do the same here, but since there's a nifty gui for powersaving option, i was wondering if it could be enabled in some other way?
shutdown button in kde .. all i can d o _straight_ from kde is log off. it then takes me to the kdm login screen from where i can shutdown. is there any way to add a shutdown icon to my kde, instead of having to log off and then do it?
I guess you can make a launcher which executes the shutdown command... It's a puzzle that you don't have "shutdown" as an option along with "hibernate" and "sleep". Using the little red button in the right-hand corner.
Quote:
hostname - i'm still the stock 'localhost', i tried setting the name via the 'hostname' command, like i would do on other distros, but it's reset to 'localhost' after reboot
Use the "Set up a new Network Interface" module and simply re-configure the existing interface
Quote:
cpufreq fails - since this is a laptop, i'd sure like to do some powersaving - but when i select any other power scheme ('policy') i get the small popup message that cpufreq policy could not be set - no more info. what's up with that?
huh... check that cpu frequengy scaling is enabled in BIOS. Try noapic, nolapic on the kernel line.
Quote:
hdparm - back on slackware i used to issue a hdparm -S1 /dev/hda to save up some battery - i could do the same here, but since there's a nifty gui for powersaving option, i was wondering if it could be enabled in some other way?
You want the HDD to sleep if it's inactive for 5mins? Nah - that's the way you do it all right.
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37
Original Poster
Rep:
Quote:
I guess you can make a launcher which executes the shutdown command... It's a puzzle that you don't have "shutdown" as an option along with "hibernate" and "sleep". Using the little red button in the right-hand corner.
I was thinking this is a permission issue - since i can't even shutdown -h now without giving the root password. even if i make a launcher, i still have to enter the root password. which is just as inconvenient as going through kdm
Quote:
Use the "Set up a new Network Interface" module and simply re-configure the existing interface
done, i must've overlooked the hostname option previously, thanks
Quote:
huh... check that cpu frequengy scaling is enabled in BIOS. Try noapic, nolapic on the kernel line.
noapic - changes nothing, plus the system hung when shutting down
nolapic - wont boot
cpufreq in BIOS - unfortunately, no such option in there
when i click 'configure KPowersave' and go under 'scheme settings' the "CPU Frequency Policy" is not 'active' (grey font) and it says "not supported" next to it. pretty straightforward, but .. how come Windows manages to adjust CPU speed, on exactly the same cpu (Celeron M - i know, i know, i know, i needed a cheap 2nd laptop)?
Possibly the cpu scaling is not supported in bios but windows has an extra tool for it, has an additional option in the DSDT (if windows then enable freq scaling)...
You can spoof the OS version your laptop is compensating for on the kernel line and see.
OR: windows is lying... it has the app, and it is activating, but it doesn't do anything. After all, how would you tell?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.