Using Brave

I am going to keep updating this thread with the things I am doing to improve my L5. This next one might seem controversial but it is mainly just a personal preference.

I removed Firefox ESR and just use Brave. Brave is a much more performant renderer of internet content, and so the increased resource usage is fine. Mozilla stopped being competent a long time ago. Looking forward to when Ladybird is a possibility!!

Beyond this I have create two additional phosh icons that do the following respectively:

  • cycle the USB hub so that connected peripheral will do the handshake and connect.
  • cycle the data connection so that data will work again, especially after sometimes waking from suspend.

do you have a link to your repo with this script if I want it too?

I zipped up the two scripts, but can’t upload them here. If you are on xmpp I can send them to you directly. You would untar and run the install script. This will put them in the launcher so you can easily use them.

Sorry don’t have the time to put these on github, etc.

I installed Brave after reading your post but I’ve found it won’t render pages on mobile to fit the screen like Gnome Web or Firefox ESR do.

Do you have any tips or tricks for getting Brave to size web pages properly for the L5?

Grok Bot had this to say about it

No, Brave doesn’t make a phone version for Linux, so on the L5 you’d get the regular desktop build (Brave does publish arm64 Linux builds). You can get close by starting it with brave-browser --ozone-platform=wayland --force-device-scale-factor=2 so it runs natively under Phosh and renders at phone scale. To get sites to send their mobile layouts, add --user-agent= with an Android Chrome user-agent string to that command.

Yes, basically you do have to deal with the UI being made pretty small, but it renders everything correctly. If you use the LIbrem 5 settings under composter you can force brave to fit. But I find allowing grok cli to modify the desktop file is a smooth method. Then if render pages are TOO small you can just zoom in some through the UI. As of right now hardware acceleration is spotty. You should start with it disabled. Eventually it should work. For youtube you can use dedicated software for that, as the youtube site is computational heavy.

I use Ladybird on Slackware 16 on a non RYF Computer.. I like it because all the stack is new.

I am but I use my friend’s server on there, not sure if I’m leaking data publishing it here. Maybe I can private message you the username and server.

Screenshot of clipped forum page after launching with modified Brave shortcut, no improvement.

Let me look my post my desktop file contents here, which I’ll do when I get home. Left the L5 at home this morning.

Current Brave Mobile bookmark config

purism@l5:~$ cat .local/share/applications/brave-mobile.desktop
[Desktop Entry]
Type=Application
Name=Brave Mobile
Comment=Brave with Wayland, 2x scale and mobile user-agent
Exec=/home/purism/.local/bin/brave-mobile %U
Icon=brave-browser
Terminal=false
Categories=Network;WebBrowser;
MimeType=text/html;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=brave-browser
X-Purism-FormFactor=Workstation;Mobile;

some differences for sure!