Samba is a collection of programs that form a file server for Linux. It's dead-easy to setup and get going with, and is very fast. I use it for a variety of things, but its killer application for me was accessing my music collection. I recently moved from NFS to Samba to share around 500 gigs of tunes, and what was a mediocre solution turned into something that I can't tell isn't on my local disk. It's great.
Anyone who's used Linux on a laptop has likely encountered some less than ideal trackpad behavior. For instance, I lived with what appeared to be a random pasting problem for months before discovering that it to be a middle mouse button 'feature'. I'm sure that in some cases calling it a feature is warranted - but I found it infuriating. Some times edits before committing get a little too large - and when that coincides with having accidentally pasted a semi colon into a large file with lots of other edits, hair pulling ensues. As with most things, once we understand the problem, the fix is simple!
In this tutorial, we'll cover how to create an encrypted container on Linux. We'll also cover how to integrate its use into your environment. You can think of this space as a safe, which you can open, store things in or read things from, and then close again. Additionally, some of the techniques used to do this are generally quite valuable. Among them are the ability to create files of arbitrary sizes, and create links that allow arbitrary scripts to be run as you would any other installed program.
Sometimes you're lucky enough to have access to an extra monitor. If you're using i3, or any other desktop interface that doesn't have a gui or some simplified means for display management, setting up that second monitor might be something of a challenge. In this brief tutorial, we'll cover how to set up and use multiple monitors with i3. We'll use xrandr
and i3-msg
to orient our displays and place the workspaces we want on whatever monitor we want.
Today we'll cover how to use the dbus interprocess communication (IPC) mechanism to integrate the Clementine music player into i3status. We'll write a small script in Python that determines Clementine's state using the dbus library, and then appends that state to the i3status bar. This tutorial is really a corollary to the Linux Environment Setup 0x05: Integrating mpd into i3status using i3bar post we wrote a few months back, and will make use of some of the same code. Save swapping mpd for Clementine, the final result will be nearly identical: