{"id":43315,"date":"2022-11-14T12:20:22","date_gmt":"2022-11-14T12:20:22","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43315"},"modified":"2024-05-08T15:10:26","modified_gmt":"2024-05-08T15:10:26","slug":"desktop-icons-gtk4-port-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/11\/desktop-icons-gtk4-port-ubuntu\/","title":{"rendered":"Use GTK4 port of Desktop Icons NG Extension in Ubuntu 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-34682\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>As you may know, icons on Ubuntu desktop is handled by an extension called &#8220;Desktop Icons NG&#8221;. While GNOME has been moving to GTK4, the extension so far still uses GTK3 toolkit to implement all the functions.<\/p>\n<p>A GTK4 port of this extension now is in development, with all previous functions, bug-fixes, as well new features.<\/p>\n<p>The new version works as another extension as it&#8217;s not been merged upstream. It comes with GSconnect integration, and features <b>drag and drop app icons from Ubuntu Dock (Dash-to-Dock) to the desktop.<\/b><\/p>\n<ul>\n<li>Drag and drop from left dock panel to desktop will REMOVE app icon from favorites.<\/li>\n<li>Hold <b>Ctrl<\/b> + drag and drop will REMOVE from favorites, and ADD onto desktop.<\/li>\n<li>Hold <b>Shift<\/b> + drag and drop will ADD icon to desktop without removing it from favorites.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/ding-drop-icon.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43316\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/ding-drop-icon.gif\" alt=\"\" width=\"600\" height=\"440\" \/><\/a><\/p>\n<p>Also, it adds more functions to drag and drop files from file manager (Nautilus) to the desktop. By default, drag and drop between desktop and Nautilus will <b>MOVE<\/b> the files from one to another directory. With the new extension, you can also:<\/p>\n<ul>\n<li>Press and hold <b>Ctrl<\/b> + drag&#8217;n&#8217;drop to COPY files.<\/li>\n<li>Press and hold <b>Alt<\/b> + drag and drop to select between &#8216;MOVE&#8217;, &#8216;COPY&#8217;, &#8216;LINK&#8217; actions.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/dragdrop-ding4.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-43317\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/dragdrop-ding4.gif\" alt=\"\" width=\"600\" height=\"298\" \/><\/a><\/p>\n<p>As well, it has a GNOME 43 style file context menu when you right-clicking on desktop. When looks more native in Ubuntu 22.04, except for the arrow &#8230;<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/ding4-menu.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-43318\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/ding4-menu.gif\" alt=\"\" width=\"600\" height=\"359\" \/><\/a><\/p>\n<h3>Install GTK4 port of Desktop Icons NG:<\/h3>\n<p>1. Ubuntu 22.04+ users can <i><b>first search for and install &#8216;Extension Manager&#8217; app<\/b><\/i> from Ubuntu Software.<\/p>\n<div id=\"attachment_42539\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42539\" class=\"size-large wp-image-42539\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-600x355.webp\" alt=\"\" width=\"600\" height=\"355\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-600x355.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter-768x454.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/extension-manager-softwarecenter.webp 845w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-42539\" class=\"wp-caption-text\">Install Extension Manager in Ubuntu 22.04+<\/p><\/div>\n<p>2. Then press Super (&#8216;Windows&#8217; logo) key on keyboard to open overview, search and open the tool.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39607\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp\" alt=\"\" width=\"548\" height=\"281\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager.webp 548w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/launch-extensionmanager-300x154.webp 300w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/a><\/p>\n<p>3. Finally, search &#8216;DING&#8217; and install the new extension under &#8216;Browse&#8217; tab.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43319\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4-600x470.webp\" alt=\"\" width=\"600\" height=\"470\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4-600x470.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4-300x235.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4-768x601.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/install-dinggtk4.webp 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>4. To use the extension, user has to disable the system built-in &#8216;Desktop Icons NG&#8217; extension, and enable the new GTK4 version.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43320\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4-600x433.webp\" alt=\"\" width=\"600\" height=\"433\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4-600x433.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4-300x217.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4-768x555.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/11\/enable-ding4.webp 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>To restore, just re-enable &#8216;Desktop Icons NG&#8217;, disable or remove the GTK4 version via Extension Manager.<\/p>","protected":false},"excerpt":{"rendered":"<p>As you may know, icons on Ubuntu desktop is handled by an extension called &#8220;Desktop Icons NG&#8221;. While GNOME has been moving to GTK4, the extension so far still uses GTK3 toolkit to implement all the functions. A GTK4 port of this extension now is in development, with all previous functions, bug-fixes, as well new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34682,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[689],"class_list":["post-43315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43315","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=43315"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43315\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34682"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}