Sunday, 13 September 2026

[CTWM] Fixing firefox's mouse offset bug in ctwm

Firefox under ctwm has a nasty bug: when in full-screen, the mouse position is a bit offset.

Clicking, marking text, etc., is a bit away from the actual cursor position.


One fix under ctwm is to disable window decorations for Firefox.

You will lose buttons like maximize, minimize, and close, but there is a great solution for this:


export MOZ_GTK_TITLEBAR_DECORATION=system

Dang... problem solved!!!
This happens because Firefox attempts to guess modern (crap) desktop environments, e.g., (Fisher-Price) GNOME or KDE (aka KBloat), and completely miscalculates the window geometry math when forced into a minimal X11 environment.

Even enabling USE_EWMH in your .ctwmrc doesn't always fix it.

The only minus is you wont have the same window decoration on firefox
but at least the most buttons and the border are there...


Happy browsing in ctwm!

Sunday, 26 July 2026

[CP/M] Low cost RC2040

 Extreme Electronic's RC2040 is a nice - and open source - project, they offer it as kit or assembled  - if you are nervous about using a soldering iron, and their board is more `advanced` that just wiring one SDcard to a Pico board..-, for others, who already have a Pico RP2040 / or compatible and an SDcard break board its only a few min of soldering, just 6 wires!




Nothing 'complex' there, the instructions are clear, you just need to wire the SDcard break board (it wont boot without one!), in my case (Dolatek Pico) like this

                 Pico RP2040                      3.3V SD Module
              +---------------+           +---------------+
              |               |           |               |
   Pin 36 --->| 3v3 OUT       |===========| VCC (3.3V)    |
   Pin 38 --->| GND           |===========| GND           |
              |               |           |               |
   Pin 7  --->| GPIO 5(CS)    |---------->| CS            |
   Pin 4  --->| GPIO 2(SCK)   |---------->| SCK / CLK     |
   Pin 5  --->| GPIO 3(MOSI)  |---------->| MOSI / DI     |
   Pin 6  --->| GPIO 4(MISO)  |<----------| MISO / DO     |
              |               |           |               |
              +---------------+           +---------------+


Note: No pull-up resistors - 10kΩ - needed if your SDcard break board comes with them! So double check!

Wednesday, 22 April 2026

[cheats] Vaporum (gog v 420) cheat enabled patched file

Piece of cake to patch that Assembly-CSharp.dll file.. so cheats are enabled now.. :)

left-shift + left-CRTL + / to enable then F11 to see the menu with the keys


get it here just unzip and replace Assembly-CSharp.dll that is located under Vaporum\VaporumGame_Data\Managed

again this is for GOG version 420