Installing and tweaking Chromium on Mobian and Arch
#11
I don't know why scale to fit didn't work on mine (no errors were reported), but at least the scaling script is a workaround. Maybe I'll try scale to fit again after getting a few more updates.
  Reply
#12
(02-27-2021, 07:25 AM)Zebulon Walton Wrote: I don't know why scale to fit didn't work on mine (no errors were reported), but at least the scaling script is a workaround. Maybe I'll try scale to fit again after getting a few more updates.
scale-to-fit works with the app ID which is not neccessarily the command name of the app. It's possible that for Chromium the app ID might be org.chromium.Chromium or something like that. Try the steps described here and see if that works. Those steps are for Arch Phosh, but I believe scale-to-fit works the same way on all Phosh distributions.
  Reply
#13
(02-27-2021, 08:03 AM)kqlnut Wrote: scale-to-fit works with the app ID which is not neccessarily the command name of the app. It's possible that for Chromium the app ID might be org.chromium.Chromium or something like that. Try the steps described here and see if that works. Those steps are for Arch Phosh, but I believe scale-to-fit works the same way on all Phosh distributions.

Doing the following returns no info:

Code:
WAYLAND_DEBUG=client
flatpak run org.chromium.Chromium |& grep app_id

Also tried it with WAYLAND_DEBUG=1 with the same result. I see in the link there's a global setting to scale all apps but I don't know if that will have some kind of undesirable side effects.
  Reply
#14
(02-27-2021, 10:40 AM)Zebulon Walton Wrote:
(02-27-2021, 08:03 AM)kqlnut Wrote: scale-to-fit works with the app ID which is not neccessarily the command name of the app. It's possible that for Chromium the app ID might be org.chromium.Chromium or something like that. Try the steps described here and see if that works. Those steps are for Arch Phosh, but I believe scale-to-fit works the same way on all Phosh distributions.

Doing the following returns no info:

Code:
WAYLAND_DEBUG=client
flatpak run org.chromium.Chromium |& grep app_id

Also tried it with WAYLAND_DEBUG=1 with the same result. I see in the link there's a global setting to scale all apps but I don't know if that will have some kind of undesirable side effects.
The app ID I used for the flatpak chromium.Chromium was Chromium. Case sensitive.
  Reply
#15
(02-27-2021, 11:16 AM)C0ffeeFreak Wrote: The app ID I used for the flatpak chromium.Chromium was Chromium. Case sensitive.

That's what I used initially but it didn't work. Not a big problem since the screen can be manually scaled as a workaround.
  Reply
#16
Thanks for posting. I had not originally planned to run Chromium but I have to admit for certain things it's really nice. 

I use the "Scrollbar Customizer" extension and set the scroll bar size to 0 - Highly Recommend!
Also I use "The New Tab - Customizer" extension to avoid that google slap you get with the default new tab page.
And of course "AdBlock" and "AdBlock for Youtube".

Chromium can exit full screen without losing all the menu bars and then crashing! Bonus!!

There is a crucial addon I use that just won't display on FF.  On Chromium it works without a hitch and I'm one (big) step closer to ditching the tethered android I drag around with me Smile .

My tip: Keep an @ symbol copied to the clipboard, you never know when you may need it, Big Grin Big Grin


Anyway, I need to enter my password to load it, is that normal?

Thanks!
  Reply
#17
(02-28-2021, 06:35 PM)MtnSk8 Wrote: Thanks for posting. I had not originally planned to run Chromium but I have to admit for certain things it's really nice. 

I use the "Scrollbar Customizer" extension and set the scroll bar size to 0 - Highly Recommend!
Also I use "The New Tab - Customizer" extension to avoid that google slap you get with the default new tab page.
And of course "AdBlock" and "AdBlock for Youtube".

Chromium can exit full screen without losing all the menu bars and then crashing! Bonus!!

There is a crucial addon I use that just won't display on FF.  On Chromium it works without a hitch and I'm one (big) step closer to ditching the tethered android I drag around with me Smile .

My tip: Keep an @ symbol copied to the clipboard, you never know when you may need it, Big Grin Big Grin


Anyway, I need to enter my password to load it, is that normal?

Thanks!
Great tips thanks. Yes, Chromium based browsers are added to your key ring for extra security. You have to enter the password on first launch after each reboot of the phone to unlock it.
  Reply
#18
(02-26-2021, 07:54 PM)Zebulon Walton Wrote:
(02-26-2021, 12:22 PM)C0ffeeFreak Wrote: From the home screen select the extensions in the top bar (looks like a puzzle piece) and select the extension not the three dots on the side of it and you will see the selection drop down. You may have to make your selections in landscape mode until you get the mobile user agent string set.

Thanks, that did the trick, but it looks like the latest version of Chrome available in the extension is 87.0.4280.101, not 4290. I found that scale-to-fit Chromium on didn't really seem to do anything, but I used the screen scaling script that was posted on the board here (I think it was from here) to make the browser a better fit on the screen. I could not find a link to the that script but it's here below, I've found the 1.75x scale setting works well for Chromium without making things on the screen too small to see. I run it from a .desktop file placed in ~/.local/share/applications.

Code:
#!/bin/bash
yad --title scale_screen --form \
  --field='Default dpi (2x scale)':fbtn "wlr-randr --output DSI-1 --scale 2" \
  --field='Low dpi (1.75x scale)!window-restore-symbolic':fbtn "wlr-randr --output DSI-1 --scale 1.75" \
  --field='Medium dpi (1.5x scale)!window-minimize-symbolic':fbtn "wlr-randr --output DSI-1 --scale 1.5" \
  --field='High dpi (1.25x scale)!window-maximize-symbolic':fbtn "wlr-randr --output DSI-1 --scale 1.25" \
  --field='Max dpi (1x scale)!view-fullscreen-symbolic':fbtn "wlr-randr --output DSI-1 --scale 1" \
  --field='Restart Phosh':fbtn "sudo systemctl restart phosh" \
  --button='Close!gtk-cancel':1
Is the name of the file Chromium.desktop? I tried it and no results.
  Reply
#19
We need more people like you! Thanks!

_____________

Sent from my website: kem chống nắng cho da dầu mụn - kem chống nắng innisfree perfect uv protection cream có tốt không - Kem chống nắng Vichy Ideal Soleil SPF 50 Mattifying Face Fluid Dry Touch có tốt không?
  Reply
#20
(03-11-2021, 12:49 AM)friendpicksd Wrote: We need more people like you! Thanks!

Glad I could be of help. Smile
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to Mobian (Trixie) Staging biketool 7 171 10 hours ago
Last Post: biketool
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 41 8,411 Yesterday, 10:39 AM
Last Post: fernando_c_m
  atinout binaries for mobian/debian? NeutralGrey 4 1,333 10-31-2024, 04:16 AM
Last Post: astylethargic
  Mobian-Kicksecure? 3460p 0 823 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,097 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 882 03-18-2024, 08:54 PM
Last Post: penguins_rule
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 3,926 11-22-2023, 11:46 AM
Last Post: aLoop100o
  What actions needed to keep on mobian testing user641 3 2,582 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 970 09-01-2023, 11:29 AM
Last Post: Mahgue
  how to update mobian over tor vusra 13 9,084 07-09-2023, 08:57 PM
Last Post: vusra

Forum Jump:


Users browsing this thread: 3 Guest(s)