Magic Folder

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

20
7 .6
Description:

A widget that sorts files dropped onto it into the users personal file system, following custom made rules.
Last changelog:

10 years ago

1.2.3
ADDED: Label underneath the icon FIXED: The configuration wasn't always saved

1.2.2
FIXED: Simple Wildcards weren't working

1.2.1
CHANGED: Background is now transparent ADDED: i18n support for 4.2.0 to 4.2.80 (4.2.90+ got native support) ADDED: German translation (100%) ADDED: Polish translation (80%)

1.2.0
ADDED: Preset filters for video, image, audio and text files FIXED: Scripts got files with protocol prefix, even with local files ADDED: "Copy Only"-function

1.1.1
ADDED: Filter Import/Export ADDED: Checkbox and Info-Button for Script Support CHANGED: Files get filtered and processed in chunks FIXED: Crash occured when opening the config a second time ADDED: Tooltips for buttons

1.1.0
ADDED: Icon Customizability CHANGED: Filters get saved outside plasma-appletsrc ADDED: Experimental Script Support FIXED: did case insensitivity ever worked oO ? CHANGED: Buttons on the filter page are now in a toolbar

1.0.2
FIXED: loading issue FIXED: config ui didn't recognize case sensitivity setting

1.0.1
FIXED: some size and margin issues

1.0.0
initial release

C

bizzl

11 years ago

Did you use the graphical installer?
I'm not sure, but it appears to be broken. On Kubuntu it sometimes worked, but always gave an error message. Try to use plasmapkg -i plasmoidfile.plasmoid from the CLI.

Report

couteau

11 years ago

Cool plasmoid. Very handy. Thanks! It would be great if it could be an option to make the background transparent (like the trashcan plasmoid) so you just see the green folder on the desktop, and not the black square around it.

Report

trisr

11 years ago

Top notch plasmoid that I'm waiting to find more uses for.

One thing that I was wanting to achieve was to be able to copy a file to a folder rather than move (so I can drag and drop finished torrents to their destination but keep them seeding from the original location).

As a suggestion for future a tick box option to copy rather than move would be really handy.

In the meantime I'm trying to have this done with a script but I can't figure out how to pass the filename to a bash script. Can anyone help?

The script:
#! /bin/bash
# Copy Script for Magic Folder - test
cp $1 ~/sandbox/test

And from the command line the following works as expected
copyscript.sh file.txt

Thanks for any assistance and most of all for a great app.

Report

C

bizzl

11 years ago

My bad, sorry.
I have forgotten to remove the protocol prefix kio uses, so you get URLs starting with "file://", which bash doesn't like.
I will fix that asap.

I will also add this "copy"-option. Really didn't thought anyone would want that, sorry.

Report

trisr

11 years ago

Wow. I don't think that I've every seen a requested feature added that fast. That's amazing. Trying out the copy to feature now. Seems to work great.

I'll test out the scripting modification soon but I cont know if I need that now.

Thanks again... You reminded me why I love KDE.

Report

mintlars

11 years ago

Hi

This is a great plasmoid with a lot of potential usage for a lot of people. However, it could be a lot simpler to use or at least have some sort of manual.

Right now it's kind of difficult to use it if you don't already know how. A word like "regex" is non-explanatory for newbies. Also, there is no help to learn how to use it. There are also a lot of file-extensions that the user should know about before they use it-

My suggestion is that you could use predefined filters for different kind of files. For example a video-filter, document-filter etc. Classifications that are common to sort into. All the user has to do is fill in the destination for the different classes. This way, the user also gets an example of how the regex is supposed to look, and can thus learn how to define own filters.

Report

C

bizzl

11 years ago

Quote: Right now it's kind of difficult to use it if you don't already know how. A word like "regex" is non-explanatory for newbies.
Indeed, but I haven't yet figured out how to make own translations, or even how to get a listing of all existing i18n-keys :(
Any suggestions where to look?

Quote: My suggestion is that you could use predefined filters for different kind of files. For example a video-filter, document-filter etc. Classifications that are common to sort into. All the user has to do is fill in the destination for the different classes. This way, the user also gets an example of how the regex is supposed to look, and can thus learn how to define own filters.
I will look into that.

Report

Matti

11 years ago

Hi,

Does this theme support kio slaves, for example fish:// or smb://?

Can't seem to make it work with those.

Report

C

bizzl

11 years ago

Theoretically yes, practically not really.
A the moment you have to set it up similar to using the script support, as the editor gui currently checks for existence of the destination. This will be fixed, read removed, in the next version.

Report

PeperJohnny

11 years ago

Will you move this widget to kdesvn by any chance?

Report

C

bizzl

11 years ago

Quote: Will you move this widget to kdesvn by any chance?
not any time soon. It's to little to justify an account, and I think Script Plasmoids are better of on freedesktop.org pages anyway.
However, I neither will I step in if someone else want's to take it there.

Report

PeperJohnny

11 years ago

Thank you for your answer

Report

joth666

11 years ago

Would it be possible to add the possibility to run external scripts?

I.e. if one drops a .wav file on it, a external script could be run that:

1. Automatically converts it to a .ogg file
2. Moves it to a specified location.

Just an example (and maybe a stupid one...).

Report

C

bizzl

11 years ago

Didn't got to develop anything the last week, but I will add your tip to my "Will be considered" list.

Report

chupy35

11 years ago

i install it succesfully but what do i have to do to configure.

