Skip to content

e6ad2020/power-menu-gs-extension

 
 

Repository files navigation

Power Menu Logo

Power Menu

A modern, interactive power dialogue for GNOME Shell.
Triggered with Alt + F4 on the desktop to manage Shutdown, Restart, Suspend, and Log Out.

Built with ❤️ for the GNOME community.


Features

  • Custom Keybinding: Overrides the default Alt+F4 to show the dialogue when no windows are open.
  • Modern UI: Clean, polished design that blends perfectly with GNOME Shell.
  • Customizable: Reorder or hide actions through the settings menu.
  • Interactive: Supports both keyboard navigation (arrows) and mouse interaction (hover & click).
  • Localized: Full support for Arabic, German, Brazilian Portuguese and English languages — see Supported Languages.
  • GNOME Ready: Compatible with GNOME versions 45 up to 50.

Screenshot

Power Menu Preview


Installation

Automatic Installation

  1. Install the extension from the GNOME Extensions website:

    Power Menu Extension

    Install on GNOME Shell

Manual Installation

  1. Clone the repository:

    git clone https://github.com/e6ad2020/power-menu-gs-extension.git
  2. Navigate to the directory:

    cd power-menu-gs-extension
  3. Install the extension:

    ./install.sh
  4. Restart GNOME Shell:

    • Wayland: Log out and log back in.
    • X11: Press Alt+F2, type r, and press Enter.
  5. Enable the extension using the Extensions app.


💡 Pro Tip: Faster Workflow

Since this extension triggers when no windows are focused (on the desktop), you can make it even faster by setting a shortcut to "Show Desktop":

  1. Set Super + D to hide all windows:
    gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Super>d']"
  2. Now you can simply press Super + D followed by Alt + F4 to access the power menu from anywhere!

Usage

  • Press Alt+F4 when no windows are active to trigger the dialogue.
  • Use Arrow Keys or Mouse to select an action.
  • Press Enter or Click to confirm.

License

This project is licensed under the MIT License. See the LICENSE file for details.


🌐 Supported Languages

Flag Language Locale Code
🇺🇸 English en
🇸🇦 Arabic ar
🇩🇪 German de
🇧🇷 Brazilian Portuguese pt_BR

➕ Adding a New Language

Want to see Power Menu in your language? Contributions are welcome!

  1. Copy translation_template.po and name it after your locale code (e.g. fr.po for French, es.po for Spanish).
  2. Fill in the msgstr "" fields with your translations.
  3. Update the Language and Language-Team fields in the file header.
  4. Place the file under power-menu@e6ad2020/po/.
  5. Open a pull request with the title: feat: add <Language> translation — and you'll be credited in the Contributors list! 🎉

👥 Contributors

Thanks to everyone who helped make this extension better!

Eyad
Eyad

Maintainer
UI redesign · localization · prefs · icons · animations
PublisherName
PublisherName

Original Author
upstream fork · GNOME 48/49 support · dark mode fixes
Stubennerd
Stubennerd

Translator
🇩🇪 German
Izak A.
Izak A.

Translator
🇧🇷 Brazilian Portuguese

About

This GNOME Shell extension provides a custom keybinding for Alt+F4 to show a shutdown dialogue when no windows are open.

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 86.6%
  • Shell 10.0%
  • CSS 3.4%