The code can be found by clicking here. Save it as mini95.c, then compile this with “gcc mini95.c -lX11 -o mini95”.

  • JubilantJaguar@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 days ago

    Yeah, thanks, been to all these places already,sleep included (except setsid in Wayland but I doubt that’s the crucial issue). And yes it does work, sort of - the problem is that the apps exit spontaneously at some point later - sometimes hours, sometimes days - which absolutely does not happen when I launch them in whatever “official” way. In the end I just gave up. Needing a sleep hack is a bit of a red flag after all.