Category: Linux
Jul 20, 2021

先週末、486のPCを買いました。この頃、486プロセッサを搭載したコンピュータは希少です。たぶんのを見たことがありません。とても古いです。

古いコンピュターが大好きです。若すぎて486を使うことができませんでした、でも私の一番台x86のコンピュターはPentiumでした。けれども押し入れで父の286と386と486がありました。

Cyrixの486DX2とマザーボード

いくつか眠れなかった夜はのを出しました。ぜんぜん分かりませんでした。ヒントが与えませんでした。12歳に486を使うことが大変でした。けれども、いま大人です。もう一度やりたい。

見つけるには簡単じゃなかったです。私の町でいたるところを探しました、でもみんなとすべての店は古いコンピュターをレサイクルします。シアトルのリサイクルショップに行きました。

シアトルのリサイクルショップ、RE・PC

ところが、一台がありませんでした、でも2つのマザーボードとシーピーユーがありました! 家に一つを持って来ました。ほか古くてランダムなパーツにもたくさん買いました!

猫はコンピューターの修理のが上手です。

いまパーツが足りません。電源回路がありません。PCケースは非対応。リボンケーブルは新しくて過ぎます。いくつかのパーツが駄目かもね。

取り合わせるのときに、また書きます。


Apologies, I am learning Japanese and figured some less interesting projects could make good writing prompts for practice. すみません。書きます、でもまだ上手じゃありません。

Jun 12, 2020

My cat Lenora is constantly blocking my screen. I swear it’s a game to her. She’s exceptionally skilled at moving in front of whichever monitor I’m trying to look at, even if I move windows to different monitors.

To get around this I use a couple of very simple bash scripts I’ve linked to keyboard shortcuts. One rolls the active window up to a narrow band on my monitor that’s higher up than she can block, and the other rolls it back down again once she gives up.

cat blocking the screen

If you have Linux and cats in your life, you can do the same! I’ll gloss over the Ubuntu way here, but it’s almost the same with any distro.

The Scripts

First, install wmctrl with sudo apt install wmctrl, then create the following scripts somewhere. Edit HEIGHT to equal the approximate pixels between the top of your monitor and the top of your cat.

#!/bin/bash
HEIGHT=500

# remove active window's vertical maximization property
wmctrl -r :ACTIVE: -b remove,maximized_vert
# resize active window, ignoring everything but height
wmctrl -r :ACTIVE: -e 0,-1,-1,-1,$HEIGHT
#!/bin/bash

# restore active window's vertical maximization
wmctrl -r :ACTIVE: -b add,maximized_vert

Next, with those scripts saved, make them each executable with chmod +x <path to script>.

Last, add two custom keyboard shortcuts under your operating system’s settings. Name them anything and point them at the scripts you saved as their action. For the shortcuts themselves, I like to use Alt+Page Up and Alt+Page Down, but you can use anything.

keyboard shortcuts dialog window

Now if only there could be a Bash script to make my headset look less like a chew toy.

Lenora chewing on a microphone
Feb 20, 2019

The Wacom Intuos is a common tablet used for creating digital artwork and vector drawings. It works surprisingly well on newer Ubuntu machines using built-in drivers and xsetwacom–perhaps even easier than on Windows, where support for the factory software can be lacking (Windows 7) or somewhat difficult to install (Windows 10). xsetwacom scaling and multiple […]

Continue reading...
Jul 21, 2018

Update: Please be aware these instructions are very old. This method worked great in 2018, but I haven’t had a Chromebook in years now and can’t guarantee this is still how the install works. Please verify with other, newer sources. Thanks! This post covers installation and usage impressions of GalliumOS on the Dell Chromebook 11 […]

Continue reading...
Fork me on GitHub