{"id":45726,"date":"2024-03-04T09:59:40","date_gmt":"2024-03-04T09:59:40","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45726"},"modified":"2024-03-04T09:59:40","modified_gmt":"2024-03-04T09:59:40","slug":"gnome-loupe-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/03\/gnome-loupe-ubuntu\/","title":{"rendered":"Install GNOME Loupe Image Viewer &#038; Set Default in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-45727\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Loupe is the core image viewer app for GNOME since version 45, but it&#8217;s so far not made default in Ubuntu.<\/p>\n<p>It&#8217;s a fully adaptive image viewer that supports mobile form factors. It&#8217;s touch-friendly that supports 2-finger swipe left\/right to navigate, 2-finger pinch\/stretch to zoom out\/in, and 2-finger gestures to rotate images.<\/p>\n<p>Other features of <a href=\"https:\/\/apps.gnome.org\/Loupe\/\" target=\"_blank\" rel=\"noopener\">Loupe<\/a> include fast GPU accelerated image rendering, tiled rendering for vector graphics, sandboxed image decoding, and more.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45728\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer-700x348.webp\" alt=\"\" width=\"610\" height=\"303\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer-700x348.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer-300x149.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer-768x382.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-image-viewer.webp 1241w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>Loupe is made into system repository since Ubuntu 24.04. It&#8217;s also available to install as Snap and Flatpak run in sandbox. Choose install any one that you prefer.<\/p>\n<h3>Option 1: Install Loupe Image Viewer .deb package<\/h3>\n<p>For the native <code>.deb<\/code> package, simply press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, and run command:<\/p>\n<pre>sudo apt install loupe<\/pre>\n<p><i>If unable to locate the package, make sure &#8216;main&#8217; and &#8216;universe&#8217; repositories enabled in <code>Software &amp; Updates<\/code>, and run <code>sudo apt update<\/code> to refresh your system package cache.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45729\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-loupe.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The <code>.deb<\/code> package in my case has permission issue loading photo images. When trying to open an image, it says &#8220;<code>Could not Load Image, Loader process exited early: exit status 1<\/code>&#8220;. By launching from command line will output error: <b>bwrap: Creating new namespace failed: Permission denied.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45730\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage-700x549.webp\" alt=\"\" width=\"610\" height=\"478\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage-700x549.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage-768x602.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-notloadimage.webp 875w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>This is a bubblewrap permission issue, that may also occur in other apps using the tool. As a workaround, just run command in terminal:<\/p>\n<pre>sudo chmod u+s \/usr\/bin\/bwrap<\/pre>\n<p>This command set user ID on execution. Meaning any user runs <code>bwrap<\/code>, the program gets full user (root in the case) privilege. This can be a security hole. <b>Don&#8217;t do it in production machine and run it as your own risk!<\/b><\/p>\n<h3>Option 2: Install Loupe via Snap package<\/h3>\n<p>For those who are OK with snap package runs in sandbox, Canonical (the company behind Ubuntu) maintains the image viewer as Snap for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04.<\/p>\n<p>Simply launch Ubuntu Software or App Center, than search and install <code>loupe<\/code> (or Image Viewer).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45731\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap-700x452.webp\" alt=\"\" width=\"610\" height=\"394\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap-700x452.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap-300x194.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap-768x496.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-snap.webp 1009w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, and run command to install the snap package instead:<\/p>\n<pre>sudo snap install loupe<\/pre>\n<h3>Option 3: Install Loupe via Flatpak package<\/h3>\n<p>For those who prefer Flatpak, GNOME team maintains loupe image viewer as this universal Linux package format runs in sandbox.<\/p>\n<p><b>Linux Mint 21+<\/b> and <b>Fedora 38\/39<\/b> (with 3rd party repository enabled) can directly search for and install it from either Software Manager or GNOME Software.<\/p>\n<p>For <b>Ubuntu and other Linux<\/b>, follow the steps below one by one to install the image viewer as Flatpak package:<\/p>\n<ol>\n<li>Ubuntu user can press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal. Then, run command to enable Flatpak support:\n<pre>sudo apt install flatpak<\/pre>\n<p>While most other Linux can follow the <a href=\"https:\/\/flatpak.org\/setup\" target=\"_blank\" rel=\"noopener\">setup guide<\/a> instead.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Then, install the viewer as Flatpak package by running the command below in terminal:\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/org.gnome.Loupe.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45733\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe-700x562.webp\" alt=\"\" width=\"610\" height=\"490\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe-700x562.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe-300x241.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe-768x617.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/flatpak-loupe.webp 936w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ol>\n<p>NOTE: First time installing Flatpak package needs a log out and back in to make app icon visible in start menu or show apps menu.<\/p>\n<h3>Set Loupe Image Viewer as default<\/h3>\n<p>For current Ubuntu 20.04 and Ubuntu 22.04, open &#8220;Settings&#8221; and navigate to &#8220;Default Applications&#8221; in left pane, then select <code>Image Viewer<\/code> for Photos.<\/p>\n<p>For Ubuntu 24.04, open &#8216;Settings&#8217; and navigate to <code>Apps -&gt; Default Apps<\/code>. Then, select the default app for Photos.<\/p>\n<p><i>NOTE: The current Eyes of GNOME and Loupe are both named &#8220;<code>Image Viewer<\/code>&#8220;. Either use the app icon (if displayed) to identify or choose them one by one to verify.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45734\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer-700x522.webp\" alt=\"\" width=\"610\" height=\"455\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer-700x522.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer-300x224.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer-768x573.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/set-default-imageviewer.webp 1110w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For choice, you may also right-click on your photo image, and go &#8220;<b>Properties<\/b>&#8221; (or <b>Open With &#8230;<\/b> for 24.04), then choose the new image viewer and set it as default app for opening this type of image.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-default.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45735\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-default.webp\" alt=\"\" width=\"558\" height=\"682\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-default.webp 558w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/loupe-default-245x300.webp 245w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/p>\n<h3>Uninstall Loupe Image Viewer<\/h3>\n<p>Depends on how you installed the image viewer, choose one of the methods below to uninstall it:<\/p>\n<ul>\n<li>For the <code>.deb<\/code> package, open terminal (Ctrl+Alt+T) and run command to remove it:\n<pre>sudo apt remove --autoremove loupe<\/pre>\n<\/li>\n<li>For the Snap package, use either Ubuntu Software (App Center) or run command:\n<pre>sudo snap remove loupe<\/pre>\n<\/li>\n<li>And, the Flatpak package can be removed by running command:\n<pre>flatpak uninstall --delete-data org.gnome.Loupe<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to clear useless run-time libraries.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Loupe is the core image viewer app for GNOME since version 45, but it&#8217;s so far not made default in Ubuntu. It&#8217;s a fully adaptive image viewer that supports mobile form factors. It&#8217;s touch-friendly that supports 2-finger swipe left\/right to navigate, 2-finger pinch\/stretch to zoom out\/in, and 2-finger gestures to rotate images. Other features of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":45727,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[689,575],"class_list":["post-45726","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome","tag-image-viewer"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45726","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=45726"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45726\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/45727"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}