Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bottles doesn't inhibit screen sleep in gnome #3353

Open
AlawamiAZ opened this issue Apr 26, 2024 · 1 comment
Open

[Bug]: Bottles doesn't inhibit screen sleep in gnome #3353

AlawamiAZ opened this issue Apr 26, 2024 · 1 comment

Comments

@AlawamiAZ
Copy link

AlawamiAZ commented Apr 26, 2024

Describe the bug

running games using bottles, it doesn't inhibit screen sleeping/blanking.

Other launchers like steam, heroic both inhibit screen sleeping/blanking of gnome, as observed using watch -n 0.1 gnome-session-inhibit -l.

To Reproduce

  1. On gnome DE
  2. run watch -n 0.1 gnome-session-inhibit -l to observe inhibitors
  3. run any game
  4. the screen goes to sleep when not using mouse/kb, so it sleeps when using controller.

Package

Flatpak from Flathub

Distribution

Fedora 40

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-550-67/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.8.7-300.fc40.x86_64
Disk:
    Total: 8339816448
    Free: 8339636224
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 9.3GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

@billbeans
Copy link

this isnt really bottles' job. it's more of a failure of your distribution/the linux kernel for not inhibiting sleep from gamepad input. i had this problem with other software myself, so i installed this python program to make my gamepad inputs inhibit sleep:

https://github.com/foresto/joystickwake

if Bottles inhibited system sleep that would be bad, in my opinion, because then it would indiscriminately leave the screen on forever, even if youre away from your keyboard for an extended period of time. using something like joystickwake is better, imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants