{"id":9687,"date":"2020-01-02T15:43:09","date_gmt":"2020-01-02T15:43:09","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9687"},"modified":"2024-04-24T10:20:03","modified_gmt":"2024-04-24T10:20:03","slug":"cozy-modern-gtk-3-audio-book-player-for-linux","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/01\/cozy-modern-gtk-3-audio-book-player-for-linux\/","title":{"rendered":"Cozy &#8211; Modern GTK+ 4 Audio Book Player for Linux [Ubuntu PPA]"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-34371\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-logo250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-logo250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-logo250-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Cozy is an open-source audio book player with a modern user interface. It&#8217;s written in Python programming language. Since version 1.3.0, the app is ported to GTK+ 4 and LibAdwaita for its user interface, and works in Linux and Mac OS.<\/p>\n<p><a href=\"https:\/\/github.com\/geigi\/cozy\" target=\"_blank\" rel=\"noopener\">Cozy<\/a> automatically scans media library and imports your audiobooks in one directory. You can also drag and drop and audiobook into the app window to import it.<\/p>\n<p>As a GTK app, it&#8217;s well integrated in Ubuntu, Fedora, and other Linux with Gnome Desktop. And <i><b>dark mode<\/b><\/i> is available to work at night. With libhandy library, it has an <b>adaptive user interface<\/b> that works well in different screen sizes, e.g., on PC, laptop, and mobile.<\/p>\n<p>audio-book player features:<\/p>\n<ul>\n<li>Sort audio books by author, reader &amp; name<\/li>\n<li>Remembers playback position<\/li>\n<li>Sleep timer<\/li>\n<li>Playback speed control<\/li>\n<li>Offline Mode<\/li>\n<li>Support for DRM free mp3, m4a (aac, ALAC, \u2026), flac, ogg, wav files<\/li>\n<li>Mpris integration (Media keys &amp; playback info for desktop environment)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45773\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode-700x483.webp\" alt=\"\" width=\"610\" height=\"421\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode-700x483.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode-300x207.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode-768x530.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/cozy-darkmode.webp 1192w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Option 1: How to Install Cozy in Ubuntu via Official PPA:<\/h3>\n<p>Cozy has an <a href=\"https:\/\/launchpad.net\/~cozy-team\/+archive\/ubuntu\/cozy\" target=\"_blank\" rel=\"noopener\">official Ubuntu PPA<\/a> that so far contains packages for Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04.<\/p>\n<p><b>NOTE: Due to <a href=\"https:\/\/github.com\/geigi\/cozy\/issues\/710\" target=\"_blank\" rel=\"noopener\">this bug<\/a>, copy has package conflict to Gnome Extension Manger app. If you want to install both apps in your system, use the Flatpak package (See Option 2) instead!<\/b><\/p>\n<p>Though <b>Ubuntu 20.04<\/b> is not supported due to outdated libraries, it still can be installed via little modification.<\/p>\n<p><b>1. Add Cozy PPA<\/b><\/p>\n<p>Firstly press Ctrl+Alt+T on keyboard or search for and open &#8216;terminal&#8217; from start menu. When it opens, run command to add the PPA repository:<\/p>\n<pre>sudo add-apt-repository ppa:cozy-team\/cozy<\/pre>\n<p><i>Type user password, no asterisk feedback, when it asks and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-ppa-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-34374\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-ppa-1.png\" alt=\"\" width=\"600\" height=\"205\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-ppa-1.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-ppa-1-300x103.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2. Install dependencies and modify PPA for Ubuntu 20.04 ONLY!<\/b><\/p>\n<p>For <i>Ubuntu 20.04<\/i> and <i>Linux Mint 20<\/i>, you can either tweak PPA and install mismatched dependency libraries manually, or install <b>Flatpak<\/b> package (<i>see next step<\/i>) instead.<\/p>\n<p>a.) Open &#8220;Software &amp; Updates&#8221; utility, and navigate to &#8220;Other Software&#8221; tab. There choose and edit the Cozy PPA repository, and <b>change value <i>focal<\/i> to <i>hirsute<\/i> for Distribution<\/b> so it will install the package for Ubuntu 21.04 Hirsute instead.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-34375\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute-600x306.jpg\" alt=\"\" width=\"600\" height=\"306\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute-600x306.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute-300x153.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute-768x392.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/cozy-hirsute.jpg 1096w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>b.) Open terminal (Ctrl+Alt+T) and run commands to download &amp; install updated python3-peewee and python3-mutagen libraries.<\/p>\n<ul>\n<li>Navigate to the Downloads folder via cd command:\n<pre>cd ~\/Downloads<\/pre>\n<\/li>\n<li>Download python3-peewee via wget network downloader:\n<pre>wget -c http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/p\/peewee\/python3-peewee_3.13.1+dfsg-1_amd64.deb<\/pre>\n<\/li>\n<li>And download python3-mutagen via command:\n<pre>wget -c http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/m\/mutagen\/python3-mutagen_1.45.0-1_all.deb<\/pre>\n<\/li>\n<li>Finally install both packages via:\n<pre>sudo apt install .\/python3-peewee*.deb .\/python3-mutagen*.deb<\/pre>\n<\/li>\n<\/ul>\n<p><b>NOTE:<\/b> since the command download &amp; install 64-bit packages for Desktop PC\/Laptop. For mobile or other devices, you can grab them by searching the package name in <a href=\"https:\/\/packages.ubuntu.com\/\" target=\"_blank\" rel=\"noopener\">packages.ubuntu.com<\/a>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/install-python3-peewee.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-34376\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/install-python3-peewee.png\" alt=\"\" width=\"600\" height=\"395\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/install-python3-peewee.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/install-python3-peewee-300x198.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>c.) Add PPA for Libhandy-1 library.<\/p>\n<p>Ubuntu 20.04 also lacks libhandy-1 library, which can be installed from another PPA via the maintainer. Open terminal and run command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:apandada1\/libhandy-1<\/pre>\n<p><i>You don&#8217;t have to run a individual command to install the library, because the next apt command will automatically install it as a dependency package.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/libhandy1-ppa.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-34378\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/libhandy1-ppa.png\" alt=\"\" width=\"600\" height=\"342\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/libhandy1-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/libhandy1-ppa-300x171.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>3. Install Cozy via apt command.<\/b><\/p>\n<p>Finally, run command in terminal to install Cozy audiobook player:<\/p>\n<pre>sudo apt install cozy<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-cozy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-34377\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-cozy.png\" alt=\"\" width=\"600\" height=\"291\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-cozy.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/apt-cozy-300x146.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Option 2: How to Install Cozy in Ubuntu 18.04 &amp; Higher via Flatpak:<\/h3>\n<p>Cozy audio book player is available as Flatpak package which runs in sandbox. It&#8217;s an universal package format that installs on most Linux distributions.<\/p>\n<p>Open terminal either via <b>Ctrl+Alt+T<\/b> keyboard shortcut or by searching for &#8216;terminal&#8217; from application menu. When it opens, run following commands one by one.<\/p>\n<p><b>1.<\/b> Copy and paste the command and run to install flatpak framework:<\/p>\n<pre style=\"border: none;\">sudo apt-get install flatpak<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7912\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flatpak-framework-600x74.jpg\" alt=\"\" width=\"600\" height=\"74\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flatpak-framework-600x74.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flatpak-framework-450x56.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flatpak-framework.jpg 720w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Add flathub, the official repository hosts most Flatpak packages:<\/p>\n<pre style=\"border: none;\">flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7913\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flathub-repository-600x82.jpg\" alt=\"\" width=\"600\" height=\"82\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flathub-repository-600x82.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flathub-repository-450x62.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/flathub-repository.jpg 746w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>4.<\/b> Finally install Cozy by running command:<\/p>\n<pre style=\"border: none;\">flatpak install flathub com.github.geigi.cozy<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-9691\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/flatpak-cozy-600x258.jpg\" alt=\"\" width=\"600\" height=\"258\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/flatpak-cozy-600x258.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/flatpak-cozy-450x194.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/flatpak-cozy-768x330.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/01\/flatpak-cozy.jpg 772w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once installed, launch the software either from application menu and enjoy!<\/p>\n<h4>Uninstall Cozy:<\/h4>\n<p>To remove the Flatpak package, run command in terminal:<\/p>\n<pre style=\"border: none;\">flatpak uninstall --delete-data com.github.geigi.cozy<\/pre>\n<p>For Cozy installed via Ubuntu PPA, remove it via command:<\/p>\n<pre>sudo apt remove --autoremove cozy<\/pre>\n<p>NOTE: the command may also remove libhandy-1 as well as Gnome Tweaks. Don&#8217;t worry, just install Gnome Tweaks back and it will re-depends on libhandy 0.x in Ubuntu 20.04.<\/p>\n<p>To remove the Ubuntu PPAs, either open &#8220;Software &amp; Updates&#8221; and go to &#8220;Other Software&#8221; tab, or run command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:apandada1\/libhandy-1<\/pre>\n<pre>sudo add-apt-repository --remove ppa:cozy-team\/cozy<\/pre>","protected":false},"excerpt":{"rendered":"<p>Cozy is an open-source audio book player with a modern user interface. It&#8217;s written in Python programming language. Since version 1.3.0, the app is ported to GTK+ 4 and LibAdwaita for its user interface, and works in Linux and Mac OS. Cozy automatically scans media library and imports your audiobooks in one directory. You can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34380,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,9],"tags":[1859],"class_list":["post-9687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-review","category-howtos","tag-audio-book-player"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9687","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=9687"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9687\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34380"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}