how do i make that for example in /home/kde/file accept this formats:

jpg png swf etc...

in the same line... i cant do it.

Report

C

bizzl

11 years ago

Use complex regex instead, e.g. \.(swf|jpe?g|png)$. To enable them, uncheck wildcard.

Report

chupy35

11 years ago

thanks you are my hero XD

Report

snirp

11 years ago

Failing on Kubuntu 8.10 / KDE 4.2.1

1. Downloaded the file, but "add widget" failed to locate it on my system.
2. Tried to install over internet resulting in following errors.
[Installation of /tmp/kde-snirp///100348-plasma-magic-folder_1.0.2.plasmoid failed]
[Installation of /tmp/kde-snirp/// failed!]
3. The widget does show in my "add widget" menu, but after adding it to my desktop, the following is displayed:
[Could not create a python ScriptEngine for the Magic Folder widget.]

Report

snirp

11 years ago

Tried to do the imports in the widget's python file and failed on:
>>> from PyKDE4 import plasmascript
ImportError: cannot import name plasmascript

This the issue?

Report

C

bizzl

11 years ago

Quote: 1. Downloaded the file, but "add widget" failed to locate it on my system.
2. Tried to install over internet resulting in following errors.
[Installation of /tmp/kde-snirp///100348-plasma-magic-folder_1.0.2.plasmoid failed]
[Installation of /tmp/kde-snirp/// failed!]
Both known, both not my fault. Those are either Bugs in KDE or in Kubuntu (I have 9.04 with 4.2.1, same shit happens to me all the time)

Quote: 3. The widget does show in my "add widget" menu, but after adding it to my desktop, the following is displayed:
[Could not create a python ScriptEngine for the Magic Folder widget.]
Install python-plasma

Report

snirp

11 years ago

That did the trick. This is brilliant man!

Report

NForce

11 years ago

Version 1.0.1 still fails to init after reboot, and crashes plasma when i cla "kquitapp plasma", so in any way settings are not saved(

Report

NForce

11 years ago

I mean "call "kquitapp plasma""

Report

masterkoppa

11 years ago

I can confirm this just got back home and noticed it had disappeared, but on a curious note, it did not disappear while there were no settings set.

At first I rebooted just to see if it was already fixed, but i didn't set any preferences to the plasma. On reboot the plasmoid worked as expected. Then after setting my folders up, then restarting I notice it failed to start, so my guess is that it has something to do with the settings.

Report

C

bizzl

11 years ago

Thanks for reminding me. Should be fixed now.

Report

10 years ago

1.2.3
ADDED: Label underneath the icon FIXED: The configuration wasn't always saved

1.2.2
FIXED: Simple Wildcards weren't working

1.2.1
CHANGED: Background is now transparent ADDED: i18n support for 4.2.0 to 4.2.80 (4.2.90+ got native support) ADDED: German translation (100%) ADDED: Polish translation (80%)

1.2.0
ADDED: Preset filters for video, image, audio and text files FIXED: Scripts got files with protocol prefix, even with local files ADDED: "Copy Only"-function

1.1.1
ADDED: Filter Import/Export ADDED: Checkbox and Info-Button for Script Support CHANGED: Files get filtered and processed in chunks FIXED: Crash occured when opening the config a second time ADDED: Tooltips for buttons

1.1.0
ADDED: Icon Customizability CHANGED: Filters get saved outside plasma-appletsrc ADDED: Experimental Script Support FIXED: did case insensitivity ever worked oO ? CHANGED: Buttons on the filter page are now in a toolbar

1.0.2
FIXED: loading issue FIXED: config ui didn't recognize case sensitivity setting

1.0.1
FIXED: some size and margin issues

1.0.0
initial release

12345678910
214
product-maker aspotashev Jul 21 2013 9 excellent
product-maker hateshark Jan 14 2013 9 excellent
product-maker dotNet Nov 27 2012 9 excellent
product-maker otzy007 Aug 31 2012 9 excellent
product-maker tamra Aug 25 2011 9 excellent
product-maker quippini Aug 11 2011 9 excellent
product-maker floopy1962 Jul 19 2011 9 excellent
product-maker YAFU Jun 16 2011 9 excellent
product-maker spechard Jun 10 2011 9 excellent
product-maker adrruiz May 30 2011 9 excellent
product-maker Albkerle May 13 2011 9 excellent
product-maker ologgio May 10 2011 9 excellent
product-maker RyanMcCoskrie Apr 18 2011 9 excellent
product-maker kondor6c Dec 26 2010 3 bad
product-maker MetalByte Nov 28 2010 9 excellent
product-maker TranquilWaters Nov 09 2010 3 bad
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
aspotashev
Jul 21 2013
UndefinedDecoder
Nov 21 2012
vylycyn
Aug 24 2011
bulldog98
Mar 04 2010
Sparrowmelody
Sep 30 2009
ziolo4ever
Aug 20 2009
bcrisciotti
Jun 15 2009
gravy
May 18 2009
trisr
May 17 2009
Murz
Apr 27 2009
universe777
Apr 18 2009
onlinelli
Apr 02 2009
Montblanc
Mar 27 2009
snirp
Mar 19 2009
dimitrispan88
Mar 13 2009
Flintheart
Mar 12 2009
masterkoppa
Mar 11 2009
BurkeOne
Mar 11 2009
schnupp
Mar 04 2009
PoL666
Mar 03 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.2.2
updated Jul 23 2010
added Mar 02 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 10