{"id":51356,"date":"2026-06-08T14:24:28","date_gmt":"2026-06-08T14:24:28","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51356"},"modified":"2026-06-08T14:24:28","modified_gmt":"2026-06-08T14:24:28","slug":"audacious-4-6-1-now-uses-xdg-cache-dir-for-better-flatpak-snap-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/06\/audacious-4-6-1-now-uses-xdg-cache-dir-for-better-flatpak-snap-support\/","title":{"rendered":"Audacious 4.6.1 Now Uses XDG Cache Dir for Better Flatpak\/Snap Support"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-49024\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/06\/audacious-logoicon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Just a week since the last 4.6 version, the lightweight Audacious music player announced new 4.6.1 bug-fix release.<\/p>\n<p>The new version of this free open-source application adopted XDG cache dir, added new Georgian translation, and fixed some bugs.<\/p>\n<p><!--more--><\/p>\n<h3>Improved Flatpak \/ Snap support<\/h3>\n<p>First, the new Audacious 4.6.1 now stores temporary files in XDG cache dir (<code>.cache<\/code> or <code>.var\/app\/APPID\/cache<\/code>) instead of system <code>\/tmp<\/code> directory. This is useful for Flatpak or Snap packages that run in sandbox environment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51357\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-tmp-700x456.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-tmp-700x456.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-tmp-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-tmp-768x500.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-tmp.webp 1118w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>For security reason, Flatpak and Snap packages do not have access to system <code>\/tmp<\/code>, instead they have their own private <code>\/tmp<\/code> directory.<\/p>\n<p>The previous Audacious versions however use the host&#8217;s <code>\/tmp<\/code> directory causing some features, such as album cover display not working in MPRIS (e.g., system tray media control, or Gnome 50 lock screen) for sandboxed apps due to permission access issue.<\/p>\n<p>With the new version, the XDG cache dir is in use so that all the app packages have permission access to the temporary files for everything working properly.<\/p>\n<div id=\"attachment_51358\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51358\" class=\"size-large wp-image-51358\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-flatpaknoalbum-700x248.webp\" alt=\"\" width=\"610\" height=\"216\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-flatpaknoalbum-700x248.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-flatpaknoalbum-300x106.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-flatpaknoalbum-768x273.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/audacious-flatpaknoalbum.webp 851w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-51358\" class=\"wp-caption-text\">Flatpak or Snap package previously do not display album covers in MRPIS<\/p><\/div>\n<h3>Fix for Ubuntu PPA<\/h3>\n<p>For Ubuntu and Linux Mint users who use the PPA package, the last 4.6 version was built improperly that may run into core dump crash or dependency issue.<\/p>\n<p>The reason is that I built with the updated <a href=\"https:\/\/launchpad.net\/ubuntu\/resolute\/+source\/audacious\" target=\"_blank\" rel=\"noopener\">Ubuntu&#8217;s packaging rule<\/a> from 26.04. It changed library names (e.g., <code>libaudgui5<\/code> -&gt; <code>libaudgui6<\/code>, <code>libaudqt2t64<\/code> -&gt; <code>libaudqt3<\/code>), but I forgot to add rule to automatically remove the old ones during the package upgrading process, thus you may have multi-versions of the libraries installed at the same time causing the issue.<\/p>\n<p>To &#8220;fix&#8221; the issue, the new 4.6.1 version increased the .so and plugin ABI version numbers, so even you have both 4.6 and 4.6.1 installed at the same time in the same package format (though the PPA shall now avoid the case), audacious will continue working as they use the libraries in different versions.<\/p>\n<p>Other changes in Audacious 4.6.1 include:<\/p>\n<ul>\n<li>Add Georgian translation.<\/li>\n<li>Support audio files with embedded lyrics in more cases.<\/li>\n<li>Fix building on system using musl.<\/li>\n<\/ul>\n<h3>Install Audacious 4.6.1<\/h3>\n<p>For the official release note and source tarballs, go to Audacious website via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/audacious-media-player.org\/news\/65-audacious-4-6-1-released\" target=\"_blank\" rel=\"noreferrer noopener\">Audacious 4.6.1<\/a><\/div>\n<\/div>\n<p>Besides building from the source, there&#8217;s also community maintained <a href=\"https:\/\/flathub.org\/en\/apps\/org.atheme.audacious\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> and Snap package (available in Ubuntu App Center) which are NOT updated at the moment of writing.<\/p>\n<p>And, the <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/audacious\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> (and synced with <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/apps\" target=\"_blank\" rel=\"noopener\">this one<\/a>) has updated with the new package for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04.<\/p>\n<p>To add the PPA, and install Audacious 4.6.1 in Ubuntu, run the commands below one by one in terminal (Ctrl+Alt+T):<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/apps\r\nsudo apt update\r\nsudo apt install audacious audacious-plugins<\/pre>\n<p>For any reason, you may purge PPA and downgrade Audacious to the stock versions by running command:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:ubuntuhandbook1\/apps<\/pre>\n<p>Or, just remove the music player (useful for a clean re-install) by running command:<\/p>\n<pre>sudo apt install audacious audacious-plugins-data --autoremove<\/pre>\n<p>And, feel free to leave comment below or send me email if you still have issue for the package installed from PPA.<\/p>","protected":false},"excerpt":{"rendered":"<p>Just a week since the last 4.6 version, the lightweight Audacious music player announced new 4.6.1 bug-fix release. The new version of this free open-source application adopted XDG cache dir, added new Georgian translation, and fixed some bugs.<\/p>\n","protected":false},"author":1,"featured_media":49024,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[569],"class_list":["post-51356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-audacious"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=51356"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51356\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/49024"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}