{"id":45233,"date":"2024-01-16T15:19:06","date_gmt":"2024-01-16T15:19:06","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45233"},"modified":"2024-10-12T14:53:05","modified_gmt":"2024-10-12T14:53:05","slug":"menulibre-edit-app-shortcuts","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/01\/menulibre-edit-app-shortcuts\/","title":{"rendered":"MenuLibre &#8211; Advanced tool to Edit App Shortcuts in Start Menu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-45234\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Need a tool to edit your apps in the start menu, main menu, or Gnome overview search results? Try MenuLibre!<\/p>\n<p>In most Linux, all app icons you see in start menu, dock launcher, and the desktop, are handled by <code>.desktop<\/code> config files. By editing the file, you can change the app icon, name, hide the app, add right-click menu option, and choose which file types to be associated with.<\/p>\n<p>I&#8217;m written about how to <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/12\/command-edit-desktop-file-linux\/\" target=\"_blank\" rel=\"noopener\">configure <code>.desktop<\/code> file using a single command<\/a>.<\/p>\n<p>For graphical ways, there are quite a few apps to do the job, and here are 3 of them:<\/p>\n<ul>\n<li><a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2019\/05\/arronax-graphical-tool-create-desktop-launcher-in-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Arronax<\/a> &#8211; well known, but seems not being updated. Though, it&#8217;s still working.<\/li>\n<li><a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2019\/09\/appeditor-simple-tool-edit-application-menu-entries\/\" target=\"_blank\" rel=\"noopener\">AppEditor<\/a> &#8211; Elementary OS style tool to edit desktop menu entries. However, lacks pre-build packages.<\/li>\n<li>MenuLibre &#8211; the one I&#8217;m going to introduce in this tutorial.<\/li>\n<\/ul>\n<p>MenuLibre is an advanced tool written in Python and GTK3 toolkit. With it, user can get started by either searching or browsing in left to select app to edit, or click &#8220;+&#8221; in top left to create new menu entry for your app.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45238\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart-700x497.webp\" alt=\"\" width=\"610\" height=\"433\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart-700x497.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart-300x213.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart-768x545.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-getstart.webp 1029w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><br \/>\n<!--more--><\/p>\n<p>It supports all the desktop entries installed on your system, include <b>Flatpak<\/b>, <b>Snap<\/b>, native <b>DEB\/RPM<\/b>, and manually create <code>.desktop<\/code> files under <i>.local\/share\/applications<\/i> directory.<\/p>\n<p>It&#8217;s easy to use thanks to the tool-tips! Simply move mouse cursor over any button or text, that you don&#8217;t know what does it do, then it will show you more detailed description via a blank and white tooltip.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45239\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main-700x480.webp\" alt=\"\" width=\"610\" height=\"418\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main-700x480.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main-300x206.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main-768x526.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-main.webp 1138w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>And, it include handy buttons on top to <b>undo<\/b>, <b>redo<\/b>, <b>revert<\/b> changes, test launcher before saving, and &#8220;Delete&#8221; button if the file belong to you. As you see in the bottom, it as well shows full path to the file that you&#8217;re currently editing.<\/p>\n<h3>How to Install MenuLibre in Ubuntu &amp; Other Linux<\/h3>\n<p>The tool is available in the system repositories of Ubuntu, Debian, Fedora, RHEL, and Arch (AUR).<\/p>\n<p>For Ubuntu, the system package is <b>however a bit old<\/b>. Users can either search for &amp; install it from Ubuntu Software (or App Center), or open terminal (<code>Ctrl+Alt+T<\/code>) and run command:<\/p>\n<pre>sudo apt install menulibre<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45240\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre-700x454.webp\" alt=\"\" width=\"610\" height=\"396\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre-700x454.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/apt-menulibre.webp 822w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>For the latest version,<\/b> choose either Flatpak or Ubuntu PPA.<\/p>\n<h4>Option 1: Ubuntu PPA<\/h4>\n<p>For those who prefer the native <code>.deb<\/code> package, I&#8217;ve built the most recent version into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/menulibre\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04.<\/p>\n<p>1. Press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, then run command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/menulibre<\/pre>\n<p><i>Type user password when it asks (no visual feedback) and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45241\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa-700x454.webp\" alt=\"\" width=\"610\" height=\"396\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa-700x454.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/menulibre-ppa.webp 822w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. Then, run command to install or upgrade the package:<\/p>\n<pre>sudo apt install menulibre<\/pre>\n<p><i>Linux Mint users need to run <code>sudo apt update<\/code> first to manually refresh system cache.<\/i><\/p>\n<h4>Option 2: Flatpak package<\/h4>\n<p><b>NOTE: Flatpak version seems not support editing Snap apps. At least in my test with v2.3.2<\/b>.<\/p>\n<p>The tool is also available to install as universal <a href=\"https:\/\/flathub.org\/apps\/org.bluesabre.MenuLibre\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> that runs in sandbox for most Linux.<\/p>\n<p><b>Linux Mint 21<\/b> and Fedora 38\/39 (with 3rd party repository enabled) can directly search for and install the package either from Software Manager or GNOME Software.<\/p>\n<p>While <strong>Ubuntu<\/strong> users need to run the commands below one by one to get the Flatpak version:<\/p>\n<ul>\n<li>First, run command to enable flatpak support:\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-39141\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li>Then, install the tool as Flatpak:\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/org.bluesabre.MenuLibre.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45242\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre-700x454.webp\" alt=\"\" width=\"610\" height=\"396\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre-700x454.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/flatpak-menulibre.webp 822w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ul>\n<p>When done, launch the app either from start menu or Gnome overview depends on your desktop environment.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/launch-menulibre.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45243\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/launch-menulibre.webp\" alt=\"\" width=\"515\" height=\"272\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/launch-menulibre.webp 515w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/01\/launch-menulibre-300x158.webp 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><\/p>\n<h3>Uninstall MenuLibre<\/h3>\n<p>Depends on how you installed the tool, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<ul>\n<li>Remove the package installed from PPA or system repository:\n<pre>sudo apt remove --autoremove menulibre<\/pre>\n<p>And, remove the PPA, if added, via command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/menulibre<\/pre>\n<\/li>\n<li>For the Flatpak package, run command to uninstall it:\n<pre>flatpak uninstall --delete-data org.bluesabre.MenuLibre<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to remove useless run-time libraries to free up some disk space.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Need a tool to edit your apps in the start menu, main menu, or Gnome overview search results? Try MenuLibre! In most Linux, all app icons you see in start menu, dock launcher, and the desktop, are handled by .desktop config files. By editing the file, you can change the app icon, name, hide the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":45234,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,9],"tags":[1780],"class_list":["post-45233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-review","category-howtos","tag-edit-application-menu"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45233","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=45233"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/45234"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}