-
Notifications
You must be signed in to change notification settings - Fork 13
/
org.xpra.xpra.yaml
37 lines (37 loc) · 1.41 KB
/
org.xpra.xpra.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# how to test?
# * start and enter the sandbox
# $ flatpak run org.xpra.xpra
# * start xpra x session
# $ xpra --xvfb=/app/bin/Xvfb start --encoding=rgb --compress=0 :11
# * connect xpra session to the gtk3 client running through wayland
# $ GDK_BACKEND=wayland xpra attach :11 &
# * run apps in the xpra x session
# * glxgears
# just use the the binary from your host's mesa-demos package, you can do this as abi is
# is pretty stable as it's only linked against xorg libs and mesa
# add --filesystem=host-os to 'flatpak run' in order to get access to the host os
# $ DISPLAY=:11 /run/host/usr/bin/glxgears
# * gtk3-demo
# available in the freedesktop sdk and you should add --devel to 'flatpak run'
# $ DISPLAY=:11 GDK_BACKEND=x11 gtk3-demo
# * joplin
# $ wget https://github.com/laurent22/joplin/releases/download/v1.7.11/Joplin-1.7.11.AppImage
# $ unappimage Joplin-*.AppImage && cd squashfs-root
# $ DISPLAY=:11 ./\@joplinapp-desktop --no-sandbox
app-id: org.xpra.xpra
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: /bin/sh
finish-args:
- --device=all
- --device=dri
- --filesystem=host-os
- --socket=pulseaudio
- --socket=session-bus
- --socket=wayland
- --unset-env=XAUTHORITY
modules:
- ../shared-modules/xpra/xpra.json