Skip to content

Clicking Setup → Power profile closes the Omarchy menu and prevents it from reopening #704

Closed

Description

@EhsanulHaqueSiam

When I open the Omarchy menu, navigate to Setup → Power profile, and click Power profile, the menu immediately closes and Omarchy cannot be opened again until I restart the walker process or my session.

Activity

  1. changed the title [-]Clicking Setup → Power option closes the Omarchy menu and prevents it from reopening[/-] [+]Clicking Setup → Power profile closes the Omarchy menu and prevents it from reopening[/+] on Aug 12, 2025
  2. dhh commented on Aug 12, 2025

    @dhh
    Contributor

    Can you run pgrep walker and see if there's more than one process? If so, then pkill walker, and see if it works now. If it does, try to see if you can replicate that walker gets multiple processes every time.

    What computer?

  3. EhsanulHaqueSiam commented on Aug 12, 2025

    @EhsanulHaqueSiam
    Author

    I checked and found 4 walker processes running in Activity. If I pkill walker, it fixes the issue and I can open the Omarchy menu again.

    When I click Power profile after killing the walker process, the menu stays open but the Power profile screen is empty — just a search field, no options.

    If I restart my computer and then go to Omarchy → Setup → Power profile, it closes immediately again. Killing the walker process makes it stop closing, but still shows the empty menu in the power profile.

    I’m on a Lenovo Legion Slim i5 laptop.

    Hardware:

    • PC Model: Lenovo Legion Slim 5 16IRH8 (82YA)
    • CPU: 13th Gen Intel(R) Core(TM) i7-13700H
    • GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile
    • GPU 2: Intel Iris Xe Graphics @ 1.50 GHz
    • Display: 2560×1600 @ 165 Hz (running at 1602×1001)
    • Disk 1: 176.74 GiB / 194.81 GiB used (ext4)
    • Disk 2: 1.40 TiB / 1.82 TiB used (exFAT)
    • RAM: 6.27 GiB / 15.34 GiB used
    • Swap: 224 KiB / 4.00 GiB used

    Software:

    • OS: Arch Linux x86_64
    • Kernel: Linux 6.15.9-arch1-1
    • Installed packages: 1123 (pacman)
    • Shell: bash 5.3.3
    • Omarchy: v1.13.0
    • WM: Hyprland 0.50.1 (Wayland)
    • Theme: Adwaita
    • Terminal: Alacritty 0.15.1 (9 pt font)
  4. dhh commented on Aug 12, 2025

    @dhh
    Contributor

    Try running powerprofilesctl list in the terminal and see if that gives the right output.

  5. EhsanulHaqueSiam commented on Aug 12, 2025

    @EhsanulHaqueSiam
    Author

    I ran powerprofilesctl list and got this:
    Output:

    ~ ➜ powerprofilesctl list
      performance:
        CpuDriver:	intel_pstate
        Degraded:   no
    
      balanced:
        CpuDriver:	intel_pstate
        PlatformDriver:	placeholder
    
    * power-saver:
        CpuDriver:	intel_pstate
        PlatformDriver:	placeholder
    

    The active profile is power-saver. The PlatformDriver shows placeholder for balanced and power-saver — not sure if that’s normal for this laptop.

  6. dhh commented on Aug 12, 2025

    @dhh
    Contributor

    Now run omarchy-powerprofiles-list. I assume you're on latest Omarchy, yeah? omarchy-update if not.

  7. EhsanulHaqueSiam commented on Aug 12, 2025

    @EhsanulHaqueSiam
    Author
    Image

    I tested a bit more and found this behavior:

    1. Fresh reboot → Omarchy → Power profile:

      • Menu crashes immediately.
      • Need to pkill walker to reopen Omarchy.
    2. After pkill walker → Power profile:

      • Menu opens but is empty.
    3. If I run omarchy-powerprofiles-list in the terminal first → Power profile:

      • Menu shows the 3 profiles correctly.
    4. If I reboot, then run omarchy-powerprofiles-list before opening Power profile in menu:

      • Works fine on first try (no crash, shows 3 profiles).

    So it seems the act of running omarchy-powerprofiles-list in the terminal “initializes” something that prevents the crash and allows the profiles to appear in the UI.

    You can also see from the attached image that I’m on the latest Omarchy version.

  8. dhh commented on Aug 12, 2025

    @dhh
    Contributor

    Bizarre! Thanks for the detailed report. I'll try to see what we can do to work around this.

  9. abenz1267 commented on Aug 12, 2025

    @abenz1267
    Contributor

    whats the output of walker -v?

  10. EhsanulHaqueSiam commented on Aug 12, 2025

    @EhsanulHaqueSiam
    Author
    ~ ➜ walker -v
    Running Service: false
    0.13.25```
    
  11. erdostom commented on Aug 20, 2025

    @erdostom

    I have a similar bug -- starting power profile does nothing except making the Omarchy menu unresponsive until I kill waker manually

    running Omarchy v1.13.0 on a Framework 13

    powerprofilesctl list errors out:

    Traceback (most recent call last):
      File "/usr/bin/powerprofilesctl", line 8, in <module>
        from gi.repository import Gio, GLib
    ModuleNotFoundError: No module named 'gi'
    

    running pip install PyGObject fixed the issue

  12. inffy commented on Aug 20, 2025

    @inffy

    I have a similar bug -- starting power profile does nothing except making the Omarchy menu unresponsive until I kill waker manually

    running Omarchy v1.13.0 on a Framework 13

    powerprofilesctl list errors out:

    Traceback (most recent call last):
      File "/usr/bin/powerprofilesctl", line 8, in <module>
        from gi.repository import Gio, GLib
    ModuleNotFoundError: No module named 'gi'
    

    running pip install PyGObject fixed the issue

    Would be preferred to use pacman to install it.

  13. donovan-duplessis commented on Aug 20, 2025

    @donovan-duplessis

    I have a similar bug -- starting power profile does nothing except making the Omarchy menu unresponsive until I kill waker manually

    running Omarchy v1.13.0 on a Framework 13

    powerprofilesctl list errors out:

    Traceback (most recent call last):
      File "/usr/bin/powerprofilesctl", line 8, in <module>
        from gi.repository import Gio, GLib
    ModuleNotFoundError: No module named 'gi'
    

    running pip install PyGObject fixed the issue

    I was investigating this issue and mine is because I installed Python via Mise. It puts the Mise Python in front of the PATH. There are 2 possible fixes:

    1. One simple fix is to add this: export PATH=/usr/bin:$PATH to .bashrc so that it resolves the system Python first.

    2. Create a wrapper script, eg:

    cat ~/.local/bin/powerprofilesctl
    #!/bin/bash
    /usr/bin/python3 /usr/bin/powerprofilesctl "$@"
    

    @dhh I see this popping up in a few open issues.

    Regards,
    Donovan

  14. dhh commented on Aug 22, 2025

    @dhh
    Contributor

    We have fix for the missing PyGObject on default systems in the next version. But yes, we still do have a lingering conflict with uv/mise pythons. Like the idea of exploring a wrapper. We need something for tte too.

  15. alexandru-calinoiu commented on Sep 10, 2025

    @alexandru-calinoiu

    This still does not work and I've updated the the system already.

  16. dhh commented on Sep 10, 2025

    @dhh
    Contributor

    Try to run powerprofilesctl list and share what you see here.

  17. wardakla commented on Oct 4, 2025

    @wardakla

    Hi, I have the same issue. I can’t select the Power Profile — it always resets to Power Saver. How did you fix it, or did you manage to fix it at all?

  18. dhh commented on Oct 4, 2025

    @dhh
    Contributor

    You can use powerprofilesctl straight from the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions