frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Play Pokémon to unlock your Wayland session

https://github.com/AdoPi/wlgblock
37•anajimi•1d ago
Hello everyone!

I've created a gameboy emulator to unlock my Wayland session and wanted to share this project to everyone here!

I've been a Linux enthusiast since I was a kid. What always captivated me was the freedom to customize my system exactly the way I wanted. With Wayland, we've reached an incredible level of performance. It's like turning your operating system into a video game! I've always been fascinated by the blend of fun and the serious, technical nature of an OS. That’s what inspired me to create this project.

I started by studying Wayland, its protocol and how to build a compositor. Then I became particularly intrigued by the concept of a locker, which reminded me a bit of an escape game. That’s when I thought: how cool would it be to solve a puzzle to unlock your session, instead of just typing a password? Since I’ve worked with emulators in the past and I’m a huge Pokémon fan, the idea of building the puzzle around that game came to me instantly!

Technically, the locker code and the wayland protocol have been implemented from scratch ( using EGL and wl_keyboard_listeners ). My locker runs a version of the gbcc emulator modded by myself. This emulator waits for one precise value to be set in a given memory address.

I have modded the Pokémon game to my needs: when the password is good, I put the good value in the good memory address so the emulator knows it needs to unlock the session.

Hope you will appreciate this project!

Comments

d3Xt3r•1d ago
Ah, goody. Looks like I found the only other Wayland user on HN. ;)

You should also post here: https://news.ycombinator.com/item?id=44837981

anajimi•1d ago
Thank you for the link! Hope to see more people using Wayland then :D
righthand•52m ago
There are dozens of us…dozens!
jchw•33m ago
On the KDE side, Wayland has been going pretty well. Wayland sessions make up 82% of all sessions with telemetry enabled.

https://blogs.kde.org/2025/03/15/this-week-in-plasma-file-tr...

For me the real conundrum was SwayWM vs KDE Wayland rather than any X.org session; I really felt like SwayWM was a good upgrade from i3wm and gave me a better desktop session with much less hacks. Hope to see wlroots push forward and support some of the newer Wayland protocols, it has started to fall behind a little bit, but I think it's good for alternative desktops.

OsrsNeedsf2P•8m ago
I run Wayland but I'm not happy about it. Most autoclickers still don't work, and autotypers need sudo and group magic to get working.
juujian•17m ago
The trick was to switch to AMD (screw NVIDIA on Linux).
skerit•1h ago
Incredible that we're getting something like this before a plain good old screensaver
anajimi•28m ago
Thanks for your idea! I think it is totally possible to implement a screensaver with the ext-session-lock protocol. I will try to explore this idea when I have time in the next few months :)
DrewRWx•16m ago
Do you have a Ko-fi? 'cause I would really enjoy that screensaver.

I adore this project on its own merits too because using the memory values in an emulated game is something that has fascinated me since Twitch Plays Pokémon integrated their Twitch display!

derefr•14m ago
For use with vintage computers that use CRTs? If not, what kind of oddball display / use-case do you have, where it would be better to play a screensaver than to follow the usual modern flow of display dim -> display black -> display sleep -> computer lock -> [maybe] computer sleep?
rtsang1•16m ago
For a moment, I thought the punchline was that users needed to play through the game and clear the elite four to unlock their session.
OsrsNeedsf2P•10m ago
Heavy customization is important to me on the Linux desktop. This project has given me a lot more faith in Wayland than 5 years of hearing debates about it.

Wikipedia loses challenge against Online Safety Act

https://www.bbc.com/news/articles/cjr11qqvvwlo
463•phlummox•7h ago•415 comments

I tried every todo app and ended up with a .txt file

https://www.al3rez.com/todo-txt-journey
730•al3rez•9h ago•471 comments

Show HN: Play Pokémon to unlock your Wayland session

https://github.com/AdoPi/wlgblock
37•anajimi•1d ago•12 comments

Neki – sharded Postgres by the team behind Vitess

https://planetscale.com/blog/announcing-neki
127•thdxr•5h ago•14 comments

Show HN: I built an offline, open‑source desktop Pixel Art Editor in Python

