Mtp in arch linux

ArchPKGs

Complete Guide on Installing gvfs-mtp on Arch Linux/Manjaro/Garuda

There are 2 packages from Extra and Testing are named gvfs-mtp . We’d recommend going with either the packages from the official repositories or an AUR package with a good reputation.

Table of Contents

Quoting from extra/gvfs-mtp ‘s description, it’s «Virtual filesystem implementation for GIO (MTP backend; Android, media player)». To install this package ( extra/gvfs-mtp ) from Arch official repository (Extra) on Arch Linux and Arch-based distributions (e.g. Manjaro, EndeavourOS, Artix) is pretty uncomplicated. This tutorial will be covering how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper like yay .

Two common ways are used to install extra/gvfs-mtp from Arch official repository (Extra). pacman is what you’re looking for if you are a seasoned Linux user and understand the concept of how packages are built. If not, yay is a popular alternative to install packages without the need to review PKGBUILD and build packages with makepkg yourself.

Install with Pacman (Default) link
sudo pacman -S extra/gvfs-mtp
Install with Yay (Easier) link
yay -S --repo extra/gvfs-mtp

Since Arch is a rolling-release Linux distro, you should definitely not update an official package without doing a whole system upgrade due to safety reason.

Update with Pacman (Default) link

Request pacman to perform a whole system upgrade which will update any packages you’ve installed before:

sudo pacman -Syu
Update with Yay (Easier) link

Removing packages is the easiest of these three,all you have to do is choose whether to purge the unused dependencies and the configuration files used by the package.

Remove with Pacman (Default) link
sudo pacman -R gvfs-mtp
sudo pacman -Rs gvfs-mtp
sudo pacman -Rns gvfs-mtp
Remove with Yay (Easier) link
yay -R gvfs-mtp
yay -Rs gvfs-mtp
yay -Rns gvfs-mtp

Unless you know what you’re doing, installing a developing package ( testing/gvfs-mtp ) is not recommended.

Читайте также:  Pipe all output to file linux

«Virtual filesystem implementation for GIO (MTP backend; Android, media player)» is the maintainer’s profile of testing/gvfs-mtp . To install this package ( testing/gvfs-mtp ) from Arch official testing repository (Testing) on Arch Linux, Manjaro, EndeavourOS, RebornOS, Artix and Garuda is pretty straightforward. This guide will cover how to install/update/remove the package with either the default package manager pacman or an AUR helper (e.g. yay ).

There is a prerequisite to install Testing packages, first you’ll need to uncomment [testing] section of /etc/pacman.conf , then use sudo pacman -Syu to refresh the packages list and upgrade your system.

Two typical ways are used to install the unstable version of testing/gvfs-mtp from Arch official repository (Testing). pacman is the choice for you if you are a seasoned Linux user and have the knowledge of how packages are built. Otherwise, yay is a popular alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg yourself.

Install with Pacman (Default) link
sudo pacman -S testing/gvfs-mtp
Install with Yay (Easier) link
yay -S --repo testing/gvfs-mtp

Since Arch is a rolling-release Linux distribution, there will be no way to update an official package without doing a whole system upgrade due to dependency issues.

Update with Pacman (Default) link
sudo pacman -Syu
Update with Yay (Easier) link

Compared to installing and updating packages, uninstalling is the most uncomplicated of these three,all you have to do is choose whether to remove the unused dependencies and the configuration files generated by the package.

Remove with Pacman (Default) link
sudo pacman -R gvfs-mtp
sudo pacman -Rs gvfs-mtp
sudo pacman -Rns gvfs-mtp
Remove with Yay (Easier) link
yay -R gvfs-mtp
yay -Rs gvfs-mtp
yay -Rns gvfs-mtp

Installing entr-git in Single Command on Arch Linux (Manjaro, EndeavourOS)

According to entr-git’s own outline, it is «Run arbitrary commands when files change.». To install this package (entr-git) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and Garuda is pretty easy. This guide will show you step-by-step how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

Читайте также:  Installing missing packages linux

How to Install liquibase with Command Line on Arch-Based Linux (Manjaro, Garuda)

