View Single Post
Old 11-21-2019, 11:16 AM   #2
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Update:

On the advice of @NiLuJe, I removed Python from the equation entirely and compiled a minimal GTK3 application to see whether the problem lay with Python or GTK3. When I ran my compiled binary, I had the same outcome as before - the titlebar turned invisible but none of the widgets were drawn. However, when I ran my application within Xephyr, it worked perfectly. I also tried to run one of the Python/GTK examples within Xephyr and I had different results depending on whether I was within a debian chroot or not. Outside of the chroot, GTK tried to load fontconfig definitions from the usual system path and failed with a bunch of errors like this:
Code:
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple <family> in <alias> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple <family> in <alias> isn't supported and may not work as expected
The program loads but the text doesn't display properly, as shown in the image below. When I'm within the chroot, this is not an issue, presumably because it's loading the font config files from within the chroot.

Why does GTK work within Xephyr but not directly on the Kindle's X11 server?
Attached Thumbnails
Click image for larger version

Name:	awesome.png
Views:	194
Size:	44.8 KB
ID:	175038   Click image for larger version

Name:	xephyr.png
Views:	185
Size:	2.9 KB
ID:	175039   Click image for larger version

Name:	xephyrchroot.png
Views:	189
Size:	4.8 KB
ID:	175040  
katadelos is offline   Reply With Quote