[ Main ] [ Home ] [ Work ] [ Code ] [ Rants ] [ Readings ] [ Links ] |
[2024] [2023] [2022] [2021] [2020] [2019] [2018] December November October September August July June May April March February January [2017] [2016] [2015] [2014] [2013] [2012] [2011] [2010] [2009] [2008] [2007] [2006] [2005] [2004] [2003] |
[Mon Dec 31 12:01:37 CST 2018]Every once in a while, I like trying a different desktop environment or window manager to dislodge my old habits when using the GUI. I feel it's a good way to avoid mental fossilization. So, about a week ago or so, I started playing with the i3 window manager. So far, I'm quite impressed. It's an extremely minimalist environment. That's for sure. However, it's also highly customizable, it can be fully controlled from the keyboard, and it also makes it easier to concentrate on the task at hand. Altogether, I think it's a very good choice for advanced users. Aside from the excellent official documentation, you should probably also take a look at John Lozano's Configuring i3 page, which is also a very good resource. Now, I do have a couple of recommendations to make. First of all, if you have been using desktop files to launch applications in a previous desktop environment, you may want to switch from dmenu to i3-dmenu-desktop as an app launcher. It automatically detect all your desktop files config. Also, a major issue I ran into was that, right after switching to i3, my HP ZBook laptop would go into suspend mode after 10 minutes of inactivity or so. While I found these directions on how to configure systemd to prevent going into sleep mode, the thing is that it still didn't work as expected. In the end, this other answer from AskUbuntu provided the solution. Simply use the following commands to disable the screensaver and power management features: So far, that has been working nicely for me. {link to this entry}$ xset s off $ xset -dpms [Sat Dec 29 09:47:47 CST 2018]Not long ago, I ran this Firefox add-on that allowed me to quickly send a link to a URL from the browser using Gmail. For whatever reason, the add-on was discontinued, and it wasn't until now that I spent sometime searching around for a qay to accomplish the same thing using some other method. As it turned out, it is now an option built into Firefox itself. You can also customize your toolbar to add a mailto icon. {link to this entry} [Sat Dec 29 09:39:13 CST 2018]After spendig a few days on vacation, I returned to my computer today, launched mutt to connect to Office 365 and, when I exited the email client, it showed an error on the terminal that I had not seen before: A quick search turned up Debian bug 849762, as well as a solution. Simply running mutt with the following options fixes it:GPGME: CMS protocol not available In my case, I just added a new alias to my$ mutt -e "set crypt_use_gpgme=no" .bashrc to always run mutt with those options.
{link to this entry}
[Fri Dec 14 15:11:44 CST 2018]
In addition to what I wrote yesterday about tmux and GNU screen, it turned out that it's not true that [Thu Dec 13 13:11:22 CST 2018]
About a week or two ago, I noticed a conversation among coworkers about tmux that picqued my curiosity. I have been a long time screen user, but a few of the arguments (see, for example, this comparison) had me half-convinced, so I decided to give it a try. So, the last couple of days I've tried using tmux. However, I must say that, in the end, I had little choice but to return to "good old
GNU screen". Why? Well, the first issue I ran into was that, apparently, tmux ignores its own configuration file, even when one passes it as an argument using the In conclusion, sorry to say, but tmux doesn't feel stable enough and, at least in its current state, it would be more of a nuissance than anything else during my workday. GNU screen, on the other hand, may feel a bit outdated and definitely not "cool" enough, but it's rock-solid. To me, that's what matters. {link to this entry} [Wed Dec 12 19:07:05 CST 2018]
I have been playing with a very simple, small, light, and very fast browser called uzbl the last few days. Let's be clear. This is definitely not your mother's browser. It doesn't have any of the bells and whistles that most users depend on, and it's not the browser you should be using to view JavaScript-ridden websites. However, it is very functional and elegant in its simplicity. But, best of all, you can control it all using exclusively the keyboard. In any case, one of the issues I ran into while using it was that, for whatever reason, copying the URL to the clipboard using the keyboard shortcut recommended in the documentation didn't work. As it turned out, the problem was not so much with uzbl as with [Wed Dec 5 15:03:22 CST 2018]I was just wondering if there was a CLI application that I could run to stream music from an existing YouTube video (i.e., to play the audio only, without the video). An initial search returned things like youtube-dl that, although nice and all, appear to have a tendency to break easily. It didn't take long to discover that it's just as easy to use an existing application like mpv or MPlayer to do this. In my case, I opted for mpv, which you can run as follows: A simple bash alias made it easier to use it from the command prompt. {link to this entry}$ mpv --no-video <YouTube_URL> |