
{"id":46802,"date":"2024-06-24T14:56:02","date_gmt":"2024-06-24T14:56:02","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46802"},"modified":"2024-06-24T14:56:02","modified_gmt":"2024-06-24T14:56:02","slug":"celluloid-floating-header-bar","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/06\/celluloid-floating-header-bar\/","title":{"rendered":"Celluloid, GTK4 GUI for MPV, Adds Floating Header-bar, Faster Loading"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43038\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/08\/gnome-mpv.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Celluloid, free open-source GTK4 GUI front-end for MPV, released new 0.27 version hours ago.<\/p>\n<p>Celluloid, formerly GNOME MPV, is a media player interacts with mpv via the client API, allowing access to mpv&#8217;s powerful playback capabilities, while providing a modern user interface that looks native in Ubuntu, Fedora Workstation, and other Linux with GNOME Desktop.<\/p>\n<p>The new 0.27 release introduced <b>floating header-bar<\/b> in the windowed mode. It can be enabled, along with floating controls, either in &#8220;Preference&#8221; dialog or by running <code>gsettings<\/code> command. They only appear when moving mouse cursor over the video, so user can watch video without distraction.<\/p>\n<div id=\"attachment_46803\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-46803\" class=\"size-large wp-image-46803\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-649x700.webp\" alt=\"\" width=\"610\" height=\"658\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-649x700.webp 649w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-278x300.webp 278w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header-768x828.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/mpv-floating-header.webp 856w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-46803\" class=\"wp-caption-text\">Floating header-bar &amp; controls only appear on mouse hover<\/p><\/div>\n<p><!--more--><\/p>\n<p>The release also <b>improved mpv scripts support<\/b>. It now supports for loading script-opts files, and loading scripts in directories (e.g., sub-folders in <code>$HOME\/.config\/celluloid\/scripts<\/code>). As well, the plugin manager can now detect and delete plugins in directories.<\/p>\n<p>According to the <a href=\"https:\/\/github.com\/celluloid-player\/celluloid\/releases\" target=\"_blank\" rel=\"noopener\">Github releases page<\/a>, Celluloid 0.27 also speed up the main window loading time, though I cannot feel the difference in my test in Ubuntu laptop. It also added <b>Alt + Arrow Keys<\/b> to pan video left, right, up, or down, <b>Alt + Plus\/Minus<\/b> to zoom in\/out video, and <b>Alt + Space<\/b> to reset to default.<\/p>\n<p>For watching online videos, the media player now is more friendly by displaying &#8220;Loading&#8221; screen instead of blank, during initialization and buffering.<\/p>\n<div id=\"attachment_46804\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-46804\" class=\"size-large wp-image-46804\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading-700x411.webp\" alt=\"\" width=\"610\" height=\"358\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading-700x411.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading-300x176.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading-768x451.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/celluloid-loading.webp 1288w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-46804\" class=\"wp-caption-text\">Display loading screen instead of just blank<\/p><\/div>\n<p>Other changes in Celluloid include:<\/p>\n<ul>\n<li>Set <code>--slang=auto<\/code> by default,<\/li>\n<li>Remove support for the mpv property &#8220;border&#8221;,<\/li>\n<li>Hide playlist button in full-screen mode,<\/li>\n<li>Remove colon from labels,<\/li>\n<li>Fix getting stuck on load screen when opening subtitle files,<\/li>\n<li>Change the icon of &#8220;Interface&#8221; in Preference dialog.<\/li>\n<\/ul>\n<h3>How to Install Celluloid 0.27<\/h3>\n<p>Besides building from source code, Celluloid is available to install via following ways.<\/p>\n<p>Option 1: <a href=\"https:\/\/launchpad.net\/~xuzhen666\/+archive\/ubuntu\/gnome-mpv\/\" target=\"_blank\" rel=\"noopener\">Ubuntu PPA<\/a> that contains the .deb package for Ubuntu 23.10 and Ubuntu 24.04. Just press <code>Ctrl+Alt+T<\/code> to open terminal, and run the commands below one by one to add PPA &amp; install the media player:<\/p>\n<pre>sudo add-apt-repository ppa:xuzhen666\/gnome-mpv<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install celluloid<\/pre>\n<p>Option 2: All current Ubuntu releases can install the media player as Snap package (though NOT updated to 0.27 at the moment of writing), which runs in sandbox environment. Just search for and install it in <b>Ubuntu Software<\/b> or <b>App Center<\/b>.<\/p>\n<p>Option 3: For all Linux, the player is also available to install as <a href=\"https:\/\/flathub.org\/apps\/io.github.celluloid_player.Celluloid\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> that runs in sandbox. And, Ubuntu users can run the 2 commands below one by one to install the package:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/io.github.celluloid_player.Celluloid.flatpakref<\/pre>\n<h3>Uninstall Celluloid<\/h3>\n<p>To uninstall the media player deb package, open terminal and run command:<\/p>\n<pre>sudo apt remove celluloid<\/pre>\n<p>Also remove the PPA via command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:xuzhen666\/gnome-mpv<\/pre>\n<p>For the Snap package, use either App Center (Ubuntu Software) or run command:<\/p>\n<pre>snap remove --purge celluloid<\/pre>\n<p>To uninstall the Flatpak package, use command:<\/p>\n<pre>flatpak uninstall --delete-data io.github.celluloid_player.Celluloid<\/pre>\n<p>Also, run <code>flatpak uninstall --unused<\/code> to remove useless run-time dependency libraries.<\/p>","protected":false},"excerpt":{"rendered":"<p>Celluloid, free open-source GTK4 GUI front-end for MPV, released new 0.27 version hours ago. Celluloid, formerly GNOME MPV, is a media player interacts with mpv via the client API, allowing access to mpv&#8217;s powerful playback capabilities, while providing a modern user interface that looks native in Ubuntu, Fedora Workstation, and other Linux with GNOME Desktop. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43038,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1635,614,1232],"class_list":["post-46802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-gnome-mpv","tag-media-player","tag-mpv"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46802","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=46802"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46802\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43038"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}