The suspend/hibernate menu entries in the "System" menu of the Gnome panel are linked to the Gnome Power Manager. If the Gnome Power Manager supports "suspend" or "hibernate", then the corresponding options will show in the menu.
To remove the "Suspend" or "Hibernate" options from the Gnome System menu,instruct the Gnome Power Manager to disable support for suspend and/or hibernate.
This can be achieved either graphically using gconf-editor by browsing to apps/gnome-power-manager and unset the options "can_hibernate" and "can_suspend", or use the command line tool gconftool-2:
$ gconftool-2 --type boolean --set /apps/gnome-power-manager/can_suspend false $ gconftool-2 --type boolean --set /apps/gnome-power-manager/can_hibernate false
This sets the option for the current user. To set this by default for all users, you can use the following commands as root:
# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type boolean --set /apps/gnome-power-manager/can_hibernate false # gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type boolean --set /apps/gnome-power-manager/can_suspend false
Joel Cohen is an Emmy award-winning writer and associate producer of The Simpsons. He’s also a keynote speaker at the Red Hat Summit this June. Enjoy this sneak preview of Joel, and then join us in Boston to hear more from him about The Simpsons and keeping innovation alive for 420 episodes over two decades.
The Simpsons has been on for 20 years now. What does the team do to keep creativity alive for that long?
I look forward to talking about this more at the Summit, but basically it is a lot of brainstorming, building on ideas, constantly pushing ourselves to find new, previously un-mined veins for stories and jokes, and shamelessly ripping off other people’s ideas (somehow this last one is the easiest).
How did you wander from a career in sales to writing for The Simpsons and other shows and movies?
A question my parents have asked me repeatedly, although when they ask, they are more sneering and judgmental.
Mark Cox, security guru and star of our recent video series, posts his yearly, official risk report, a comprehensive evaluation of the metrics, vulnerabilities, and best practices surrounding Red Hat Enterprise Linux 4 security. Did you know he also writes other updates? We didn’t either, until he emailed us to share a link to this six-month update, posted on his blog: 26 May 2008: Enterprise Linux 5.1 to 5.2 risk report. Enjoy, and thanks to Mark for sharing it with us.
We also wanted to pass along what’s up with on another voice that’s been quiet of late–former Fedora Project Leader Max Spevack. His travels have landed him in his new home/office, but this week he’s off at LinuxTag. You can follow his adventures in Germany at his blog, and see pictures of the event here or here. (He promises to post some pictures later.)
And if you’re ever curious about what many of our developers, Fedora project members, and other assorted geeky friends are up to? Add planet.fedoraproject.org to your blogroll. You won’t be sorry.
To find the label of a partition, use this command:
# blkid -s LABEL /dev/<partition>
Replace <partition> with the name of the swap partition.
This command will also work with any other type of partition
Fedora 9 was released last week, and in the wake of it, the Internet has been full of reviews. What’s even more exciting is that the vast majority of the reviews have been overwhelmingly positive. So to celebrate the release, the hard work of all the contributors, and the fantastic welcome that it’s received, we thought we’d share some of the best of the reviews with you. » Read more
One of the joys of software development is the ease with which you can create complex stuff out of thin air–or your own imagination. Creating new software may fulfill a need that could not otherwise be met. However, you can take advantage of a standardized way of doing things, so that you don’t have to start from scratch every single time. In the case of infrastructure software, using an established standard enables you to concentrate on your specific business needs, and not the supporting systems.
The seed of this article is actually a comment on the first article[1] in this series. In that first article, I described middleware as though it were plumbing. I chose to use this analogy as the term “middleware” is often misunderstood. My rationale for the plumbing analogy was that plumbing and middleware share these characteristics:
First, it’s mostly invisible. Second, it provides a standard way of doing things. Third, it ties together parts of complex systems. Fourth, and finally, it lets you worry about other things. » Read more
No, the fence_apc script requires that the admin user (typically called apc) be used for fencing. Regular users have a different menu interface than the admin user and the fencing agent is incompatible with this interface.
To avoid exposing the admin password in the cluster configuration file, a password script can be used. This script needs execute permissions for root only preventing others from reading or executing it. The script can be as simple as:
#!/bin/bash echo "mypassword"
Once it is in place, use system-config-cluster or Conga to edit the fence device properties. There is an option to specify a password script instead of the clear text password.
Missed JavaOne, but wish you could have seen the presentations? They’re now available online.