Skip to content

Instantly share code, notes, and snippets.

@GrumpyChunks
GrumpyChunks / Ore Excavation.md
Last active May 26, 2022 21:13
Configuration for the Ore Excavation with an otherwise Vanilla Minecraft set of mods

The following configuration is used in the OreExcavation mod to support the vanilla Minecraft Ores. Note, there are different format files, depending on the verison.

#Common settings for 1.15
[common]
	#How many blocks per tick can be excavated
	#Range: > 1
	Speed = 64
	#Use alternate check for tool validity (e.g. swords on webs)
	"Alt Tools" = false
@GrumpyChunks
GrumpyChunks / Windows RDP Client Fix.md
Last active September 15, 2023 05:58
Fix to stop Windows RDP clients from suppressing the remote system when the session is minimised.

Summary

This command will create the required registry entry to prevent RDP clients from suppressing the remote system when the client is minimised.

Why is this needed?

Say for example that you are running caffeine on the remote system to prevent the screen locking, if you then minimise the RDP session, then RDP suppression would normally kick in, which then prevents caffeine from keeping the system unlocked. Similar issues may exist for other software running on the system.

Usage

@GrumpyChunks
GrumpyChunks / bootfont.sh
Last active July 23, 2020 13:35
Command to fix pop!_os bad font during boot
sudo dpkg-reconfigure console-setup
@GrumpyChunks
GrumpyChunks / fixpopclock.sh
Last active April 15, 2023 12:24
Fix for Pop_OS not correctly using the 24 hour clock when the locale is set to a timezone that should default to a 24 hours clock
#!/bin/bash
sudo sed -i "/\[org\/gnome\/desktop\/interface\]/a\clock-format=\'24h\'" /etc/gdm3/greeter.dconf-defaults
gsettings set org.gtk.Settings.FileChooser clock-format 24h
gsettings set org.gnome.desktop.interface clock-format 24h