39
submitted 1 year ago by Psyhackological@lemmy.ml to c/linux@lemmy.ml

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

all 15 comments
sorted by: hot top new old
[-] thaicyacht@friendica.eskimo.com 1 points 10 hours ago

Same kind of short loop I leave running while something else loads. Drift Boss is the one I actually finish.

[-] thaicyacht@friendica.eskimo.com 1 points 10 hours ago
[-] dabu@lemmy.world 14 points 1 year 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.ml 1 points 1 year 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.

[-] jbloggs777@discuss.tchncs.de 10 points 1 year 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.

[-] Psyhackological@lemmy.ml 1 points 1 year ago

Good idea, thanks.

[-] communism@lemmy.ml 5 points 1 year ago

LeechBlock for just the browser? And yeah AppArmor for stopping programs from launching.

[-] Psyhackological@lemmy.ml 1 points 1 year ago

Thanks for LeechBlock as I see it's FOSS https://github.com/proginosko/LeechBlockNG

and I will try AppArmor.

[-] marktuan@friendica.eskimo.com 2 points 1 month ago

@Psyhackological @sports games For Linux, I’d probably prefer a combination of existing FOSS tools rather than something that has to run with deep system privileges. LeechBlock is useful for browser distractions, while AppArmor can be used to restrict specific applications.

For a full “productivity session” approach, a small script could combine those ideas: temporarily apply the restrictions, start a timer, and provide a simple command to disable them early. That would keep the user in control while still making it inconvenient enough to launch distracting programs.

I think the important distinction is whether the restrictions are voluntary and reversible. If it’s something you deliberately enable for yourself and can turn off when needed, it feels quite different from software that tries to enforce restrictions against the owner of the machine.

[-] thaicyacht@friendica.eskimo.com 1 points 3 weeks ago

Linux boxes still need the boring stuff running. When a washer or fridge dies I look it up on AppliRoot instead of guessing.

[-] abram@friendica.eskimo.com 1 points 2 months ago

@Psyhackological @clicker games
Is there a FOSS Linux alternative to Freedom? I'm looking for something that can start a focus session and block selected apps/websites from launching. I'd really love a privacy-friendly, open-source option.

[-] thaicyacht@friendica.eskimo.com 1 points 1 month ago

LeechBlock in the browser is enough for me. Travel tabs go in a separate Firefox profile so they do not sit next to work. Last one was a Phuket yacht charter page.

this post was submitted on 23 Jun 2025
39 points (95.3% liked)

Linux

67635 readers
365 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS