[GH-ISSUE #5239] menulibre: Exec %f was not found in the tree (XFCE) #2930

Open
opened 2026-05-05 09:35:35 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @CocoR55 on GitHub (Jul 6, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5239

Description

This problem occurs with Linux Mint XFCE 20.3 and Menulibre under Firejail version 0.9.68.

Process to reproduce the issue

Right-click on the Menu icon and then edit the applications
An orange band is present in front of the menu. Click for more details

image

If menulibre is commented in /etc/firejail/firecfg.config, there is no problem.
If menulibre is not commented in /etc/firejail/firecfg.config, problems reported in the window are present as:

applications/gdebi.desktop
Exec 'gdebi-gk %f was not found in the tree
applications/gparted.desktop
Exec '/usr/sbin/gparted %f was not found in the tree
etc...

Originally created by @CocoR55 on GitHub (Jul 6, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5239 ### Description This problem occurs with Linux Mint XFCE 20.3 and Menulibre under Firejail version 0.9.68. ### Process to reproduce the issue Right-click on the Menu icon and then edit the applications An orange band is present in front of the menu. Click for more details ![image](https://user-images.githubusercontent.com/44159782/177491501-5b47b879-718b-4e17-81b8-2f69db443ba8.png) If menulibre is commented in /etc/firejail/firecfg.config, there is no problem. If menulibre is not commented in /etc/firejail/firecfg.config, problems reported in the window are present as: applications/gdebi.desktop Exec 'gdebi-gk %f was not found in the tree applications/gparted.desktop Exec '/usr/sbin/gparted %f was not found in the tree etc...
Author
Owner

@CocoR55 commented on GitHub (Jul 8, 2022):

With the same hard, with Linux Mint 20.3 Cinnamon or Mate, there is no problem with the menu.
If I make difference between the two profiles. At menulibre.profile for XFCE, there are more object.
ld.so.cache,ld.so.preload for XFCE and not for Cinnamon
in opposite, Cinnamon has include disable-passwdmgr..inc while XFCE there is not.

<!-- gh-comment-id:1178597191 --> @CocoR55 commented on GitHub (Jul 8, 2022): With the same hard, with Linux Mint 20.3 Cinnamon or Mate, there is no problem with the menu. If I make difference between the two profiles. At menulibre.profile for XFCE, there are more object. ld.so.cache,ld.so.preload for XFCE and not for Cinnamon in opposite, Cinnamon has include disable-passwdmgr..inc while XFCE there is not.
Author
Owner

@CocoR55 commented on GitHub (Jul 10, 2022):

I copied that I saw in Various profiles #3561
so, menulibre.profile becomes:

# Firejail profile for menulibre
# Description: Create desktop and menu launchers easily
# This file is overwritten after every install/update
# Persistent local customizations
include menulibre.local
# Persistent global definitions
include globals.local


ignore read-only ${HOME}/.local/share/applications
ignore read-only ${HOME}/.config/menus

noblacklist ${HOME}/.gnome/apps

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc
#include disable-passwdmgr.inc

# Whitelist your system icon directory,varies by distro
whitelist /usr/share/app-info
whitelist /usr/share/desktop-directories
whitelist /usr/share/icons
whitelist /usr/share/menulibre
whitelist /var/lib/app-info/icons
whitelist /var/lib/flatpak/exports/share/applications
whitelist /var/lib/flatpak/exports/share/icons
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
net none
nodvd
no3d
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix
seccomp
seccomp.block-secondary
shell none
tracelog

disable-mnt
private-cache
private-dev
private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.preload,locale.alias,locale.conf,mime.types,nsswitch.conf,passwd,pki,selinux,X11,xdg
private-tmp

dbus-user none
dbus-system none

read-write ${HOME}/.config/menus
read-write ${HOME}/.gnome/apps
read-write ${HOME}/.local/share/applications
read-write ${HOME}/.local/share/flatpak/exports
<!-- gh-comment-id:1179744813 --> @CocoR55 commented on GitHub (Jul 10, 2022): I copied that I saw in Various profiles #3561 so, menulibre.profile becomes: ```firejail # Firejail profile for menulibre # Description: Create desktop and menu launchers easily # This file is overwritten after every install/update # Persistent local customizations include menulibre.local # Persistent global definitions include globals.local ignore read-only ${HOME}/.local/share/applications ignore read-only ${HOME}/.config/menus noblacklist ${HOME}/.gnome/apps # Allow python (blacklisted by disable-interpreters.inc) include allow-python2.inc include allow-python3.inc include disable-common.inc include disable-devel.inc include disable-exec.inc include disable-interpreters.inc include disable-programs.inc include disable-xdg.inc #include disable-passwdmgr.inc # Whitelist your system icon directory,varies by distro whitelist /usr/share/app-info whitelist /usr/share/desktop-directories whitelist /usr/share/icons whitelist /usr/share/menulibre whitelist /var/lib/app-info/icons whitelist /var/lib/flatpak/exports/share/applications whitelist /var/lib/flatpak/exports/share/icons include whitelist-runuser-common.inc include whitelist-usr-share-common.inc include whitelist-var-common.inc apparmor caps.drop all machine-id net none nodvd no3d nogroups noinput nonewprivs noroot nosound notv nou2f novideo protocol unix seccomp seccomp.block-secondary shell none tracelog disable-mnt private-cache private-dev private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.preload,locale.alias,locale.conf,mime.types,nsswitch.conf,passwd,pki,selinux,X11,xdg private-tmp dbus-user none dbus-system none read-write ${HOME}/.config/menus read-write ${HOME}/.gnome/apps read-write ${HOME}/.local/share/applications read-write ${HOME}/.local/share/flatpak/exports ```
Author
Owner

@CocoR55 commented on GitHub (Jul 10, 2022):

I need to comment include disable-passwdmgr.inc else menulibre does not start.
I don't understand why menulibre.profile starts with:

ignore read-only ${HOME}/.local/share/applications
ignore read-only ${HOME}/.config/menus

and finishes with:

ignore read-only ${HOME}/.local/share/applications
ignore read-only ${HOME}/.config/menus
<!-- gh-comment-id:1179745435 --> @CocoR55 commented on GitHub (Jul 10, 2022): I need to comment include disable-passwdmgr.inc else menulibre does not start. I don't understand why menulibre.profile starts with: ``` ignore read-only ${HOME}/.local/share/applications ignore read-only ${HOME}/.config/menus ``` and finishes with: ``` ignore read-only ${HOME}/.local/share/applications ignore read-only ${HOME}/.config/menus ```
Author
Owner

@CocoR55 commented on GitHub (Jul 10, 2022):

finishes with: (sorry for confusion)

read-write ${HOME}/.local/share/applications
read-write ${HOME}/.local/share/flatpak/exports
<!-- gh-comment-id:1179745677 --> @CocoR55 commented on GitHub (Jul 10, 2022): finishes with: (sorry for confusion) ``` read-write ${HOME}/.local/share/applications read-write ${HOME}/.local/share/flatpak/exports ```
Author
Owner

@CocoR55 commented on GitHub (Jul 10, 2022):

Issue is still present.
applications/gdebi.desktop
Exec 'gdebi-gk %f was not found in the tree
applications/gparted.desktop
Exec '/usr/sbin/gparted %f was not found in the tree
etc...

<!-- gh-comment-id:1179746261 --> @CocoR55 commented on GitHub (Jul 10, 2022): Issue is still present. applications/gdebi.desktop Exec 'gdebi-gk %f was not found in the tree applications/gparted.desktop Exec '/usr/sbin/gparted %f was not found in the tree etc...
Author
Owner

@kmk3 commented on GitHub (Jul 11, 2022):

(Offtopic)

@CocoR55 On future comments, please put code (and profile contents) inside code
blocks to make it more readable and to prevent it from being parsed as
markdown.

Example:

```
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
```

Result:

# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc

Documentation:

<!-- gh-comment-id:1179938967 --> @kmk3 commented on GitHub (Jul 11, 2022): (Offtopic) @CocoR55 On future comments, please put code (and profile contents) inside code blocks to make it more readable and to prevent it from being parsed as markdown. Example: ``` # Allow python (blacklisted by disable-interpreters.inc) include allow-python2.inc include allow-python3.inc ``` Result: ``` # Allow python (blacklisted by disable-interpreters.inc) include allow-python2.inc include allow-python3.inc ``` Documentation: * <https://github.github.com/gfm/#fenced-code-blocks>
Author
Owner

@CocoR55 commented on GitHub (Jul 11, 2022):

OK I will do

<!-- gh-comment-id:1180035309 --> @CocoR55 commented on GitHub (Jul 11, 2022): OK I will do
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2930
No description provided.