<?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: pvojnisek</title>
    <description>The latest articles on DEV Community by pvojnisek (@pvojnisek).</description>
    <link>https://dev.to/pvojnisek</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F417943%2F9f3b623f-e2d5-45ff-b614-7af04b54ee4d.png</url>
      <title>DEV Community: pvojnisek</title>
      <link>https://dev.to/pvojnisek</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pvojnisek"/>
    <language>en</language>
    <item>
      <title>I had 27 AppImages and none of them showed up in my launcher</title>
      <dc:creator>pvojnisek</dc:creator>
      <pubDate>Thu, 26 Mar 2026 19:40:10 +0000</pubDate>
      <link>https://dev.to/pvojnisek/i-had-27-appimages-and-none-of-them-showed-up-in-my-launcher-48cm</link>
      <guid>https://dev.to/pvojnisek/i-had-27-appimages-and-none-of-them-showed-up-in-my-launcher-48cm</guid>
      <description>&lt;p&gt;I use Pop!_OS with the new COSMIC desktop. I also use a lot of AppImages — Obsidian, Cursor, WezTerm, Krita, FreeTube, about 27 of them. And every single time I downloaded one, the same ritual:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make it executable (&lt;code&gt;chmod +x&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Create a &lt;code&gt;.desktop&lt;/code&gt; file by hand&lt;/li&gt;
&lt;li&gt;Hunt for the icon (where does this AppImage keep it?)&lt;/li&gt;
&lt;li&gt;Figure out the right &lt;code&gt;Categories=&lt;/code&gt; so it shows up in the right menu&lt;/li&gt;
&lt;li&gt;Repeat for the next app&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After a while my &lt;code&gt;~/apps/&lt;/code&gt; directory looked like a graveyard of versioned files with no way to tell what was current:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Cursor-0.47.9-x86_64.AppImage
cursor-0.45.14-build-250219jnihavxsz-x86_64.AppImage
Joplin-3.0.15.AppImage
Joplin-3.3.13.AppImage
WezTerm-nightly-Ubuntu20.04.AppImage
WezTerm-20240203-110809-5046fc22-Ubuntu20.04.AppImage
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;So I wrote a tool to fix this. One Python file, zero dependencies.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;


&lt;div class="ltag_asciinema"&gt;
  
&lt;/div&gt;



&lt;p&gt;You point it at a directory full of AppImages, and it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scans&lt;/strong&gt; for &lt;code&gt;.AppImage&lt;/code&gt; files and groups them by app name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Picks the latest version&lt;/strong&gt; (by version number, not file date — so &lt;code&gt;0.47.9&lt;/code&gt; beats &lt;code&gt;0.45.14&lt;/code&gt; even if the older file was touched more recently)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creates a clean symlink&lt;/strong&gt; — &lt;code&gt;obsidian.AppImage&lt;/code&gt; → &lt;code&gt;Obsidian-1.9.10.AppImage&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extracts the icon&lt;/strong&gt; from inside the AppImage and installs it to the XDG hicolor theme&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reads categories and StartupWMClass&lt;/strong&gt; from the embedded &lt;code&gt;.desktop&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates a proper &lt;code&gt;.desktop&lt;/code&gt; launcher&lt;/strong&gt; with all the metadata&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The result: hit Super, type the app name, there it is with its real icon. Pin it to the dock — the icon matches. Done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just use AppImageLauncher?
&lt;/h2&gt;

&lt;p&gt;It's &lt;a href="https://github.com/TheAssassin/AppImageLauncher" rel="noopener noreferrer"&gt;archived&lt;/a&gt;. Plus it runs as a system daemon that intercepts all AppImage launches. I wanted something simpler.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/mijorus/gearlever" rel="noopener noreferrer"&gt;Gear Lever&lt;/a&gt; is nice but requires Flatpak. &lt;a href="https://github.com/ivan-hc/AM" rel="noopener noreferrer"&gt;AM/AppMan&lt;/a&gt; is a full package manager. I didn't need any of that.&lt;/p&gt;

&lt;p&gt;I just wanted one thing: &lt;strong&gt;make my existing AppImages visible in the launcher.&lt;/strong&gt; One job, done well.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tricky parts
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Name extraction
&lt;/h3&gt;

&lt;p&gt;AppImage filenames are chaos. There's no standard. I had to write a regex that handles all of these:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Obsidian-1.9.10.AppImage            → obsidian
cursor-0.45.14-build-250219...-x86_64.AppImage → cursor
WezTerm-nightly-Ubuntu20.04.AppImage → wezterm
LM+Studio-0.2.8-beta-v1.AppImage   → lm-studio
FreeCAD_1.0.2-conda-Linux-x86_64-py311.AppImage → freecad
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The trick: strip everything from the first version/architecture/platform token onwards. One regex handles 30+ naming patterns.&lt;/p&gt;

&lt;h3&gt;
  
  
  Icon extraction
&lt;/h3&gt;

&lt;p&gt;Each AppImage has a &lt;code&gt;.DirIcon&lt;/code&gt; file that's usually a symlink into &lt;code&gt;usr/share/icons/hicolor/&lt;/code&gt;. The challenge is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some have &lt;code&gt;.DirIcon&lt;/code&gt; as a real PNG file&lt;/li&gt;
&lt;li&gt;Some have it as a symlink (that resolves inside the archive)&lt;/li&gt;
&lt;li&gt;Some put the icon deep in &lt;code&gt;hicolor/512x512/apps/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Some only have SVGs&lt;/li&gt;
&lt;li&gt;Some have broken symlinks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The script tries each strategy in order, picks the largest resolution available, detects SVG vs PNG, and installs to the right hicolor directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  COSMIC dock icons
&lt;/h3&gt;

&lt;p&gt;This was the hardest bug to find. The COSMIC launcher (Super key search) worked fine with absolute icon paths. But the &lt;strong&gt;dock&lt;/strong&gt; showed generic icons. Turns out COSMIC's panel &lt;a href="https://github.com/pop-os/cosmic-epoch/issues/2697" rel="noopener noreferrer"&gt;doesn't render icons from absolute paths&lt;/a&gt; — it only looks in the XDG icon theme.&lt;/p&gt;

&lt;p&gt;The fix: install icons to &lt;code&gt;~/.local/share/icons/hicolor/&amp;lt;size&amp;gt;/apps/&lt;/code&gt; and use bare icon names (&lt;code&gt;Icon=appimage-obsidian&lt;/code&gt;) in the &lt;code&gt;.desktop&lt;/code&gt; file. Then rebuild the GTK icon cache.&lt;/p&gt;

&lt;p&gt;Another missing piece: &lt;code&gt;StartupWMClass&lt;/code&gt;. Without it, the dock can't match a running window to its &lt;code&gt;.desktop&lt;/code&gt; entry. The script extracts this from the embedded &lt;code&gt;.desktop&lt;/code&gt; file inside each AppImage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install once, forget it
&lt;/h2&gt;

&lt;p&gt;This is the part I'm most happy with. The &lt;code&gt;--install-watch&lt;/code&gt; command creates a systemd user path unit that monitors the AppImage directory. After that, you never touch the script again:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drop a new AppImage&lt;/strong&gt; → it appears in the launcher with its icon&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delete an AppImage&lt;/strong&gt; → the launcher entry, symlink, and icon get cleaned up&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drop a newer version&lt;/strong&gt; → the symlink re-links to the latest
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./appimage-manager.py &lt;span class="nt"&gt;--install-watch&lt;/span&gt;
&lt;span class="c"&gt;# That's it. From now on, just drop AppImages in the directory.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No daemon running in the background — systemd only triggers the script when a file actually changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The registry
&lt;/h2&gt;

&lt;p&gt;Everything is tracked in a CSV file (&lt;code&gt;appimages.csv&lt;/code&gt;). You can edit it with any text editor — change labels, categories, set an app to &lt;code&gt;ignored&lt;/code&gt;. Run &lt;code&gt;./appimage-manager.py sync&lt;/code&gt; to apply.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csvs"&gt;&lt;code&gt;&lt;span class="k"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;label&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;filename&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;categories&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;startup&lt;/span&gt;&lt;span class="err"&gt;_&lt;/span&gt;&lt;span class="k"&gt;wm&lt;/span&gt;&lt;span class="err"&gt;_&lt;/span&gt;&lt;span class="k"&gt;class&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;status&lt;/span&gt;
&lt;span class="k"&gt;obsidian&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Obsidian&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Obsidian&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.9.10&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Office&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;X&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;obsidian&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;active&lt;/span&gt;
&lt;span class="k"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Cursor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Cursor&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0.47.9&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="k"&gt;x&lt;/span&gt;&lt;span class="mf"&gt;86&lt;/span&gt;&lt;span class="err"&gt;_&lt;/span&gt;&lt;span class="mf"&gt;64.&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;TextEditor&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;Development&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;IDE&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;X&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Cursor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;active&lt;/span&gt;
&lt;span class="k"&gt;zen&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Zen&lt;/span&gt; &lt;span class="k"&gt;browser&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;zen&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="k"&gt;x&lt;/span&gt;&lt;span class="mf"&gt;86&lt;/span&gt;&lt;span class="err"&gt;_&lt;/span&gt;&lt;span class="mf"&gt;64.&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;Network&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;WebBrowser&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="k"&gt;X&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="k"&gt;AppImage&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;zen&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;active&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-LO&lt;/span&gt; https://raw.githubusercontent.com/pvojnisek/appimage-manager/main/appimage-manager.py
&lt;span class="nb"&gt;chmod&lt;/span&gt; +x appimage-manager.py
&lt;span class="nb"&gt;mv &lt;/span&gt;appimage-manager.py ~/apps/  &lt;span class="c"&gt;# or wherever you keep AppImages&lt;/span&gt;
./appimage-manager.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;~850 lines of Python 3.9+, zero dependencies, MIT licensed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/pvojnisek/appimage-manager" rel="noopener noreferrer"&gt;pvojnisek/appimage-manager&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love feedback — especially if the name extraction regex doesn't handle your AppImage naming convention.&lt;/p&gt;

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