this post was submitted on 06 May 2024
1 points (100.0% liked)

postmarketOS

983 readers
1 users here now

postmarketOS - a real Linux distribution for phones and other mobile devices ๐Ÿง ๐Ÿ“ฑ ๐Ÿ‘ฉโ€๐Ÿ’ป

Rules:

See also:

founded 3 years ago
MODERATORS
 

Having ascertained https://discuss.kde.org/t/how-to-capture-a-screenshot-in-plasma-mobile/15070/2?u=rokejulianlockhart, I'd like to be able to transfer screenshots off my Plasma Mobile device.

  1. I try to access it via KDE Plasma 6's Disks & Devices plasmoid (widget):

    Screenshot_20240505_041647|460x450

  2. However, all I see is:

    Screenshot_20240505_041605|689x170

Weirdly, it's acting like https://bugs.kde.org/show_bug.cgi?id=486594#c0.

I ask because I'd like to upload screenshots to https://bugzilla.mozilla.org/show_bug.cgi?id=1895116#c1, and ascertain whether it affects https://gitlab.com/postmarketOS/webflash/-/issues/2#note_1892953259.

top 4 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 6 months ago* (last edited 6 months ago) (1 children)

I recommend trying to use KDE Connect (or scp, rsync ... another network based way) to send the screenshot from the phone to your other computer instead.

MTP/other file transfer protocols do not (yet?) work with mobile Linux, so this failure is to be expected. It only shows up for connection, because if your device ran Android, it would be an option โ€” AFAIK, Plasma acts this way because of the USB ID of the device.

Also, regarding your main issue: While you can report this to Mozilla, please be aware that Firefox is being "patched" to better work on mobile by https://gitlab.com/postmarketOS/mobile-config-firefox. I suggest you to install the latest, not yet in postmarketOS 23.12 mobile-config-firefox package from edge first by running:

sudo apk del mobile-config-firefox
sudo apk add mobile-config-firefox --repository http://mirror.postmarketos.org/postmarketos/master

While it may not fix every issue possible, it should improve the experience.

[โ€“] [email protected] 0 points 6 months ago* (last edited 6 months ago) (1 children)

Thank you. I'll use that information about the USB ID for my report to KDE. However, could you elaborate somewhat? That is, would it be correct to ask for Plasma to not merely utilize the USB ID to identify whether a device is accessible, but test whether it can be accessed by MTP first, before presenting that option to the user? Regardless, per what you've said, I've consolidated my previously disparate reports under https://bugs.kde.org/show_bug.cgi?id=486931.

Additionally, I'll definitely mention on Bugzilla that incorporating some of the patches in that package would be a feasible implementation method. Relevantly, I'd like to use that package, but because I'm not using Edge, would adding that repository do any harm (for instance, would it be added with higher priority by default than existent repositories)?

[โ€“] [email protected] 1 points 5 months ago (1 children)

I don't think reporting the USB ID thing to Plasma is useful and will go far - for 99% of users (that use some kind of Android/AOSP) the modus operandi is fine and helpful. With many Android devices and OSes requiring you to do something on the device after plugging it in, testing does not seem to be feasible to me.

There's no need to add the edge repo, as the latest release of mobile-config-firefox should be in v23.12 by now (it's been updated there since my last post). The command I posted does not add the repo, but only uses it for the one package without adding the repo permanently.

[โ€“] [email protected] 1 points 5 months ago

Yeah, I just installed it from 23.12's repository. Works well for the basics. Many thanks.