Skip to content

Instantly share code, notes, and snippets.

View nodgear's full-sized avatar
🙆‍♂️
Yes

Matheus Alves nodgear

🙆‍♂️
Yes
View GitHub Profile
@mcjmigdal
mcjmigdal / custom_resolution_on_wayland.md
Last active December 15, 2025 02:59
Custom Resolutions on KDE Wayland via EDID Injection

This is a AI enhanced note on my half day struggle to make my monitor work after KDE transitioned to Wayland

Custom Resolutions on KDE Wayland via EDID Injection

Under Wayland (KWin) the kernel’s DRM/KMS (Direct Rendering Manager/Kernel Mode-Setting) controls display modes. Unlike X11, Wayland does not support on-the-fly modelines via xrandr – it only uses modes that the monitor reports via EDID. In practice, this means you must override the monitor’s EDID to add unsupported modes. This guide shows how to generate a custom EDID for 3440×1440@40Hz on HDMI-A-1 and load it so KDE/Wayland will offer the new mode.

Why xrandr and gtf/cvt don’t work on Wayland

On X11 you could use xrandr --newmode or feed a modeline from cvt/gtf. But on Wayland/KWin, the compositor ignores non-native modes. For example, KWin states “the display is not supported in any geometry other than what is supported by a native mode”. In other words, adding a virtual 40 Hz mode is impossible without changing the E

@chloe-626
chloe-626 / userChrome.css
Created June 22, 2018 10:02
Hidden Navigation userChrome CSS
/*
Firefox 58+ (Quantum) very minimal browser theme
Hides the navigation bar until you hover over the tabs
Heavily inspired by Vivaldi's UI
Only really need to edit the hex colors in :root
Originally from my Nocturnal CSS: https://gist.github.com/chloechantelle/7d58ff31121378cec2ab593ac90c64b8
Should look like: https://i.imgur.com/ASOaXqZ.png