DEV Community

Jpn Mif
Jpn Mif

Posted on

Building "Kawaiintu OS": Bypassing GTK4 Theme Limits with Python Dynamic Hooks

Hi everyone! I wanted to share a project I've been working on: Kawaiintu OS, a custom Linux distribution built from scratch.

If you've customized Linux recently, you know that modern desktop environments (specifically GTK4 and libadwaita) heavily restrict system-wide theme customization to maintain app stability and developer intent.

I wanted to bypass this limitation without breaking the system or relying on traditional CSS overrides.

🚀 The Technical Approach: Non-Destructive Hooking

Instead of modifying core system files, I took a different route.
I wrote a custom Python script that dynamically hooks into GTK 4.0 UI selectors.

  • Real-time hue rotation: The script allows for dynamic hue rotation across 9 colors on the fly.
  • Non-destructive: It doesn't permanently overwrite system themes. It injects the changes dynamically, keeping the base system clean and stable.

🛠️ Built from the Ground Up

I didn't use standard GUI remixing tools like Cubic. The entire ISO is packaged manually from the base system up. This includes:

  • Custom GRUB bootloader
  • Plymouth boot animation
  • Seamless GDM (GNOME Display Manager) integration

This approach ensured a highly optimized and bloat-free footprint.

🎬 See it in Action


(If you have a GIF instead, you can just paste the image here!)

It’s been a fascinating journey pushing the boundaries of what's possible with modern Linux desktop environments. By combining the stability of an Ubuntu base with the flexibility of Python scripting, I was able to create something truly unique.

💻 Try it out

The project is completely open-source. I’d love for you to check out the code, try the OS, and let me know what you think about this dynamic hooking approach!

GitHub Repository:

GitHub logo mifjpn / kawaiintu-os-neo-moebuntu

A next-generation custom Ubuntu distro inheriting Moebuntu. Evolved into an "Emo & Cool" aesthetic with dynamic 9-color hue rotation. / Moebuntuの系譜を継ぐ、エモくてかっこいい次世代カスタムOS。

🌸 Kawaiintu OS (Neo Moebuntu)

Kawaiintu Banner

Kawaiintu UEFI MODE Distribution

「ロリ甘から、エモーショナルへ。」 (From Loli-Sweet to Emotional.)

A next-generation custom Ubuntu distro inheriting Moebuntu. Evolved into an "Emo & Cool" aesthetic with dynamic 9-color hue rotation Moebuntuの系譜を継承しつつ、独自のPython色相回転ギミックにより、新たな「エモくてかっこいい」世界観へと進化した次世代カスタムOS。


✨ Features / 主な特徴

  • 🎨 9 Vibrant Themes (Hue Rotation): Utilizing a unique Python-based hue rotation system, we quickly crafted 9 distinct and beautiful color themes (Pythonを用いた独自の「色相回転ギミック」を活用し、9色展開の美しく多彩なテーマを構築。)

  • 🐾 Animal Motifs: Each of the 9 color themes corresponds to a specific animal, adding a playful yet stylish touch to your desktop experience. (それぞれのテーマカラーには動物のモチーフが対応しており、遊び心とスタイリッシュさを両立。)

  • 🕶️ Cool Login Screen: A sleek and highly polished login screen that sets an "emo and cool" mood right from the moment you boot up. (起動した瞬間から「エモくてかっこいい」世界観を演出する、クールなログイン画面。)

  • 🛠️ Ultimate Freedom (True to Moebuntu's Spirit): While it looks perfectly configured out of the box, you still have complete freedom to change the Plymouth (boot animation), Login screen, and Wallpapers to whatever you desire. (初期状態で完成されたデザインでありながら、Moebuntuと同様にPlymouth、ログイン画面、背景画像はユーザーの好みに合わせて自由に変更可能。着せ替えの自由度はそのままです。)

  • Modern

Let me know your thoughts or any feedback in the comments below!

Top comments (1)

Collapse
 
jpn_mif_3f400b448e065fd6c profile image
Jpn Mif

Fully multilingual. Ready for global use with pre-configured language and input support right out of the box.