Skip to content

Instantly share code, notes, and snippets.

@sztomi
Created June 3, 2022 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sztomi/18217510135f165f0326a690352923d8 to your computer and use it in GitHub Desktop.
Save sztomi/18217510135f165f0326a690352923d8 to your computer and use it in GitHub Desktop.
bwrap-args contents
--bind
/tmp
/tmp
--symlink
usr/sbin
/sbin
--ro-bind
/media
/media
--symlink
usr/lib64
/lib64
--ro-bind
/dev
/dev
--ro-bind
/data
/data
--ro-bind
/boot
/boot
--symlink
usr/libx32
/libx32
--symlink
usr/lib32
/lib32
--symlink
usr/lib
/lib
--ro-bind
/usr
/usr
--ro-bind
/lost+found
/lost+found
--ro-bind
/root
/root
--ro-bind
/sys
/sys
--bind
/run
/run
--bind
/var
/var
--ro-bind
/proc
/proc
--ro-bind
/srv
/srv
--ro-bind
/snap
/snap
--ro-bind
/home
/home
--ro-bind
/mnt
/mnt
--ro-bind
/opt
/opt
--ro-bind
/etc
/etc
--symlink
usr/bin
/bin
--bind
/run/user/1000/.dbus-proxy/
/run/user/1000/.dbus-proxy/
--file
0033
/.flatpak-info
--fd=36
unix:path=/run/user/1000/bus
/run/user/1000/.dbus-proxy/session-bus-proxy-X3X6M1
--filter
--own=tv.plex.PlexHTPC.*
--own=org.mpris.MediaPlayer2.tv.plex.PlexHTPC.*
--talk=org.freedesktop.ScreenSaver
--talk=org.freedesktop.PowerManagement
--call=org.freedesktop.portal.*=*
--broadcast=org.freedesktop.portal.*=@/org/freedesktop/portal/*
unix:path=/run/user/1000/at-spi/bus_1
/run/user/1000/.dbus-proxy/a11y-bus-proxy-NJZ6M1
--filter
--sloppy-names
--call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Embed@/org/a11y/atspi/accessible/root
--call=org.a11y.atspi.Registry=org.a11y.atspi.Socket.Unembed@/org/a11y/atspi/accessible/root
--call=org.a11y.atspi.Registry=org.a11y.atspi.Registry.GetRegisteredEvents@/org/a11y/atspi/registry
--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetKeystrokeListeners@/org/a11y/atspi/registry/deviceeventcontroller
--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.GetDeviceEventListeners@/org/a11y/atspi/registry/deviceeventcontroller
--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersSync@/org/a11y/atspi/registry/deviceeventcontroller
--call=org.a11y.atspi.Registry=org.a11y.atspi.DeviceEventController.NotifyListenersAsync@/org/a11y/atspi/registry/deviceeventcontroller
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files
/usr
--lock-file
/usr/.ref
--ro-bind
/home/tamas/.local/share/flatpak/app/tv.plex.PlexHTPC/x86_64/master/2b55f6a96f5a8a9d3506be288cdda2219880fb8df026c3e6550a726f7b4a12d8/files
/app
--lock-file
/app/.ref
--proc
/proc
--unshare-pid
--dir
/tmp
--dir
/var/tmp
--dir
/run/host
--dir
/run/user/1000
--setenv
XDG_RUNTIME_DIR
/run/user/1000
--symlink
../run
/var/run
--ro-bind
/sys/block
/sys/block
--ro-bind
/sys/bus
/sys/bus
--ro-bind
/sys/class
/sys/class
--ro-bind
/sys/dev
/sys/dev
--ro-bind
/sys/devices
/sys/devices
--ro-bind-try
/proc/self/ns/user
/run/.userns
--symlink
/etc/timezone
/var/db/zoneinfo
--ro-bind-data
0018
/etc/passwd
--ro-bind-data
0019
/etc/group
--ro-bind-data
0020
/etc/pkcs11/pkcs11.conf
--ro-bind
/etc/machine-id
/etc/machine-id
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/rpc
/etc/rpc
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/ld.so.cache
/etc/ld.so.cache
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/xattr.conf
/etc/xattr.conf
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/profile.d
/etc/profile.d
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/ld.so.conf
/etc/ld.so.conf
--ro-bind
/home/tamas/.local/share/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/21.08/c8f81b502d8a867a532896330988485f68e94a2cbb4c26ae98b1b2811b566f7e/files/etc/vdpau_wrapper.cfg
/etc/vdpau_wrapper.cfg
--bind
/home/tamas/.var/app/tv.plex.PlexHTPC/cache
/var/cache
--bind
/home/tamas/.var/app/tv.plex.PlexHTPC/data
/var/data
--bind
/home/tamas/.var/app/tv.plex.PlexHTPC/config
/var/config
--bind
/home/tamas/.var/app/tv.plex.PlexHTPC/cache/tmp
/var/tmp
--symlink
usr/bin
/bin
--symlink
usr/lib
/lib
--ro-bind-data
0021
/etc/timezone
--seccomp
0022
--ro-bind
/run/user/1000/.flatpak-helper/monitor
/run/host/monitor
--symlink
/run/host/monitor/resolv.conf
/etc/resolv.conf
--symlink
/run/host/monitor/host.conf
/etc/host.conf
--symlink
/run/host/monitor/hosts
/etc/hosts
--symlink
/run/host/monitor/gai.conf
/etc/gai.conf
--ro-bind-data
0024
/etc/pkcs11/modules/p11-kit-trust.module
--ro-bind
/run/user/1000/.flatpak-helper/pkcs11-flatpak-18449
/run/flatpak/p11-kit/pkcs11
--ro-bind-data
0023
/etc/ld.so.conf
--ro-bind
/run/user/1000/.flatpak/1803737833
/run/flatpak/.flatpak/1803737833
--lock-file
/run/flatpak/.flatpak/1803737833/.ref
--file
0026
/.flatpak-info
--ro-bind-data
0027
/.flatpak-info
--setenv
container
flatpak
--ro-bind-data
0028
/run/host/container-manager
--info-fd
0029
--bind
/run/user/1000/.flatpak/tv.plex.PlexHTPC/xdg-run
/run/user/1000
--bind
/run/user/1000/doc/by-app/tv.plex.PlexHTPC
/run/flatpak/doc
--dev-bind
/dev
/dev
--tmpfs
/dev/shm
--bind
/run/user/1000/.flatpak/tv.plex.PlexHTPC/tmp
/tmp
--bind
/run/user/1000/app/tv.plex.PlexHTPC
/run/flatpak/app/tv.plex.PlexHTPC
--dir
/home/tamas
--bind
/home/tamas/.cache
/home/tamas/.cache
--bind
/home/tamas/.config
/home/tamas/.config
--bind
/home/tamas/.local/share
/home/tamas/.local/share
--tmpfs
/home/tamas/.local/share/flatpak
--dir
/home/tamas/.var/app
--bind
/home/tamas/.var/app/tv.plex.PlexHTPC
/home/tamas/.var/app/tv.plex.PlexHTPC
--ro-bind
/etc/os-release
/run/host/os-release
--tmpfs
/tmp/.X11-unix
--ro-bind
/tmp/.X11-unix/X1
/tmp/.X11-unix/X99
--ro-bind-data
0032
/run/flatpak/Xauthority
--ro-bind-data
0031
/run/flatpak/pulse/config
--ro-bind
/run/user/1000/pulse/native
/run/flatpak/pulse/native
--dev-bind
/dev/snd
/dev/snd
--ro-bind
/run/user/1000/.dbus-proxy/session-bus-proxy-X3X6M1
/run/flatpak/bus
--ro-bind
/run/user/1000/.dbus-proxy/a11y-bus-proxy-NJZ6M1
/run/flatpak/at-spi-bus
--sync-fd
0034
--ro-bind
/run/user/1000/.flatpak/tv.plex.PlexHTPC/.ref
/run/flatpak/per-app-dirs-ref
--lock-file
/run/flatpak/per-app-dirs-ref
--bind
/run/systemd/resolve/io.systemd.Resolve
/run/systemd/resolve/io.systemd.Resolve
--ro-bind
/run/systemd/journal/socket
/run/systemd/journal/socket
--ro-bind
/run/systemd/journal/stdout
/run/systemd/journal/stdout
--ro-bind
/usr/share/fonts
/run/host/fonts
--ro-bind
/usr/local/share/fonts
/run/host/local-fonts
--ro-bind
/var/cache/fontconfig
/run/host/fonts-cache
--ro-bind
/home/tamas/.local/share/fonts
/run/host/user-fonts
--ro-bind
/home/tamas/.cache/fontconfig
/run/host/user-fonts-cache
--ro-bind-data
0033
/run/host/font-dirs.xml
--ro-bind
/usr/share/icons
/run/host/share/icons
--ro-bind
/home/tamas/.local/share/icons
/run/host/user-share/icons
--symlink
/app/lib/debug/source
/run/build
--symlink
/usr/lib/debug/source
/run/build-runtime
--setenv
ACTIVITY
colour7
--setenv
ALACRITTY_LOG
/tmp/Alacritty-23709.log
--setenv
ALACRITTY_SOCKET
/run/user/1000/Alacritty-:1-23709.sock
--setenv
AT_SPI_BUS_ADDRESS
unix:path=/run/flatpak/at-spi-bus
--setenv
BACKGROUND
colour232
--setenv
COLORTERM
truecolor
--setenv
CONAN_VERBOSE_TRACEBACK
001
--setenv
DBUS_SESSION_BUS_ADDRESS
unix:path=/run/flatpak/bus
--setenv
DESKTOP_SESSION
pop
--setenv
DISPLAY
:99.0
--setenv
DOTNET_TELEMETRY_OPTOUT
001
--setenv
DOTPUP_HOME
/home/tamas/dotfiles
--setenv
EDITOR
nvim
--setenv
ENHANCD_COMMAND
cd
--setenv
ENHANCD_COMPLETION_BEHAVIOR
default
--setenv
ENHANCD_COMPLETION_DEFAULT
expand-or-complete
--setenv
ENHANCD_COMPLETION_KEYBIND
^I
--setenv
ENHANCD_DIR
/home/tamas/.enhancd
--setenv
ENHANCD_DISABLE_DOT
000
--setenv
ENHANCD_DISABLE_HOME
000
--setenv
ENHANCD_DISABLE_HYPHEN
000
--setenv
ENHANCD_DOT_ARG
..
--setenv
ENHANCD_FILTER
fzy:fzf-tmux:fzf:peco:percol:gof:pick:icepick:sentaku:selecta
--setenv
ENHANCD_HOME_ARG
--setenv
ENHANCD_HYPHEN_ARG
-
--setenv
ENHANCD_HYPHEN_NUM
0010
--setenv
ENHANCD_ROOT
/home/tamas/.zplug/repos/b4b4r07/enhancd
--setenv
ENHANCD_USE_FUZZY_MATCH
001
--setenv
FLATPAK_ID
tv.plex.PlexHTPC
--setenv
FLATPAK_SANDBOX_DIR
/home/tamas/.var/app/tv.plex.PlexHTPC/sandbox
--setenv
FPATH
/home/tamas/.zplug/misc/completions:/home/tamas/.zplug/base/sources:/home/tamas/.zplug/autoload:/home/tamas/.zplug/base/utils:/home/tamas/.zplug/base/job:/home/tamas/.zplug/base/log:/home/tamas/.zplug/base/io:/home/tamas/.zplug/base/core:/home/tamas/.zplug/base/base:/home/tamas/.zplug/autoload/commands:/home/tamas/.zplug/autoload/options:/home/tamas/.zplug/autoload/tags:/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completion/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share/zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions/Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completion/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle
--setenv
GDMSESSION
pop
--setenv
GIO_LAUNCHED_DESKTOP_FILE
/usr/share/applications/com.alacritty.Alacritty.desktop
--setenv
GIO_LAUNCHED_DESKTOP_FILE_PID
0023709
--setenv
GJS_DEBUG_OUTPUT
stderr
--setenv
GJS_DEBUG_TOPICS
JS ERROR;JS LOG
--setenv
GNOME_DESKTOP_SESSION_ID
this-is-deprecated
--setenv
GNOME_SHELL_SESSION_MODE
pop
--setenv
GPG_AGENT_INFO
/run/user/1000/gnupg/S.gpg-agent:0:1
--setenv
GTK_IM_MODULE
ibus
--setenv
GTK_MODULES
gail:atk-bridge:appmenu-gtk-module
--setenv
HIGHLIGHT
colour45
--setenv
HISTFILE
/home/tamas/.zsh_history
--setenv
HISTSIZE
0010000
--setenv
HOME
/home/tamas
--setenv
HOSTALIASES
/home/tamas/.hosts
--setenv
INVOCATION_ID
0034ff6462d0f14bed98dfa14eebc5209c
--setenv
JOURNAL_STREAM
8:121130
--setenv
LANG
C.UTF-8
--setenv
LC_ALL
C.UTF-8
--setenv
LD_LIBRARY_PATH
/app/lib
--setenv
LIBVIRT_DEFAULT_URI
qemu:///system
--setenv
LOGNAME
tamas
--setenv
MANAGERPID
0013657
--setenv
OLDPWD
/home/tamas/work/flathub/flatpak/files/bin
--setenv
P9K_SSH
000
--setenv
P9K_TTY
old
--setenv
PATH
/app/bin:/usr/bin
--setenv
PERIOD
0030
--setenv
PLZ_SCRIPTS_PATH
/home/tamas/dotfiles/scripts
--setenv
PS1
[\360\237\223\246 $FLATPAK_ID \\W]\\$
--setenv
PULSE_CLIENTCONFIG
/run/flatpak/pulse/config
--setenv
PULSE_SERVER
unix:/run/flatpak/pulse/native
--setenv
PWD
/home/tamas/work/flathub
--setenv
PYENV_ROOT
/home/tamas/.pyenv
--setenv
PYENV_SHELL
zsh
--setenv
QT_ACCESSIBILITY
001
--setenv
QT_IM_MODULE
ibus
--setenv
SAVEHIST
0010000
--setenv
SESSION_MANAGER
local/mamut:@/tmp/.ICE-unix/13846,unix/mamut:/tmp/.ICE-unix/13846
--setenv
SHELL
/bin/sh
--setenv
SHLVL
002
--setenv
SPACESHIP_VI_MODE_SHOW
false
--setenv
SSH_AGENT_LAUNCHER
gnome-keyring
--setenv
SSH_AUTH_SOCK
/run/user/1000/keyring/ssh
--setenv
SYSTEMD_EXEC_PID
0013869
--setenv
TERM
xterm-256color
--setenv
TERM_PROGRAM
tmux
--setenv
TERM_PROGRAM_VERSION
003.2a
--setenv
TMUX
/tmp/tmux-1000/default,26283,0
--setenv
TMUX_PANE
%0
--setenv
TMUX_PLUGIN_MANAGER_PATH
/home/tamas/.tmux/plugins/
--setenv
USER
tamas
--setenv
USERNAME
tamas
--setenv
VOLTA_HOME
/home/tamas/.volta
--setenv
WINDOWID
00100663300
--setenv
WINDOWPATH
002
--setenv
XAUTHORITY
/run/flatpak/Xauthority
--setenv
XDG_CACHE_HOME
/home/tamas/.var/app/tv.plex.PlexHTPC/cache
--setenv
XDG_CONFIG_DIRS
/app/etc/xdg:/etc/xdg
--setenv
XDG_CONFIG_HOME
/home/tamas/.var/app/tv.plex.PlexHTPC/config
--setenv
XDG_CURRENT_DESKTOP
pop:GNOME
--setenv
XDG_DATA_DIRS
/app/share:/usr/share
--setenv
XDG_DATA_HOME
/home/tamas/.var/app/tv.plex.PlexHTPC/data
--setenv
XDG_MENU_PREFIX
gnome-
--setenv
XDG_SESSION_CLASS
user
--setenv
XDG_SESSION_DESKTOP
pop
--setenv
XDG_SESSION_TYPE
x11
--setenv
XMODIFIERS
@im=ibus
--setenv
ZPLUG_BIN
/home/tamas/.zplug/bin
--setenv
ZPLUG_CACHE_DIR
/home/tamas/.zplug/cache
--setenv
ZPLUG_ERROR_LOG
/home/tamas/.zplug/.error_log
--setenv
ZPLUG_FILTER
fzf-tmux:fzf:peco:percol:fzy:zaw
--setenv
ZPLUG_HOME
/home/tamas/.zplug
--setenv
ZPLUG_LOADFILE
/home/tamas/.zplug/packages.zsh
--setenv
ZPLUG_LOG_LOAD_FAILURE
false
--setenv
ZPLUG_LOG_LOAD_SUCCESS
false
--setenv
ZPLUG_PROTOCOL
HTTPS
--setenv
ZPLUG_REPOS
/home/tamas/.zplug/repos
--setenv
ZPLUG_ROOT
/home/tamas/.zplug
--setenv
ZPLUG_THREADS
0016
--setenv
ZPLUG_USE_CACHE
true
--setenv
_
/usr/bin/strace
--setenv
_ENHANCD_VERSION
002.2.4
--setenv
_P9K_TTY
/dev/pts/5
--setenv
_ZPLUG_AWKPATH
/home/tamas/.zplug/misc/contrib
--setenv
_ZPLUG_CONFIG_SUBSHELL
:
--setenv
_ZPLUG_OHMYZSH
robbyrussell/oh-my-zsh
--setenv
_ZPLUG_PREZTO
sorin-ionescu/prezto
--setenv
_ZPLUG_URL
https://github.com/zplug/zplug
--setenv
_ZPLUG_VERSION
002.4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment