mherrmann / mherrmann/fman

Ability to use fman as default file viewer on macOS

Open
#555 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement mac
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

fman is really nice. I want to use it instead of Finder. 😄
It would be nice to add an option to "set fman as the default file viewer", so that any app that has a "Reveal in Finder" command would open fman instead.

PathFinder has this functionality. ForkLift also support it. I have tried the method used by ForkLift on fman:

defaults write -g NSFileViewer -string io.fman.fman

However it doesn't work as expected. fman does open (or comes to foreground if already open), but doesn't navigate to the selected file (I tested by clicking "Reveal in Finder" on a downloaded file in Chrome). [This is maybe because fman doesn't handle an "open document" event sent by macOS. This could perhaps be supported by using QFileOpenEvent from PyQt.]

Btw this may be possible on Windows/Linux too but that could maybe be a separate feature request.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating macOS's NSFileViewer behavior and the QFileOpenEvent approach mentioned in the issue. Reproduce the current behavior from Chrome's “Reveal in Finder” command, then verify that fman opens and navigates to the selected file when configured as the default viewer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.