Categories
tech

Openbox scaling for HiDPI displays

I recently switched to a laptop with a 16:10 QHD display (popularized as Retina by a certain company), and I faced a problem that I had been fearing for a while – scaling on X11/Openbox. Specifically, I really didn’t want to switch to anything Wayland, GNOME and/or KDE related – not because I have anything against them, but because I’m too old and don’t want to. I have been using Openbox (and some version of the same configuration files) for 10+ years, longer than my current Linux distribution, so you can say that there is some attachment involved.

Searching online does not yield any helpful guides or tips, and while there is a detailed article on HiDPI displays on the Arch Wiki, it doesn’t go into any detail on the less popular window managers out there. There is, in fact, a singular grain of gold, but it is well hidden under a section cryptically titled “X Resources”:

If you are not using a desktop environment such as KDE, Xfce, or other that manipulates the X settings for you, you can set the desired DPI setting manually via the Xft.dpi variable in Xresources:

Xft.dpi: 192

After half an hour messing around with fonts for individual applications, it turned out that this was the only setting that had to be changed. Of course, there will always be that app that does not care about your system-wide configuration (looking at you, tint2), but 95% of the work was handled by that change.

Categories
seen, read

Seen, read 2021

Inspired by Soderbergh’s annual list of “seen, read,” and with the help of almost two full months of journaling (sigh), Goodreads and the Netflix’ viewing history (there will be some misplaced but memorable mentions at the end):

All caps, bold: MOVIE, All caps: TV SERIES, Italics: Book, Quotation marks: “Video game”

Disclaimer: a lot of the movies are rewatches and a lot of the books are rereads (signified with * when remembered) but worst of all, a lot of the shows are just really crappy dating reality TV.

January
1.1 – JOHNNY MNEMONIC* (1995), BLACK SPOT S01 (dnf)
2.1 – VIRGIN RIVER S01 (a very “hallmark movie” series)
4.1 – VIRGIN RIVER S01 (dnf)
5.1 – ‘watched first episodes of really bad shows’ (author doesn’t say which ones)
10.1 – finished S01 of THE EXPANSE
12.1 – Всеобща история на безчестието
14.1 – The League of Extraordinary Gentlemen, Vol. 1 & Vol. 2
17.1 – finished “Overcooked”
23.1 – “Shadow of the Colossus” – beat two colossi
24.1 – ‘bought new PC in a shady parking lot’ (lol)
27.1 – finished “Sleeping Dogs”, S04 of THE EXPANSE

February
1.2 – ‘jammed with Valyo – wrote a song!’
4.2 – finished S05 of THE EXPANSE
10.2 – started reading about PROLOG
13-14.2 – ‘extended “Stardew Valley” weekend’, PROMETHEUS* (2012), ‘spoke w/ dad’
15.2 – finished S02 of MANDALORIAN
16.2 – DUNGEONS AND DRAGONS (2000) (with RLM commentary)
18.2 – finished S01 of ARE YOU THE ONE; some TNG S03
19.2 – finished S02 of ARE YOU THE ONE
20-21.2 – “Stardew Valley” weekend, COLLATERAL* (2004)

March
2-6.3 – THE CIRCLE S01
17.3 – V for Vendetta
19.3 – V FOR VENDETTA* (2005)
26.3 – Swamp Thing, Vol. 1: Saga of the Swamp Thing

April
6.4 – THE SERPENT (dnf)
13.4 – TNG S03
26-28.4 – THE CIRCLE S02

May
7.5 – MISSION: IMPOSSIBLE – ROGUE NATION* (2015)
14.5 – TNG S03
15.5 – WOMAN IN THE WINDOW (2021), STOWAWAY (2021)
16-17.5 – TNG S03
18-21.5 – THE CIRCLE S02, TNG S03, ARMY OF THE DEAD (2021)
23-27.5 – THE CIRCLE FRANCE

June
2.6 – TNG S03 (finished)
4-12.6 – TNG S04
26.6 – THE CHRONICLES OF RIDDICK* (2004)
27-28.6 – TNG S04

July
3-7.7 – TNG S04
12.7 – INFERNAL AFFAIRS (2002)
15-22.7 – TNG S04 (finished)
23-27.7 – TNG S05
28.7 – LOVE IS BLIND S01 AFTER THE ALTAR
29-31.7 – TNG S05

August
5.8 – Философията. Едно много кратко въведение (did not finish – horrible automated translation)
17.8 – Snow Crash
23.8 – Farewell, My Lovely
1-23.8 – TNG S05 (finished)
26.8 – The Lady in the Lake
24-30.8 – TNG S06

September
5.9 – SE7EN* (1995)
6.9 – TNG S06
8-11.9 – THE CIRCLE S03
13.9 – KATE (2021), The Big Sleep
15.9 – THE CIRCLE S03
17.9 – THE GAME* (1997)
19.9 – TNG S06
20.9 – CLICKBAIT
21-24.9 – THE CIRCLE S03
24-25.9 – CLICKBAIT
26-29.9 – MIDNIGHT MASS
29.9 – THE CIRCLE S03 (finished)
30.9 – MIDNIGHT MASS, BRITNEY VS SPEARS (2021)

October
2.10 – DEATH BECOMES HER (1992)
4.10 – MIDNIGHT MASS (finished)
5.10 – THE GUILTY (2021)
6.10 – THE FALL S01 (dnf)
6-7.10 – MARCELLA S01
8.10 – NORM MACDONALD HAS A SHOW
10.10 – MARCELLA S01 (finished)
11.10 – MARCELLA S02 (dnf), Batman: The Man Who Laughs
13.10 – HUSH (2016)
14-17.10 – DIRTY JOHN S01 (finished)
17.10 – GHOSTBUSTERS 2* (1989) (dnf)
19-20.10 – MY NAME (finished)
20.10 – AD ASTRA (2019) (dnf), SCARY MOVIE 2* (2001) (dnf), EXTRACTION (2020), TNG S06
21.10 – THE TRIP (2021), TNG S06
26.10 – THE BIG SLEEP (1946)
26-28.10 – COWBOY BEBOP

November
2.11 – CRIMSON FORCE (2005)
4.11 – HYPNOTIC (2021)
9.11 – Virtual Light
11.11 – LOVE HARD (2021) (recognized Nina Dobrev after only knowing her from THE Vampire Diaries Video, which is much better than this movie btw)
12.11 – RED NOTICE (2021)
16.11 – Идору*
15-17.11 – MIDNIGHT DINER S01
18-19.11 – BEHIND HER EYES (dnf)
20-21.11 – COWBOY BEBOP (live action)
21-22.11 – HYPERDRIVE (dnf)
22.11 – COWBOY BEBOP (live action, dnf)
27.11 – SELLING SUNSET S04 (dnf), BRUISED (2020)
29.11 – TNG S06
30.11 – MIDNIGHT DINER S01

December
1.12 – MIDNIGHT DINER S01
3.12 – L.A. CONFIDENTIAL* (1997)
4-5.12 – LOCKE & KEY S01 (dnf)
6.12 – CHINATOWN* (1974)
7.12 – All Tomorrow’s Parties
8.12 – THE PELICAN BRIEF* (1993)
8.12 – GONE BABY GONE* (2007)
19.12 – SELLING TAMPA S01 (dnf)
28-29.12 – THE SILENT SEA S01 (dnf)

Various media that cannot be accurately dated

  • Saw DUNE (2021) in IMAX (likely in November).
  • Saw MANHUNTER (1986), THIEF (1981), SONATINE (1993), VIOLENT COP (1989), HARD BOILED* (1992), BOSS LEVEL (2020), THE TOMORROW WAR (2021), NO TIME TO DIE (2021), AMERICAN MOVIE (1999) & probably others at home. I am pretty sure that we also saw all MISSION: IMPOSSIBLE* movies this year, but Netflix only remembers the last one.
  • Video games: played a bunch of “Chrono Trigger” (SNES), “Parasite Eve” (PS1), “The Last Of Us Remastered” (PS4), “Horizon: Zero Dawn” (PS4), “TIS-100” (PC), but did not finish (would love to, eventually). Played and finished “GTA V” (PS4), “C&C: Red Alert 2″* (PC), “Grim Fandango Remastered” (PC), “The Curse of Monkey Island”* (PC) and “Beneath a Steel Sky” (PC). Spent a lot of hours in “Stardew Valley” (PC, PS4) and “Gang Beasts” (PS4) with lovely friends.
  • Board games: got to play one! session of “Symbaroum” RPG live and in person, and got in a few “regular” board games as well (notably: Concordia, Root, one game of Oath).
  • Started watching SUCCESSION in December, and have probably watched at least some of SOPRANOS S03 & S04 throughout the year, but unlike Netflix, HBO GO doesn’t have detailed viewing history.
  • I will likely keep adding to this list as I (mis)remember more.