mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7096] Add a profile for Heroic Games Launcher #3486
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3486
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @voiduser123321 on GitHub (Mar 8, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7096
Description
When running the program with --build --appimage combo, Heroic Games Launcher window only shows blank screen. After saving the resulting profile and commenting out almost every restriction (attached custon profile for reference below), run the launcher with options --profile=heroic --appimage, and the launcher appears to work as intended at first, but installed games silently fail to launch.
Steps to Reproduce
LC_ALL=C firejail --profile=heroic --appimage /usr/local/bin/heroicExpected behavior
I expect both Heroic Games Launcher and installed games to launch properly.
Actual behavior
Instead the games silently fail to launch.
Behavior without a profile
When run with a --noprofile option, "Against the Storm" fails to launch with the following error:
Failed to initialize graphics. Make sure you have DirectX 11 installed, have up to date drivers for your graphics card and have not disabled 3D acceleration in display settings. InitializeEngineGraphics failedOther games appear to run without problems.
Additional context
Attaching my custom profile for reference below:
include /usr/local/bin/heroic
include globals.local
noblacklist ${HOME}/.config/Epic
noblacklist ${HOME}/.config/MangoHud
noblacklist ${HOME}/.local/share/Steam
noblacklist ${HOME}/.local/share/vulkan
noblacklist ${HOME}/.steam
noblacklist ${HOME}/.steampath
noblacklist ${HOME}/.steampid
noblacklist /sbin
noblacklist /usr/sbin
include allow-java.inc
include allow-python2.inc
include allow-python3.inc
whitelist ${HOME}/.cache/nvidia
whitelist ${HOME}/.config/Epic
whitelist ${HOME}/.config/MangoHud
whitelist ${HOME}/.config/heroic
whitelist ${HOME}/.config/legendary
whitelist ${HOME}/.config/vulkan
whitelist ${HOME}/.config/vulkan/loader_settings.d
whitelist ${HOME}/.local/share/Steam
whitelist ${HOME}/.local/share/lutris/runners/wine
whitelist ${HOME}/.local/share/applnk
whitelist ${HOME}/.local/share/vulkan
whitelist ${HOME}/.local/share/vulkan/implicit_layer.d
whitelist ${HOME}/.local/share/vulkan/loader_settings.d
whitelist ${HOME}/.local/state/Heroic
whitelist ${HOME}/.nv
whitelist ${HOME}/.steam/steam/steamapps
whitelist ${HOME}/.steam
whitelist ${HOME}/.steampath
whitelist ${HOME}/.steampid
whitelist ${HOME}/.var/app/com.valvesoftware.Steam/.steam
whitelist ${HOME}/Documents
whitelist ${HOME}/Games
whitelist /run/modprobe.d
whitelist /run/udev/control
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-var-common.inc
nonewprivs
noroot
protocol unix,inet,inet6,netlink,
Environment
Linux 6.12.76_1 x86_64):Void Linux):Heroic-2.20.1-linux-x86_64.AppImage):firejail version 0.9.79):Checklist
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877)/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)@kmk3 commented on GitHub (Mar 10, 2026):
For debugging, you can try to comment lines until it works and then adapt the
profile.
If it does not work even with
--noprofileor--profile=noprofile, then theprogram is not supported and you'd likely need to dive into the code to figure
out why.