<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jpn Mif</title>
    <description>The latest articles on DEV Community by Jpn Mif (@jpn_mif_3f400b448e065fd6c).</description>
    <link>https://dev.to/jpn_mif_3f400b448e065fd6c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4000371%2Ff684f375-3e47-4643-be76-556dd3456852.jpg</url>
      <title>DEV Community: Jpn Mif</title>
      <link>https://dev.to/jpn_mif_3f400b448e065fd6c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jpn_mif_3f400b448e065fd6c"/>
    <language>en</language>
    <item>
      <title>How I Hacked GTK4 and Python to Build the Ultimate "Kawaii" Linux OS</title>
      <dc:creator>Jpn Mif</dc:creator>
      <pubDate>Sat, 27 Jun 2026 04:39:25 +0000</pubDate>
      <link>https://dev.to/jpn_mif_3f400b448e065fd6c/how-i-hacked-gtk4-and-python-to-build-the-ultimate-kawaii-linux-os-5781</link>
      <guid>https://dev.to/jpn_mif_3f400b448e065fd6c/how-i-hacked-gtk4-and-python-to-build-the-ultimate-kawaii-linux-os-5781</guid>
      <description>&lt;p&gt;How I Hacked GTK4 and Python to Build the Ultimate "Kawaii" Linux OS&lt;/p&gt;

&lt;p&gt;If you’ve seen the recent screenshots floating around Reddit (with people asking if their meme packages are broken or if they are having a stroke), I have a confession to make.&lt;/p&gt;

&lt;p&gt;It is not a Photoshop mockup. It is 100% real.&lt;/p&gt;

&lt;p&gt;Welcome to Kawaiintu OS (Neo Moebuntu). I wanted to see how far I could push modern Linux customization to create an uncompromisingly "Kawaii" (cute/moe) environment. Behind the pastel UI and anime aesthetics lies a surprisingly heavy architecture of Python hooks, GTK4 CSS overrides, and custom system event listeners.&lt;/p&gt;

&lt;p&gt;Here is a technical deep dive into how I built this beautifully absurd system.&lt;/p&gt;

&lt;p&gt;--- 1. Taming GTK4 with Aggressive CSS ---&lt;br&gt;
Customizing GNOME and GTK4 has become notoriously difficult for traditional theming. To achieve the perfect Kawaii aesthetic, I had to completely override the default stylesheet.&lt;/p&gt;

&lt;p&gt;Instead of relying on standard theme engines, I built a custom pipeline utilizing ~/.config/gtk-4.0/gtk.css. By manipulating color matrices and rotating hue values via scripting, the system dynamically enforces the aesthetic across all native GTK4/libadwaita applications without breaking their core layouts.&lt;/p&gt;

