Results 1 to 7 of 7

Thread: Add shutdown icon to Gnome Panel

  1. #1
    Join Date
    Jun 2009
    Beans
    2

    Add shutdown icon to Gnome Panel

    Hi there, I just installed Ubuntu 9.04 and now I'm trying to customize the Gnome Panel. What I'm trying to achieve is: I want to add an icon to that bar which shuts down the computer at once. How do I do that???

    If I right-click on the panel and choose "Add to panel..." I can add a shutdown icon, but that button opens another window which lets me choose whether to shut down or restart the computer. That's not what I want. I'd also like to change the icon to this red button with the white circle in it. (The one that is used for the "logoff" button by default.) I hope you can help me with that, since I'm scouring Google for an answer for about an hour now... and I'm quite desperate... Thanks in advance.

  2. #2
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Add shutdown icon to Gnome Panel

    Right click the panel, and then "Add to Panel"

    Search for "Shut Down" and drag it to your panel.

  3. #3
    Join Date
    May 2007
    Location
    Bolton, UK
    Beans
    668
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Add shutdown icon to Gnome Panel

    You probably won't get something like that by default, you'd have to make your own. It'd be a bit of a pain if a user added a button to their panel, and then accidentally hit it while doing something.

  4. #4
    Join Date
    Jun 2009
    Beans
    2

    Re: Add shutdown icon to Gnome Panel

    Ok, I can accept that it cannot be done easily. However, I'd still like to change the icon. Can you help me with that? I'd like to have that red logoff icon instead of the default gray one. Neither can I find the corresponding file, nor can I figure out how to change the image. Why is that so complicated? When I add a custom application launcher to the panel, he lets me choose an icon.

  5. #5
    Join Date
    May 2007
    Location
    Bolton, UK
    Beans
    668
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: Add shutdown icon to Gnome Panel

    You'd probably need to go through the source, or at least find the filename of the icon to be able to change it.

    Or, you could try another icon set.

  6. #6
    Join Date
    Sep 2006
    Beans
    3,170
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Add shutdown icon to Gnome Panel

    add a custom application launcher to the panel and for command write this :

    shutdown -rh now

    HOWEVER you may need to deal with sudoers to get the permissions for shutdown command.

  7. #7
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,004
    Distro
    Ubuntu Development Release

    Re: Add shutdown icon to Gnome Panel

    There is a really nice shutdown icon in this set. Dark gradient red.
    http://ubuntuforums.org/showthread.php?t=1108045

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •