Hey, first time lurker, first time poster. I’m a fan of GNOME and the epiphany browser except for the fact that it renders as if it’s on an ancient Android phone. How do I make it render sites like a modern PC browser instead? Thanks in advance!
What exactly do you mean by rendering as if it’s on an ancient Android phone?
This link should show exactly what I mean
WebKitGTK sets the user agent to ‘like Android 4.4’ when it detects your device is ‘mobile’
which I assume is what’s causing this issue. I’d say report it to webkit if that’s wrong / it shouldn’t do that, with your device info; but for now you could set the user agent to something like this and see if it fixes it flatpak run --command=gsettings org.gnome.Epiphany set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/60.5 Safari/605.1.15'
Uh, well as you see from the code it should only do that if using a mobile chassis type, which would be highly unusual for a desktop. Check with:
$ hostnamectl | grep Chassis
It’s classed as a tablet, which is a half-truth. I’m running a Legion Go, which scales nicely to 166% at 1600p (native resolution). So that’s that noted down. However, it doesn’t answer the more pressing question: Why such an ancient version of Android?