(08-08-2021, 04:15 PM)wibble Wrote: Many of the apps will start in native wayland mode and display on the phone unless you tell them to use X. For firefox that would be via GDK_BACKEND=x11 but I think it only works if there isn't already an instance running using wayland.
Code:
pine64-pinephone:~$ GDK_BACKEND=x11 firefox
(firefox:2818): Gtk-WARNING **: 02:30:21.674: cannot open display:
pine64-pinephone:~$ fractal
Error: BoolError { message: "Failed to initialize GTK", filename: "/home/buildozer/aports/community/fractal/src/fractal-4.4.0/output/target/cargo-home/registry/src/github.com-1ecc6299db9ec823/gtk-0.8.1/src/rt.rs", function: "gtk::rt", line: 116 }
pine64-pinephone:~$ megapixels
Found config file at /usr/share/megapixels/config/pine64,pinephone-1.2.ini
Found postprocessor script at /usr/share/megapixels/postprocess.sh
(megapixels:2849): Gtk-WARNING **: 02:30:50.622: cannot open display: