<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged sukit</title>
<link>https://coderlegion.com/tag/sukit</link>
<description>Powered by Question2Answer</description>
<item>
<title>Here is the Kimi Desktop on Ubuntu 26.04 noone asked for..... Because I am creating 1 desktop a day</title>
<link>https://coderlegion.com/14718/here-is-the-kimi-desktop-on-ubuntu-26-04-noone-asked-for-because-i-am-creating-1-desktop-a-day</link>
<description>&lt;hr&gt;
&lt;p&gt;I decided I am going to create 1 desktop app a day for the new Ubuntu release because noone ships linux. It's crazy they expect us to dev in linux but ship for windows and mac but you know what ? I am tired of bouncing back and forth! Linux for this windows for that ohhh check in on the kids switch to mac. It;s enough. So here is app 5 (if you dont count the Voicebox I made earlier today because their junk was busted and their instructions were just build it from source... Yeah thanks Chad...Here ya go. &quot;Kimi Desktop on Ubuntu 26.04: Fixing the Broken .deb with Tauri v2&quot;&lt;/p&gt;
&lt;h3 id=&quot;-the-official-kimi-desktop-app-can-t-install-on-ubuntu-24-04-because-it-depends-on-a-removed-library-here-s-how-i-rebuilt-it-with-tauri-v2-and-pake-v3-to-fix-it-&quot;&gt;&quot;The official Kimi desktop app can't install on Ubuntu 24.04+ because it depends on a removed library. Here's how I rebuilt it with Tauri v2 and Pake v3 to fix it.&quot;&lt;/h3&gt;
&lt;hr&gt;
&lt;p&gt;You install the official Kimi desktop &lt;code&gt;.deb&lt;/code&gt;, fire &lt;code&gt;sudo dpkg -i&lt;/code&gt;, and boom:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dpkg: dependency problems prevent configuration of kimi:
 kimi depends on libwebkit2gtk-4.0-37; however:
  Package libwebkit2gtk-4.0-37 is not installed.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That library doesn't exist on Ubuntu 24.04, let alone 26.04. It was removed from the repos over a year ago. The official &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/kimi-moonshot/kimi-moonshot&quot;&gt;Kimi desktop package&lt;/a&gt; is built on Tauri v1, which hard-depends on &lt;code&gt;libwebkit2gtk-4.0.so.37&lt;/code&gt; — a library that shipped with webkit2gtk 4.0, superseded by 4.1 and then dropped entirely.&lt;/p&gt;
&lt;p&gt;So the app is just... broken on any modern Ubuntu. Here's how I fixed it.&lt;/p&gt;
&lt;h3 id=&quot;the-problem-in-one-sentence&quot;&gt;The problem in one sentence&lt;/h3&gt;
&lt;p&gt;Tauri v1 → &lt;code&gt;libwebkit2gtk-4.0&lt;/code&gt; → removed from Ubuntu 24.04+ → &lt;code&gt;dpkg&lt;/code&gt; fails.&lt;/p&gt;
&lt;h3 id=&quot;the-fix-rebuild-with-tauri-v2&quot;&gt;The fix: rebuild with Tauri v2&lt;/h3&gt;
&lt;p&gt;Tauri v2 links against &lt;code&gt;libwebkit2gtk-4.1&lt;/code&gt;, which &lt;em&gt;is&lt;/em&gt; the version shipped in Ubuntu 24.04 and 26.04. So the fix is straightforward: rebuild the app with Tauri v2 instead of v1.&lt;/p&gt;
&lt;p&gt;I used &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/tw93/Pake&quot;&gt;Pake&lt;/a&gt; v3, which wraps any web app into a native desktop app using Tauri under the hood. One build script, one config file, and you get a &lt;code&gt;.deb&lt;/code&gt; that actually installs.&lt;/p&gt;
&lt;h3 id=&quot;what-you-get&quot;&gt;What you get&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Tauri v2 runtime&lt;/strong&gt; — Links against &lt;code&gt;libwebkit2gtk-4.1&lt;/code&gt;, the one Ubuntu actually ships&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OAuth / SSO&lt;/strong&gt; — &lt;code&gt;--new-window&lt;/code&gt; flag means Google sign-in works in-app instead of being blocked&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;System tray&lt;/strong&gt; — Desktop integration that works&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1200x780 window&lt;/strong&gt; — Matches the original Kimi desktop dimensions&lt;/p&gt;
&lt;h3 id=&quot;rebuild-it-yourself&quot;&gt;Rebuild it yourself&lt;/h3&gt;
&lt;p&gt;Prerequisites — Rust, Node, and the usual GTK/webkit dev packages:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;# Rust &amp;gt;= 1.85
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Node.js &amp;gt;= 22 — use nvm, brew, whatever you prefer

