How to transfer screenshots from a Xiaomi phone to a Linux computer
Plug in a USB cable and copy the files from your file manager, or use ShotBox to have every phone screenshot arrive on your Linux computer within seconds and be saved to a folder.
Linux handles Android phones well, and you have several options. Some are one-off copies, others run in the background. Pick based on how often you do this.
Option 1: USB cable and your file manager
This needs no account and no internet.
- Connect the phone to the computer with a data-capable USB cable.
- Unlock the phone, pull down the notification shade, tap the USB notification and choose File transfer (MTP).
- Open your file manager (Files on GNOME, Dolphin on KDE, Thunar, and so on). The phone appears in the sidebar.
- Open the internal storage and find the screenshots folder. On Xiaomi phones it is usually DCIM/Screenshots, though it can vary.
- Copy the images to your computer.
If the phone does not appear, the phone is probably set to charging only, or the cable only carries power. Unplug, replug and choose File transfer again.
Option 2: adb or KDE Connect
For people comfortable with the terminal or who want a wireless link.
- adb: turn on USB debugging in the developer options on the phone, connect it, then run adb pull /sdcard/DCIM/Screenshots ~/Pictures/phone-shots. Check the folder name on your phone first, as it may differ.
- KDE Connect (also usable on GNOME through GSConnect): pair the phone with the computer over your local network, then send files or browse the phone from the desktop.
- Syncthing: an open source tool that can keep a phone folder and a computer folder in sync without a cloud account.
Option 3: ShotBox, for automatic sync
ShotBox is a free web screenshot tool. It runs in any browser, so there is nothing to install on the computer.
- On the Xiaomi phone, open https://shots.fullstackpartner.com and install it as an app (PWA).
- Sign in with Google on both the phone and the computer.
- On the phone, share a screenshot to ShotBox from the share menu. Android can share images straight to ShotBox once it is installed.
- Open ShotBox on the computer. The screenshot appears within seconds.
To keep files on disk, you have two choices. In Chrome or Edge, use "Save all screenshots to a folder". Or use the small sync script, which is available for Windows, Mac and Linux, and saves every screenshot into a folder on your computer.
Edit and share on the way
Before you pass a phone screenshot on, you can open it in the ShotBox editor: crop, arrow, box, pen, highlighter, text and a pixelate blur for names, numbers or messages. Camera and GPS (EXIF) data are removed from every image.
Uploading gives a long random private link that is not listed or indexed, and it is copied automatically. Links can expire after 1 hour, 1 day, 7 days or 30 days, or be deleted any time. You can also copy the image, show a QR code, or paste Markdown, HTML or BBCode embed codes into a forum or a README.
Limits to know about
ShotBox does not do scrolling capture, screen recording or text recognition (OCR), and it cannot capture with a desktop hotkey. On Linux, use your desktop's own screenshot shortcut, then paste into ShotBox with Ctrl+V. For OCR, a tool such as Tesseract works on the saved images. For recordings, use the phone's recorder and transfer the video with the USB method.
Quick recommendation
Use the cable for a big one-time copy. Use KDE Connect or Syncthing if you prefer a local setup with no web service. Use ShotBox if you want screenshots to follow you automatically, with blur and expiring links.
Frequently asked questions
Where does a Xiaomi phone save screenshots?
Usually in the DCIM/Screenshots folder of internal storage. The name can differ between software versions, so check in a file manager if it is not there.
Why can't my Linux file manager see my Xiaomi phone?
The phone is likely in charging only mode. Unlock it, tap the USB notification and choose File transfer (MTP). Trying a different cable also helps.
Can I transfer screenshots to Linux without a cable?
Yes. KDE Connect, Syncthing and ShotBox all work over the network. ShotBox needs you to sign in with Google on both devices.
How do I save ShotBox screenshots to a folder on Linux?
In Chrome or Edge, use "Save all screenshots to a folder". Alternatively, use the small sync script, which supports Linux, Windows and Mac.
Is ShotBox free?
Yes, ShotBox is free, with no ads and no tracking cookies.