Skip to content

This script is a ranger plugin that draws a menu to mount and unmount MTP devices using gio.

License

Notifications You must be signed in to change notification settings

KKV9/ranger_mtpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ranger_mtpy

This script is a ranger plugin that draws a menu to mount and unmount MTP devices using gio.

Requirements

  • python3.8 or newer
  • gio

How to install

Clone this repo to the plugins directory of ranger

cd ~/.config/ranger/plugins
git clone https://github.com/KKV9/ranger_mtpy

How to use

Type :mtp in ranger to show the mount menu. In this menu you can press:

  • j or arrow down to move selection down
  • k or arrow up to move selection up
  • Esc or q to quit
  • m to mount or unmount selected device
  • ENTER to cd selected mount-point. If device is not mounted you will receive an error.

Issues

  • There are issues with renaming files on devices. You may have to move the file from the device and rewrite to do so.
  • You may have to press R periodically to refresh directories within ranger.

About

This script is a ranger plugin that draws a menu to mount and unmount MTP devices using gio.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages