Python file-manager

Discussion about user contributed plugins

Moderator: Moderator

How to Delete files in FileManager ? (more details here)

Poll ended at Tue Dec 09, 2008 8:58 am

Add a trashcan-dir to filemanager
0
No votes
Add a global delete_list (global to MMS)
0
No votes
Add a delete button directly to filemanager
6
100%
 
Total votes: 6

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Wed Jul 23, 2008 11:29 am

It was updated to work with new python code. It's in the mms source, not on wiki.

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Postby esprit » Wed Jul 23, 2008 12:29 pm

Ok thanks.

If you have an updated package I'll be pleased to upload it today.
If not, I could not do it before tomorrow (not @home tonight).

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Postby esprit » Thu Jul 24, 2008 4:24 pm

Who should I thank for the update in the README file ?
arj ? :D

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Thu Jul 24, 2008 6:46 pm

Thank Fredde :wink:

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Postby esprit » Fri Aug 01, 2008 12:24 pm

Uatschitchun wrote:filemanager needs update! (pythin-plugin changes)

Would be nice to have new version asap, so I can package mms-addon-python-pyglets ... pls :twisted:

Done !
http://eesprit.free.fr/mms/python/filem ... 5.1.tar.gz
Wiki is up to date too.

Sorry for the long time it takes, but when I tried it last week, last bazaar revision of mms was segfaulting :?

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Python file-manager

Postby Uatschitchun » Mon Nov 24, 2008 8:13 am

Hi ;)

I would like to bring back the idea of removing/deleting files with filemanager-pyglet!

I could think of 3 ideas on how this could be implemented:

1.) Add a global trashcan-dir to filemanager:
One could define

Code: Select all

Enable_Trashcan = true
trashcan_dir = /home/user/trash

And have the possibility to trash files into that folder for to delete them offline then (safety).

Usage would be:
Just move file into trashcan.
Adding an option to empty trash would be nice then, too

Pro: secure
Con: space needed in trashcan_dir

2.) Add a global delete_list.
This list could be accessible from within filemanager only, but could also be added to MMS (second-action-menu) once this is possible ;)
So a file doesn't really get deleted but only is added (with full path) to a delete_list (textfile).
If the user really want to delete the files within that delete_list, it could be done offline

Code: Select all

cat delete_list | xargs rm -rf

or from another pyglet explicitly designed for that pupose:
delete_list_deleter-pyglet


Pro: secure
Con: Need extra step

3.) Add a delete button directly to filemanager ;)

with default=

Code: Select all

enable _delete_button = false


Pro: convenient
Con: insecure


Another suggestion:
Could the 2 file-windows be named within filemanager?
Naming the left one Source and the right one Destination could help 8)
Lg
Roman

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Re: Python file-manager

Postby esprit » Mon Nov 24, 2008 9:00 am

Ok, just added a poll to topic so people can vote :wink:

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: Python file-manager

Postby Uatschitchun » Mon Nov 24, 2008 8:46 pm

I voted for 3.), but the most convenient way (in my eyes) would be 2.), allthough this would need:
something like described here
Lg

Roman

User avatar
MartinZ
Posts: 23
Joined: Wed Nov 19, 2008 2:04 pm

Re: Python file-manager

Postby MartinZ » Sat Nov 29, 2008 12:26 pm

I have problems trying to copy directories. If I want to copy directory MP3 from /downloads/ to /Multimedia/AUDIO/ - I get error message /Multimedia/AUDIO - dirrectory already existing.


Return to “user plugins”

Who is online

Users browsing this forum: No registered users and 1 guest