Skip to content

Commit f33417a

Browse files
committed
GTK/WPE Multimedia: Simplify debug instructions
1 parent c6babab commit f33417a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/Ports/WebKitGTK and WPE WebKit/Multimedia.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,19 @@ be present in the `$HOME/dots` folder.
2727
In this section we take the example of the [GNOME
2828
Web](https://flathub.org/apps/org.gnome.Epiphany) app, a.k.a. Epiphany.
2929

30-
Epiphany runs with its Web content process sandboxed, meaning that filesystem
31-
access is restricted, so you need to make sure the GStreamer log file will be
32-
located in a folder accessible in read-write mode by the Web content process,
33-
using the `WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS` environment variable and
34-
the `--filesystem=home` flatpak option.
35-
36-
3730
```shell
3831
mkdir -p $HOME/dots
39-
flatpak run --filesystem=home --env="WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1" \
32+
flatpak run --filesystem=home \
4033
--env="GST_DEBUG=3,webkit*:6" --env="GST_DEBUG_FILE=$HOME/gst.log" \
4134
--env="GST_DEBUG_DUMP_DOT_DIR=$HOME/dots" org.gnome.Epiphany -p "https://..."
4235
```
4336

37+
Note: If this command does not produce files as expected and you are using a
38+
WebKitGTK version below 2.50, you will need to add
39+
`--env="WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1"` to the
40+
command-line. See also this [pull request scheduled to ship in
41+
2.50](https://github.com/WebKit/WebKit/pull/43116)
42+
4443
GNOME Web has [three different
4544
flavours](https://gitlab.gnome.org/GNOME/epiphany#download-and-install). The
4645
command above is for the stable version (`org.gnome.Epiphany`). The Tech Preview

0 commit comments

Comments
 (0)