simple-scan: cannot open "save file" dialog
Author: Markus-NCreated May 7, 2025Updated Jun 5, 2026
Labelsneedinfo
Description
I'm using firejail on Arch Linux with XFCE desktop. When starting simple-scan via firejail, I can not save the scanned documents, the "save file" dialog does not even open. Running simple-scan directly works fine.
Steps to Reproduce
Steps to reproduce the behavior
- Run in bash
LC_ALL=C firejail /path/to/program(LC_ALL=Cto get a consistent output in English that can be understood by everybody) - Start scan
- Click on the "Export" button (left of the hamburger menu)
Expected behavior
The "Save file" dialog should open.
Actual behavior
When I click on the "Export" button, nothing happens.
Behavior without a profile
What changed calling LC_ALL=C firejail --noprofile /path/to/program in a terminal?
Works normally.
Additional context
Any other detail that may help to understand/debug the problem
As I'm using simple-scan rarely, I can not tell when the problem was introduced. What I know is: Maybe it never would have worked with firejail, but was not included in /etc/firejail/firecfg.config until recently.
Environment
- Name/version/arch of the Linux kernel (
uname -srm): Linux TuxServer 6.12.23-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 10 Apr 2025 13:28:36 +0000 x86_64 GNU/Linux - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Arch Linux
- Name/version of the relevant program(s)/package(s): simple-scan 48.1-1
- Version of Firejail (
firejail --version): firejail version 0.9.74 - If you use a development version of firejail, also the commit from which it
was compiled (
git rev-parse HEAD): N/A
Checklist
- The issues is caused by firejail (i.e. running the program by path (e.g.
/usr/bin/vlc) "fixes" it). - I can reproduce the issue without custom modifications (e.g. globals.local).
- The program has a profile. (If not, request one in
https://github.com/netblue30/firejail/issues/1139) - The profile (and redirect profile if exists) hasn't already been fixed upstream.
- I have performed a short search for similar issues (to avoid opening a duplicate).
- I'm aware of
browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers. - I used
--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)
Log
Output ofLC_ALL=C firejail /path/to/program
LC_ALL=C firejail /usr/bin/simple-scan
Reading profile /etc/firejail/simple-scan.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.74
Seccomp list in: !ioperm, check list: @default-keep, prelist: unknown,
Parent pid 705466, child pid 705471
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Base filesystem installed in 270.99 ms
Seccomp list in: !ioperm, check list: @default-keep, prelist: unknown,
Child process initialized in 327.46 ms
(simple-scan:6): Gtk-WARNING **: 17:41:09.504: Creating a portal monitor failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/705481/root
MIB search path: /home/markus/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (UCD-IPFWACC-MIB): At line 0 in (none)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
(simple-scan:6): Gtk-WARNING **: 17:41:22.111: Calling org.freedesktop.portal.Inhibit.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/705481/rootLC_ALL=C firejail --debug /path/to/program
Source: netblue30/firejail