A person, on the Gnome Issue, suggested that terminals inhibit sleep when there is stuff running in them.

Continuing from that discussion, I am trying to understand, at which point it would be desirable to implement said inhibition - terminal emulator, the shell or the program itself

Additionally:

  • We want to inhibit when running stuff like pacman, wget, cp or mv
  • We don’t want to inhibit when running stuff like htop, less, watch
  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    I remember writing a script that posted an X event 1x a minute for something like that. The event was probably simulating pressing the shift key.

    • ulterno@programming.devOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      15 hours ago

      It shouldn’t be required on systems that support the corresponding FDO spec, but I guess, that would be done when that was not implemented.