Keeping the Focus
Reading information in Linux is a pleasure. There are no distractions. No auto-play videos, no splash pages begging me to click banners, no Chrome browser to take forever to load. With time, as I transitions to use Hugo and Org-mode to create my blog, writing has become a pleasure too. I didn’t achieve this distraction-free environment in one day, many changes slowly “grew” on their on. If you’re guessing Emacs has something to do with this, you’re totally right.
EWW: my writing companion
Emacs Web Wowser (Emacs' built-in browser) has earned a permanent spot in my writing process. When I started using Emacs and stumbled unto it by mistake I didn’t consider it to be much more of a joke, but today, the distraction-free environment and speed it brings are very welcome when I need to quickly search a misspelled word or link something quickly from Wikipedia - like the link you see above.
M-x eww is all it takes. Because it uses Duck Duck Go by default, it’s easy to use bangs (and again, I just used EWW for this link) to quickly look up answers from Wikipedia, IMDB, etc.
Another nice feature of EWW is that it completely clears web history1 when you close it (kill the buffer). It’s nice to have this feature on by design, reminding you that if you want to remember where you’ve been, you should use bookmarks (which it has too, as easy as pressing
b to capture one and
B (capital) to view what you have saved - and not count on Google to auto-complete what you want for you and remember all these references forever, weather you like it or not.
Elfeed: let’s read the important stuff (org, blogs)
Elfeed has been a part of my Emacs setup since June. Not only Elfeed contains RSS feeds from specific sources I choose to follow instead of some algorithm, I also have to specify what kind of “exposure” to updates I want before I can read: Do I want the news from the last 2 days? View only org-mode related updates? Maybe sit back and watch my favorite photographers' latest videos on YouTube?
Almost every time I read through my sources on Elfeed I end up participating in a discussion, rather it’s a comment on a blog or an answer to someone on Reddit. RSS feeds are unfortunately declining since all the “cool kids” don’t need them, but I definitely enjoy using these as long as I can.
KeePass Instead of Firefox
KeePass is a Password Manager. Firefox is a web browser. Huh?
Unlike LastPass, my long-time password manager from Chrome days, KeePass is a stand alone app. At work, where I still use LastPass, I need to open Chrome first and then log into LastPass. By the time Chrome loads and shows me the start page, I’m already distracted. Turns out that launching a browser from within KeepPass is much more purposeful2.
I removed the Firefox icon from my Panel on Debian a week ago to see how I’ll manage without my habit of launching Firefox as soon as I fire up the VM. You know what? It worked better than expected. Between EWW for focused reading and accessing websites that do need Firefox directly from KeePass, Each website visit is more purposeful. I have to think of what I want exactly, find it in KeePass, and then lunch it. It might sound trivial, but many websites display a “what’s hot” sort of welcome screen before you log in, and launching a website through KeePass bypasses this psychological trap.
While EWW removes your browsing history, Emacs save URL cookies in cookies-url, which is nested inside the Emacs folder.
If you want to clear that, I found that you can delete this file without affecting Emacs' function. [2021-07-30 Fri] There’s a better way to have Emacs take care of cookies automatically, as Alex Schroeder (@email@example.com) showed me. Because of the format of this paragraph, I can’t paste the code here without doing some hacking, so I will point directly to his code. Take a look! It works well. ↩︎
KeePass deserves its own post. It has features that set it apart from other password managers I appreciate. Once fully integrated with Firefox (it’s a process to set it up), launching a website from KeePass is easy: search for the entry in the database and hit ctrl+alt+U. Because Firefox is linked to it, the user name and password are just a click away. ↩︎