• Katana314@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 hours ago

    My mouse escaped the window, so I changed the launch options:

    gamescope --force-grab-cursor -w (monitorwidth) -h (monitorheight) %command%

    I kinda wish gamescope had a good option to skip that w,h, but no one’s told me about one yet.

    • Hazzard@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 hours ago

      Hmm, you could try using scopebuddy, which comes included with Bazzite. You can include any config options in there if you want, but specifically it supports options for automatically configuring width and height, and you can add more arguments as well. Final command here might look like:

      scb --force-grab-cursor %command%
      

      I also use a lot of custom configs, for example I’m tinkering with Wayland atm, but keep a gamescope config I use like this:

      SCB_CONF="gamescope.conf" scb %command%
      

      The shorter syntax is really nice, and it’s nice to be able to tweak a bunch of global options like PROTON_WAYLAND and PROTON_ENABLE_HDR without having to manage huge commands in Steam.