&lt;p&gt;[CSS Example]&lt;br&gt;
@define-color accent_color #ffb6c1;&lt;br&gt;
@define-color accent_bg_color #ff69b4;&lt;br&gt;
window {&lt;br&gt;
background-image: url("assets/kawaii-bg.png");&lt;br&gt;
background-size: cover;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;--- 2. The Boot Process: A Yawning Calico Cat ---&lt;br&gt;
A true OS experience starts before the login screen. I completely stripped the default Plymouth boot splash and wrote a custom script for it.&lt;/p&gt;

&lt;p&gt;Instead of a boring manufacturer logo, you are greeted by a rare Japanese Calico cat yawning elegantly as the kernel loads.&lt;/p&gt;

&lt;p&gt;--- 3. The Madness: Python Hooks for Sudo &amp;amp; System Sounds ---&lt;br&gt;
This is where the real fun begins. A cute UI isn't enough; the OS must sound Kawaii. I integrated royalty-free assets to completely overhaul the auditory feedback of the system.&lt;/p&gt;

&lt;p&gt;Hatsune Miku System Sounds:&lt;br&gt;
Standard alerts are replaced with Hatsune Miku singing "Moebuntu."&lt;/p&gt;

&lt;p&gt;The Maid Voice Sudo Approvals:&lt;br&gt;
I wrote a Python daemon that monitors specific shell executions and system-level events. When you execute a critical action (like pressing enter on a sudo command), the Python script intercepts the event trigger and plays a sweet Japanese Maid voice confirming your action ("Kashikomarimashita!").&lt;/p&gt;

&lt;p&gt;[Python Hook Example]&lt;br&gt;
import os&lt;br&gt;
import subprocess&lt;/p&gt;

&lt;p&gt;def trigger_maid_approval():&lt;/p&gt;

&lt;h1&gt;
  
  
  Plays the maid voice asset when critical commands are executed
&lt;/h1&gt;

&lt;p&gt;audio_path = "/usr/share/sounds/kawaiintu/maid_approve.wav"&lt;br&gt;
subprocess.run(["paplay", audio_path])&lt;/p&gt;

&lt;p&gt;--- Why build this? ---&lt;br&gt;
Modern tech is obsessed with minimalism and hyper-efficiency. I wanted to remind people that open-source software is also about having fun, being completely ridiculous, and building things just because you can.&lt;/p&gt;

&lt;p&gt;If you want to see the madness for yourself, check out the project here:&lt;/p&gt;

&lt;p&gt;Kawaiintu OS (Neo Moebuntu) Project Page&lt;br&gt;
&lt;a href="https://mifjpn.github.io/kawaiintu-os-neo-moebuntu/" rel="noopener noreferrer"&gt;https://mifjpn.github.io/kawaiintu-os-neo-moebuntu/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reality is much weirder than memes. Let me know what you think of the architecture, and may your terminal always be Kawaii!&lt;/p&gt;

</description>
      <category>linux</category>
      <category>python</category>
      <category>showdev</category>
      <category>ui</category>
    </item>
    <item>
      <title>Building "Kawaiintu OS": Bypassing GTK4 Theme Limits with Python Dynamic Hooks</title>
      <dc:creator>Jpn Mif</dc:creator>
      <pubDate>Wed, 24 Jun 2026 10:32:49 +0000</pubDate>
      <link>https://dev.to/jpn_mif_3f400b448e065fd6c/building-kawaiintu-os-bypassing-gtk4-theme-limits-with-python-dynamic-hooks-4hba</link>
      <guid>https://dev.to/jpn_mif_3f400b448e065fd6c/building-kawaiintu-os-bypassing-gtk4-theme-limits-with-python-dynamic-hooks-4hba</guid>
      <description>&lt;p&gt;Hi everyone! I wanted to share a project I've been working on: &lt;strong&gt;Kawaiintu OS&lt;/strong&gt;, a custom Linux distribution built from scratch.&lt;/p&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;I wanted to bypass this limitation without breaking the system or relying on traditional CSS overrides.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 The Technical Approach: Non-Destructive Hooking
&lt;/h2&gt;

&lt;p&gt;Instead of modifying core system files, I took a different route. &lt;br&gt;
I wrote a custom Python script that dynamically hooks into GTK 4.0 UI selectors.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real-time hue rotation:&lt;/strong&gt; The script allows for dynamic hue rotation across 9 colors on the fly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Non-destructive:&lt;/strong&gt; It doesn't permanently overwrite system themes. It injects the changes dynamically, keeping the base system clean and stable.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  🛠️ Built from the Ground Up
&lt;/h2&gt;

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

&lt;ul&gt;
&lt;li&gt;Custom GRUB bootloader&lt;/li&gt;
&lt;li&gt;Plymouth boot animation&lt;/li&gt;
&lt;li&gt;Seamless GDM (GNOME Display Manager) integration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This approach ensured a highly optimized and bloat-free footprint.&lt;/p&gt;
&lt;h2&gt;
  
  
  🎬 See it in Action
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/2QsDKzlqtCM"&gt;
  &lt;/iframe&gt;
&lt;br&gt;
&lt;em&gt;(If you have a GIF instead, you can just paste the image here!)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;
&lt;h2&gt;
  
  
  💻 Try it out
&lt;/h2&gt;

&lt;p&gt;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!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/mifjpn" rel="noopener noreferrer"&gt;
        mifjpn
      &lt;/a&gt; / &lt;a href="https://github.com/mifjpn/kawaiintu-os-neo-moebuntu" rel="noopener noreferrer"&gt;
        kawaiintu-os-neo-moebuntu
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A next-generation custom Ubuntu distro inheriting Moebuntu. Evolved into an "Emo &amp;amp; Cool" aesthetic with dynamic 9-color hue rotation. / Moebuntuの系譜を継ぐ、エモくてかっこいい次世代カスタムOS。
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌸 Kawaiintu OS (Neo Moebuntu)&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/mifjpn/kawaiintu-os-neo-moebuntu/In_the_tech_spec_panel,_202606232116.jpeg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fmifjpn%2Fkawaiintu-os-neo-moebuntu%2FHEAD%2FIn_the_tech_spec_panel%2C_202606232116.jpeg" alt="Kawaiintu Banner"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Kawaiintu UEFI MODE Distribution&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;「ロリ甘から、エモーショナルへ。」&lt;/strong&gt;
&lt;em&gt;(From Loli-Sweet to Emotional.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A next-generation custom Ubuntu distro inheriting Moebuntu. Evolved into an "Emo &amp;amp; Cool" aesthetic with dynamic 9-color hue rotation
Moebuntuの系譜を継承しつつ、独自のPython色相回転ギミックにより、新たな「エモくてかっこいい」世界観へと進化した次世代カスタムOS。&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Features / 主な特徴&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;🎨 &lt;strong&gt;9 Vibrant Themes (Hue Rotation):&lt;/strong&gt;
Utilizing a unique Python-based hue rotation system, we quickly crafted 9 distinct and beautiful color themes
(Pythonを用いた独自の「色相回転ギミック」を活用し、9色展開の美しく多彩なテーマを構築。)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;🐾 &lt;strong&gt;Animal Motifs:&lt;/strong&gt;
Each of the 9 color themes corresponds to a specific animal, adding a playful yet stylish touch to your desktop experience.
(それぞれのテーマカラーには動物のモチーフが対応しており、遊び心とスタイリッシュさを両立。)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;🕶️ &lt;strong&gt;Cool Login Screen:&lt;/strong&gt;
A sleek and highly polished login screen that sets an "emo and cool" mood right from the moment you boot up.
(起動した瞬間から「エモくてかっこいい」世界観を演出する、クールなログイン画面。)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;🛠️ &lt;strong&gt;Ultimate Freedom (True to Moebuntu's Spirit):&lt;/strong&gt;
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、ログイン画面、背景画像はユーザーの好みに合わせて自由に変更可能。着せ替えの自由度はそのままです。)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;⚡ &lt;strong&gt;Modern&lt;/strong&gt;…&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/mifjpn/kawaiintu-os-neo-moebuntu" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Let me know your thoughts or any feedback in the comments below!&lt;/p&gt;

</description>
      <category>linux</category>
      <category>python</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