# Build deps
sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev \
  libayatana-appindicator3-dev librsvg2-dev

# Pake CLI
npm install -g pake-cli
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then it's one command:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;./build.sh
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;code&gt;.deb&lt;/code&gt; lands in &lt;code&gt;dist/&lt;/code&gt;. Install it:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo dpkg -i dist/kimi_1.0.0_amd64.deb
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Done. Kimi runs natively on Ubuntu 26.04 with no missing libraries.&lt;/p&gt;
&lt;h3 id=&quot;the-config-that-makes-it-work&quot;&gt;The config that makes it work&lt;/h3&gt;
&lt;p&gt;Everything lives in &lt;code&gt;config/pake.json&lt;/code&gt;. The important bits:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;{
  &quot;windows&quot;: [{
    &quot;url&quot;: &quot;https://kimi.moonshot.cn&quot;,
    &quot;new_window&quot;: true,
    &quot;width&quot;: 1200,
    &quot;height&quot;: 780
  }],
  &quot;user_agent&quot;: {
    &quot;linux&quot;: &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36&quot;
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The two things that matter:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;new_window: true&lt;/code&gt;&lt;/strong&gt; — Without this, OAuth popups (Google sign-in, etc.) get blocked by the webview's navigation policy. This flag tells Pake/Tauri to open them in a new window instead.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;user_agent.linux&lt;/code&gt;&lt;/strong&gt; — Spoofing a Chrome UA because some OAuth providers reject webview user agents.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;why-not-just-use-the-web-app-in-a-browser-&quot;&gt;Why not just use the web app in a browser?&lt;/h3&gt;
&lt;p&gt;Fair question. A native desktop app gives you:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Alt-Tab separation&lt;/strong&gt; — Kimi isn't buried among 40 browser tabs&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;System tray&lt;/strong&gt; — Quick access, stays running in the background&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Own window chrome&lt;/strong&gt; — Feels like an app, not a tab&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Smaller memory footprint&lt;/strong&gt; — Tauri uses the system webview, not a bundled Electron instance&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;the-repo&quot;&gt;The repo&lt;/h3&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/johnohhh1/kimi-app&quot;&gt;github.com/johnohhh1/kimi-app&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clone it, build it, install it. If you're on Ubuntu 24.04+ and want Kimi as a desktop app, this is currently the only way that works.&lt;/p&gt;
&lt;h3 id=&quot;uninstall&quot;&gt;Uninstall&lt;/h3&gt;
&lt;p&gt;If you need to remove it:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;sudo dpkg -r kimi
&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Kimi is a product of &lt;a rel=&quot;nofollow&quot; href=&quot;https://moonshot.cn&quot;&gt;Moonshot AI&lt;/a&gt;. This project uses the open-source &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/tw93/Pake&quot;&gt;Pake&lt;/a&gt; tool (MIT license) to wrap the Kimi web interface as a native desktop application.&lt;/em&gt;&lt;/p&gt;
</description>
<category>Tutorials</category>
<guid isPermaLink="true">https://coderlegion.com/14718/here-is-the-kimi-desktop-on-ubuntu-26-04-noone-asked-for-because-i-am-creating-1-desktop-a-day</guid>
<pubDate>Tue, 14 Apr 2026 03:17:32 +0000</pubDate>
</item>
</channel>
</rss>