GithubHelp home page GithubHelp logo

tmahlburg / tfm Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 985 KB

Simple File Manager implemented in Qt for Python

License: GNU General Public License v3.0

Python 98.91% Makefile 1.09%
qt python3 qtforpython filemanager file-manager udevil pyudev linux qt6 pyside6 pyside

tfm's Introduction

tfm

Simple file manager implemented in Qt for Python (Qt6). This project aims to create a simple, desktop agnostic linux file-manager. The project is in an alpha stage right now and thus it is not advised to use it at the moment. If you still want to try it, see below.

Features

  • basic directory traversal
  • window layout with toolbar, statusbar, main table view, fs tree, bookmarks and mounts
  • open files using xdg-open
  • cut, copy, paste (with progress information), rename
  • named bookmarks to directories
  • show/hide dotfiles
  • throw files and directories in the trash
  • drag and drop (always moves)
  • cli to open with a path or file url supplied
  • show, mount and unmount devices and iso files using udisks2
  • auto extract zip, rar and tar files

How to install

There are python packages for the alpha version to download on pypi. Install at your own risk using:

pip install tfm

Then run using:

python3 -m tfm

Also install the external requirements udisks2, unrar (or unar or bsdtar) and util-linux.

Screenshots

Coming soon.

Roadmap

high priority

functionality

  • give choices on handling existing files on paste
  • implement network mounts, especially SMB shares (probably using smbnetfs)

normal priority

functionality

  • differentiate default dropAction by destination
  • differentiate delete action by source
  • fuzzy search in folder
  • restore from trash (should be implemented via a custom model/view)
  • empty trash
  • load file / dir / partition info in a background thread
  • delete forever

ui

  • open with dialog
  • make links visually distinguishable
  • file property dialog
  • bookmark order configurable in the UI
  • drag and drop folders as bookmarks in the bookmark view
  • bookmark current dir
  • bookmark directory name as tool tip
  • about dialog

infrastructure

  • address all in code #TODOs

low priority

functionality

  • mount MTP devices
  • open terminal in current directory

ui

  • optional preview pane
  • context sensitive views and columns
  • user configurable views and columns

accessability

  • localization

Non-Features

These features are never going to be part of tfm:

  • dependencies on specific desktop environments
  • window management like tabs, split views or similar
  • plugins or script support
  • a lot of configuration options

tfm's People

Contributors

tmahlburg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tfm's Issues

fails to start, if bookmark file doesn't exist

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/tillm/src/tfm/tfm/main.py", line 13, in
window = tfm.tfm(sys.argv)
File "/home/tillm/src/tfm/tfm/tfm.py", line 100, in init
self.bookmarks = bm(path_to_bookmark_file=os.path.join(self.config_dir,
File "/home/tillm/src/tfm/tfm/bookmarks_model.py", line 31, in init
open(path_to_bookmark_file, 'a').close()
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/tillm/.config/tfm/bookmarks'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.