This app just starts some productivity session while forbidding some programs from starting. Is there a Linux and most importantly FOSS version of it?

  • ThyTTY@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    1 month ago

    I do not know any program like that but what worked for me was creating another user account that had no access to lots of stuff.

    • Psyhackological@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      Yeah that’s idea but it will also lose some of the setup that I have right now. I wonder how hard it would he to tell the kernel not to spawn anything during session time.

      • Joe@discuss.tchncs.de
        link
        fedilink
        arrow-up
        10
        ·
        1 month ago

        With apparmor, you could enable and disable profiles that could restrict access to files and paths by name.

        For network traffic, it’s possible to use dnsmasq to blacklist or whitelist some domains.