https://github.com/danterolle/tilf
10•danterolle•1h ago•3 comments

OpenSSH Post-Quantum Cryptography

https://www.openssh.com/pq.html
332•throw0101d•11h ago•87 comments

Ollama and gguf

https://github.com/ollama/ollama/issues/11714
73•indigodaddy•5h ago•31 comments

Launch HN: Halluminate (YC S25) – Simulating the internet to train computer use

41•wujerry2000•8h ago•34 comments

Claude Code is all you need

https://dwyer.co.za/static/claude-code-is-all-you-need.html
430•sixhobbits•9h ago•253 comments

GitHub is no longer independent at Microsoft after CEO resignation

https://www.theverge.com/news/757461/microsoft-github-thomas-dohmke-resignation-coreai-team-transition
867•Handy-Man•7h ago•632 comments

The Joy of Mixing Custom Elements, Web Components, and Markdown

https://deanebarker.net/tech/blog/custom-elements-markdown/
69•deanebarker•7h ago•24 comments

Byte Buddy is a code generation and manipulation library for Java

https://bytebuddy.net/
65•mooreds•3d ago•20 comments

Learn, Reflect, Apply, Prepare: The Four Daily Practices That Changed How I Live

https://opuslabs.substack.com/p/learn-reflect-apply-prepare
75•opuslabs•7h ago•14 comments

UI vs. API. vs. UAI

https://www.joshbeckman.org/blog/practicing/ui-vs-api-vs-uai
64•bckmn•7h ago•31 comments

36B solar mass black hole at centre of the Cosmic Horseshoe gravitational lens

https://academic.oup.com/mnras/article/541/4/2853/8213862?login=false
99•bookofjoe•9h ago•70 comments

The demographic future of humanity: facts and consequences [pdf]

https://www.sas.upenn.edu/~jesusfv/Slides_London.pdf
56•akyuu•6h ago•126 comments

Pricing Pages – A Curated Gallery of Pricing Page Designs

https://pricingpages.design/
175•finniansturdy•11h ago•49 comments

Trellis (YC W24) Is Hiring: Automate Prior Auth in Healthcare

https://www.ycombinator.com/companies/trellis/jobs/Cv3ZwXh-forward-deployed-engineers-all-levels-august-2025
1•jackylin•6h ago

How to Teach Your Kids to Play Poker: Start with One Card

https://www.bloomberg.com/news/articles/2025-08-08/how-to-teach-your-kids-poker-with-one-card-at-age-four
6•ioblomov•3d ago•12 comments

White Mountain Direttissima

https://whitemountainski.co/pages/white-mountain-direttissima
32•oftenwrong•3d ago•19 comments

Designing Software in the Large

https://dafoster.net/articles/2025/07/22/designing-software-in-the-large/
74•davidfstr•9h ago•25 comments

The Value of Institutional Memory

https://timharford.com/2025/05/the-value-of-institutional-memory/
91•leoc•6h ago•54 comments

Optimizing my sleep around Claude usage limits

https://mattwie.se/no-sleep-till-agi
136•mattwiese•22h ago•101 comments

Faster substring search with SIMD in Zig

https://aarol.dev/posts/zig-simd-substr/
170•todsacerdoti•14h ago•52 comments

Mistral Integration Improved in Llama.cpp

https://github.com/ggml-org/llama.cpp/pull/14737
81•decide1000•13h ago•12 comments

How Boom uses software to accelerate hardware development

https://bscholl.substack.com/p/move-fast-and-dont-break-safety-critical
57•flabber•1d ago•44 comments

A Guide Dog for the Face-Blind

https://asimov.blog/a-guide-dog-for-the-face-blind/
22•arto•3d ago•15 comments

AP to end its weekly book reviews

https://dankennedy.net/2025/08/08/the-associated-press-tells-its-book-critics-that-its-ending-weekly-reviews/
69•thm•6h ago•25 comments

Porting to OS/2 (1987)

https://gitpi.us/article-archive/porting-to-os2/
40•rbanffy•4d ago•7 comments

Why tail-recursive functions are loops

https://kmicinski.com/functional-programming/2025/08/01/loops/
58•speckx•3d ago•47 comments