How to Add Folder Shortcuts to the Xfce Menu

To add file folders to the Xfce menu, create application launchers that open each folder in Thunar. You can group them under a custom category such as Places, then choose a folder name and command for each entry. Clicking a menu item opens the folder; it does not display the folder contents inside the menu.

MenuLibre open on an Xfce desktop with the Add Launcher option selected from the plus menu.
In MenuLibre, use the plus menu to add a launcher or a menu directory.

Before you start

This method uses MenuLibre, a graphical menu editor used with Xfce in Xubuntu. It can create launchers and categories, and lets you edit a launcher's name, command, and icon. If MenuLibre is not installed, look for MenuLibre or menulibre in your Linux distribution's software center or package repository. Package names and availability differ by distribution, so use its official software source.

Open the editor from Menu → Settings Manager → Menu Editor, or right-click the Applications Menu button and choose Edit Applications. Some distributions label these options differently. If you already have a menu editor, you can use it as long as it edits the Xfce Applications menu.

Xfce's menu is built from application launchers and a menu layout. The Xfce documentation describes adding desktop entries for menu items, while Xubuntu documents MenuLibre for creating launchers and categories. That makes a launcher a practical way to put a folder one click away.

Add a folder shortcut with MenuLibre

  1. Create a category. In MenuLibre, click the plus button and choose Add Directory. Enter a category name, such as Places. This category acts like a submenu for the folder shortcuts you create.
  2. Select the category. Click Places in the menu tree so the new launcher is added in the right location.
  3. Add a launcher. Click the plus button, choose Add Launcher, and enter a clear name for the folder. For example, use Documents for your Documents directory.
Launcher Properties showing the name Documents and the command thunar /home/alex/Documents.
Set the launcher name and point its command to the folder path you want Thunar to open.

In the launcher's Command field, enter thunar /home/alex/Documents, replacing /home/alex/Documents with the full path to your own folder. You can find the path in Thunar by opening the folder and checking the location bar. For a path containing spaces, put the path in quotation marks, for example thunar "/home/alex/Work Files". Use the actual folder path rather than the placeholder username in an example.

Thunar is Xfce's file manager. When you select this launcher, Xfce runs Thunar with the chosen directory. The folder must exist, and your account needs permission to open it. Leave Run in terminal unchecked because this command opens a graphical file manager.

MenuLibre menu tree with a Places category and a Documents launcher selected beneath it.
Keep folder launchers together by placing them inside a Places category.
  1. Choose an icon and save. Click the icon area if you want a folder-specific icon; this is optional. Then save the launcher in MenuLibre. Repeat the launcher step for each folder, keeping the entries together under Places.
  2. Test the menu entry. Open the Xfce Applications Menu, select Places, and click the folder name. Thunar should open at that location.

If the shortcut does not appear

  • Check the command. Confirm the path is correct and that the folder exists. If the path includes spaces, quote it. You can run the same command in a terminal to see whether Thunar can open the directory.
  • Check the menu editor target. Menu tools can edit different menu files. Alacarte, for example, follows the Freedesktop menu specification and edits the menu selected by the XDG_MENU_PREFIX environment variable. Make sure it is editing the Xfce menu before saving changes. MenuLibre is the editor documented by Xubuntu for this workflow.
  • Refresh the menu. Close and reopen the menu after saving. If your distribution caches menu data, log out and back in or restart the panel using your distribution's usual method.

Optional: search for folder launchers

If you use Whisker Menu, its search can find applications by their names and descriptions. Give each launcher a distinctive name, such as Projects Folder, to make it easier to find. The search finds the launcher entry; it does not search the files inside that folder or match the folder's full path. To add Whisker Menu, install the xfce4-whiskermenu-plugin package from your distribution's repository, then right-click the panel and use Panel → Add New Items. You can keep the regular Applications Menu if you prefer.

Whisker Menu open to Places with Documents and Downloads entries beside a Thunar window.
In Whisker Menu, the Places category can list folder launchers while Thunar opens the selected directory.

For reference, see the Xubuntu Menu Editor documentation, the MenuLibre project, and Xfce's menu customization notes. The Whisker Menu documentation explains its application search, and the Alacarte manual documents how it selects a menu file.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.