«VCS source control tailored for database management» is the developer’s gist of liquibase. To install or uninstall this package (liquibase) from AUR (Arch User Repository) on Arch Linux and Arch-based distributions (e.g. Manjaro, EndeavourOS, Artix) is fairly uncomplicated. This tutorial will cover how to install, update and remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

How to Install silver (Step-by-Step Tutorial) on Arch Linux/Manjaro/EndeavourOS

Quoting from silver’s definition, it is «A cross-shell customizable powerline-like prompt with icons». To install or remove silver from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and Anarchy is rather uncomplicated. This guide will show you step-by-step how to install, update and uninstall the package with either the default package manager pacman or an AUR helper (e.g. yay).

python2-ccm Install/Update/Remove Tutorial on Arch Linux (Manjaro, EndeavourOS)

«A script/library to create, launch and remove an Apache Cassandra cluster on localhost» is the developer’s definition of python2-ccm. To get python2-ccm from AUR (Arch User Repository) on Arch Linux and Arch-based distros (e.g. Manjaro, EndeavourOS, Artix) is quite simple. This guide will be covering how to install, update and remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

linux-usermode-nokmod Install (Update/Uninstall) Tutorial on Arch-Based Linux (Manjaro, ArcoLinux)

Quoting from linux-usermode-nokmod’s profile, it is «User mode Linux kernel, without modules». To install or remove this package (linux-usermode-nokmod) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distributions (e.g. Manjaro, EndeavourOS, Artix, RebornOS) is relatively easy. This tutorial will show you step-by-step how to install/update/remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

Quick Tutorial on Installing thesafe on Arch-Based Linux (Manjaro/ArcoLinux)

thesafe is «Bup Frontend» based on its own gist. To install or remove this package (thesafe) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distributions (e.g. Manjaro, EndeavourOS, Artix, Parabola) is fairly easy. This guide will be covering how to install, update and uninstall the package with either the built-in package manager pacman or an AUR helper like yay.

Читайте также:  Yandex browser linux настройка

More guides… copyright 2023 ArchPKGs. All Rights Reserved.

Источник

Arch Linux

I’m trying to access my phone’s storage on Arch Linux but I haven’t been successful. I have installed jmtpfs and mtpfs and I had also installed android-file-transfer. What happens is I try to use «jmtpfs» command and the mount point is ~/mnt/ but every time I try it, it seems to work but when I try to «cd» into the mount point and use «ls» it shows «cannot open directory ‘.’ : Input/output error». In ranger (CLI file manager) it shows as if the mount point, the folder I created, is a file. I have no idea what’s happening. If I try to delete the file/folder it says «cannot remove, is a folder» and only works if I kill jmtpfs. I don’t know what to do and I think I’m missing something, but I just don’t know what to try.
When I enable file transfer on my phone it disconnects, connects (my phone makes the «charging» and «discharging» sounds). I have udiskie for USB drives running but I don’t know if that should affect my phone being connected. «adb devices» works fine so I think I might be missing some drivers because when I enable MTP in my phone it does that thing of disconnecting/connecting (no physical interference).

#2 2022-03-10 11:00:55

Re: How do I use MTP on Arch Linux?

EDIT: Sorry missed that part about you using the android file transfer.

Last edited by d_fajardo (2022-03-10 12:56:08)

#3 2022-03-10 11:25:46

Re: How do I use MTP on Arch Linux?

i gave up on mtp ages ago, and adb is not really practical for browsing and transferring lots of files, so i use sftp now and its great, no cable needed, works over network, just open up the ftp app on my phone and use filezilla on my laptop, transfers are very fast and reliable, and its secure as well using keypairs.

the only downside is android is a terrible OS and you have to soft reboot for the files to show up correctly, but it works well enough for me.

hope this helps, you need all the help you can get fighting with android

[EDIT] aparently the soft reboot only applies when transferring music files so they are actually picked up by the music player, so may not even be an issue for you anyway!

Last edited by jonno2002 (2022-03-10 11:36:39)

Источник

Оцените статью
Adblock
detector