linux

Map Wacom tablet to a single display

How to map a graphics tablet to a single display in a multi-monitor setup in Linux

2 minute read

Wacom Intuos graphics tablet

I have a Wacom Intuos graphics tablet for my occasional drawing and signing. By default, the tablet area is mapped to the whole screen area, making it almost unusable if you are using two or more monitors, as your drawing application of choice (Krita in my case) usually resides in one display only. Well, turns out there’s a very easy way to map the tablet to a single display in Linux with xinput.

NAS review: QNAP TS-351-2G

I got myself a QNAP TS-351-2G NAS a year ago, here is my review

5 minute read

A little over a year ago, in January 2020, I got myself a QNAP TS-351-2G 3-bay NAS in order to store all of my and my family’s data in a failsafe RAID configuration. I opted for the somewhat unconventional 3-bay setup in an attempt to trade off limited physical space at home with storage capacity. I don’t have much space in my living room for a big NAS, and the 2-bay options, albeit being very compact, are limited to RAID-1, where half of the space is used for storage and the other half is used for redundancy protection (data is basically mirrored on the second drive). In QNAP’s website there are three 3-bay Home options: the entry-level TS-332X, the middle-range TS-328 and the high-end TS-351. So I thought to myself, “I’m getting the high-end unit, how bad can it be?”. Well, now that I have been using this NAS for a year I think I can answer this question.

Transmission, a CLI torrent manager

How to use transmission from CLI and remotely

3 minute read

Pirate

At home, I have a scrawny HTPC called chimp in my living room connected to the TV –as I don’t own a Smart TV for good reasons–. Even though I have a NAS in the network capable of serving media, I connected a dedicated external disk directly to chimp because my stock router is not the fastest around. Whenever I use the HTPC, I use it remotely from either my desktop, bonobo, or my laptop, simian. Sometimes I need to fetch torrents and download them to the disk connected to the HTPC. Enter Transmission. Transmission is a somewhat popular BitTorrent client that includes a ‘hidden’ command line interface which is very, very useful and simple to use. Learn to use it and you will probably never want to open a GUI torrent client ever again.

A few words about MPD

MPD is the superior way to access your music library

3 minute read

I remember many years ago, when I was a Windows user, and even later after I made the switch to Linux, I always struggled to find the perfect music player that would fit my needs perfectly. From time to time I would fantasize about programming my own little, perfect, shiny music player program that would fit my needs perfectly like Cinderella’s shoe. But I was nowhere near naïve enough to actually start the project, let alone finish it. I know how much time and effort it would take. Then I discovered mpd (Music Player Daemon).

Learning ncurses

Implementing a snake game in the terminal

6 minute read

tsnake, a snake game in the terminal

Lately, I have been kicking the dust off my C++ skills, and decided to start by learning to use a library which I have been eyeing for a while, ncurses. ncurses is a C library which lets you create text-based UI programs for the terminal, in the same fashion as the gif above. Basically, you can use the terminal to implement text-based user interfaces. Since I seem to have an obsession with snake games, I figured I’d create a snake game for the terminal.

All content on this site is licensed CC-BY 4.0. Icons by Fork Awesome (SIL OFL 1.1)