TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to force yourself to leave the computer using the leave command

77 pointsby stefanjudisover 4 years ago

4 comments

s_gourichonover 4 years ago
Long story short, this is related to keeping focus when you&#x27;re working as a freelancer, with the same laptop used for work and personal life.<p>There&#x27;s a simple solution that has been working well for me for years: have 2 local accounts on the machine, with everything separated, even different visual themes (like, bright for personal time, grey for professional time), and a different base color, e.g. blue and green.<p>On principle the pro account has no login on any of the websites where I have a personal account and vice versa. Same for e-mails.<p>That way, when on the pro account, no personal notification, only professional stuff, and vice versa. Has been helping me being concentrating on pro stuff for the last 4 years.<p>To be precise, the separation is not totally strict, but it does not have to be 100% to be effective. Visual theme and only relevant notifications make a big part of the benefit.
评论 #25168935 未加载
评论 #25168908 未加载
评论 #25169873 未加载
评论 #25169387 未加载
ineedasernameover 4 years ago
I&#x27;d like something I could use to lock me out of everything but a whitelisted set of programs &amp; websites for a set period of time.<p>I can&#x27;t tell you what a relief it would be to have little choice but to focus on work tasks instead of get distracted.<p>Sure, I would need to have the key to the lock in case I really needed it, but it would need to be something mildly time consuming, like answering a set of relatively simple math problems that would still take a few minutes to do them all even with a calculator, to stop casual alt-tab to random distractions.
评论 #25168593 未加载
评论 #25168568 未加载
评论 #25168518 未加载
评论 #25170142 未加载
评论 #25169629 未加载
评论 #25169248 未加载
评论 #25168785 未加载
t0astbreadover 4 years ago
Not exactly the same use case but there&#x27;s also `at` for generic one-time scheduling. For example, to send a notification at a specific time you can use:<p><pre><code> echo &quot;notify-send &#x27;Tea is ready&#x27;&quot; | at 15:30 </code></pre> To view and edit your currently scheduled jobs there are `atq` and `atrm`.
p1mrxover 4 years ago
If only I had somewhere else to go.