Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugn support, make it extensible like the gtk+ version. #40

Open
PCMan opened this issue Apr 1, 2014 · 10 comments
Open

Add plugn support, make it extensible like the gtk+ version. #40

PCMan opened this issue Apr 1, 2014 · 10 comments
Assignees
Labels

Comments

@PCMan
Copy link
Member

PCMan commented Apr 1, 2014

The gtk+ version of pcmanfm/libfm can be extended in several places by using modules. Try to copy that behaviour to the Qt version.

@PCMan PCMan self-assigned this Apr 1, 2014
@jleclanche
Copy link
Member

While we are on the topic of plugins, my main personal request regarding those is the ability to integrate with custom file backends. For example:

  • Archive support (zip, rar, tar, ...) including custom formats (mpq)
  • Dropbox support
  • Git plugin support (think tortoisegit)
  • Probably implement things such as ftp, sftp as plugins
  • Implementing the trash as a plugin would be a nice proof of concept.

@PCMan
Copy link
Member Author

PCMan commented Apr 1, 2014

On Tue, Apr 1, 2014 at 12:29 PM, Jerome Leclanche
[email protected]:

While we are on the topic of plugins, my main personal request regarding
those is the ability to integrate with custom file backends. For example:

  • Archive support (zip, rar, tar, ...) including custom formats (mpq)

Actually, this can be done without plugins. (Use DES-EMA support)

  • Dropbox support
  • Git plugin support (think tortoisegit)
  • Probably implement things such as ftp, sftp as plugins

This is not needed. Currently sftp and ftp are provided by gvfs and can
work out of the box.

  • Implementing the trash as a plugin would be a nice proof of concept.

This is provided by gvfs already. For an environment without gvfs, a
simple non-GUI gio plugin can do this. The file manager is the wrong place
to put this.

Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-39169908
.

@alphaonex86
Copy link

Hi, plugin system to pass copy/move file/folders to external program will be greate for me.

@tsujan
Copy link
Member

tsujan commented Dec 19, 2019

@alphaonex86 pcmanfm-qt has a detailed custom actions support. If the external program in question has command-line options, you could create custom actions for sending file operations to it.

@jleclanche Most probably, the same is true for Dropbox and git jobs. Other features mentioned in this old report are already covered (as PCMan explained).

Custom actions are the least known -- but very flexible -- feature of pcmanfm-qt. If something is needed, I think, it's a good help doc (see #550).

@alphaonex86
Copy link

alphaonex86 commented Dec 19, 2019

Ultracopier support CLI, but I'm totally lost about what I need to do.

EDIT: ultracopier cp sources/ destinations/
ultracopier mv sources/ destinations/

@tsujan
Copy link
Member

tsujan commented Dec 19, 2019

Ultracopier support CLI

That means your problem is solved :)

I'm totally lost about what I need to do.

You just need to create "custom actions" (for yourself and/or your users). The good news is that your custom actions will work with any file manager that supports them. I think Nemo and Thunar do; Nautilus did before -- I don't know about its current state.

The custom actions documentation is attached to this comment: #550 (comment)

@alphaonex86
Copy link

I have see it, but all my try to redact a working .desktop or maybe enable it failed.
Can you write a simple example? And simple how to integrate?

@tsujan
Copy link
Member

tsujan commented Dec 19, 2019

Can you write a simple example? And simple how to integrate?

You could download the attachment and read the file Explanation for an example: these custom actions add emblems to files/folders. Making actions for copy/paste/delete with your app should be even easier.

emblems.zip

EDIT: Added more explanation

@alphaonex86
Copy link

Well after lot of try, the example not work. No new menu entry anywhere.
I don't see for now how making actions for copy/paste/delete with my app.

@tsujan
Copy link
Member

tsujan commented Dec 19, 2019

That was the most practical help I could offer -- and it works.

You could find many explanations on the Internet by searching "custom file manager actions".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants