Connect ArchLinux to Android devices
premise
- Refer to Wiki
- File manager integration
- In order to be able to view Android devices directly via MTP in the file manager, the following plug-ins need to be installed:
- If the file manager uses GVFS (GNOME Files), install gvfs-mtp to provide MTP support or install gvfs-gphoto2 to provide PTP support.
- If the file manager uses KIO (KDE's Dolphin), install kio-extras (KIO's dependency package
Option One
-
KDE-Conncet
- Requirements: mobile phone and PC use the same wifi
-
characteristic:
- Transfer files with the device
- PC can accept / view SMS notifications of mobile phones, synchronize contacts of computers and mobile devices, display mobile phone battery
- The mobile phone screen can act as a mouse or touchpad, and can control the computer sound adjustment, such as switching music
- Sharing clipboard between mobile phone and PC
- More fun features, find it yourself _
yay -s kdeconnect
如果是gnome环境,在安装 gsconnect
- Modify the system environment, otherwise the android device in dolphin cannot be opened
# sudo vim /usr/share/solid/actions/solid_mtp.desktop
# 改变下面一行
原始行:Exec=kioclient exec mtp:udi=%i/
改成:Exec=dolphin "mtp:/"
- If it is on i3 tiled desktop, you can set it as the startup item
# KDE connect
exec --no-startup-id kdeconnect-indicator
Option two, USB connection
- Reference other bloggers blog using a data cable connection
- Arch Wiki