Results 1 to 4 of 4

Thread: adding shutdown to the main menu

  1. #1
    Join Date
    Feb 2007
    Location
    Los Angeles, CA, USA
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    adding shutdown to the main menu

    hi-

    i miss having a shutdown button in the gnome main menu (not the menu bar). if you right click on the icon for gnome main menu and click "Edit Menus", it opens up alacarte and you can add/edit/delete menu items.

    i want to add the shutdown menu item. so, i click "Add Item". my question is, what is the command to open the shutdown window? the application that asks you if you want to shutdown or restart?

    thanks for your time!

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,187

    Re: adding shutdown to the main menu

    in a terminal type "gnome-session-save --help" or "man gnome-session-save", sorry i don't use gnome so can't remember the exact command to tell you.

  3. #3
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: adding shutdown to the main menu

    hi

    that's it i think ( i use it by myself )
    # aks for shutdown the system
    /usr/bin/gnome-session-save --shutdown-dialog

    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  4. #4
    Join Date
    Feb 2007
    Location
    Los Angeles, CA, USA
    Beans
    188
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: adding shutdown to the main menu

    Perfect! Thank you both!

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
  •