HP battery not charging

I’ve an HP Pavilion Laptop (14-dv2500sa) – the touch screen doesn’t work with Linux, due to a UEFI issue. After updating UEFI, I noticed Fedora reporting the battery as empty when it clearly wasn’t (because it was still on).

There’s a setting that reports the battery status, which defaulted to disabled, from what I gather it’s a soft battery disconnect for storage. No clue why it’s enabled by default but dear God the update process was painful.

I’ve not got a laptop running Windows, so ended up using Boxes to run Windows just to create the USB key. Even that was tempremental as I had to choose a specific EFI key to boot from.

Shell features: List expansion

I like list expansion:

# Create mutiple directories
mkdir -p {src,data,app/{mobile,web}}

The p switch creates any “missing” parent directories and is idempotent (so if app exists it doesn’t complain and if not creates it).

# Create multiple files
touch file_{1..5}.txt

Heck you can even combine it with tee!

# Create multiple Hello, World! files
echo "Hello, world\!" | tee file_{1..5}.txt

Fix Fedora issues with Claude and MCP

Fastest method is using uv and claude mcp add:

uv tool install linux-mcp-server
claude mcp add linux-mcp --scope user --transport stdio -- linux-mcp-server
  • linux-mcp is the server name used in Claude Code.
  • --scope user makes the server available globally for your user account.
  • --transport stdio Specifies that it’s a local standard input/output server.
  • -- separates Claude CLI flags from the command to run.
  • linux-mcp-server starts the server process.

Claude is capable of starting the server on demand, check that it’s enabled with /mcp: