MandrivaUsers.org : Let's talk GUI! - MandrivaUsers.org

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Let's talk GUI! monitor a folder & the "paperclip" idea

#1 User is offline   Darkelve 

  • half-geek
  • Group: Members
  • Posts: 2,519
  • Joined: 13-April 03

Posted 14 February 2007 - 07:59 AM

1. Automatik

For those who have read my "Magnetic (files And) Folders" idea, someone commented that it's a lot like what Mac OSX smart folders (and to a lesser extent, Vista's search folders) uses.

So this idea is a more simplified version of that. The problem is downloading files and moving them around the filesystem (your folders). The main thing I would like to do is make it so that when a certain file gets downloaded, it "reads" the extension/metatype and copies it to the appropriate folder. For example when downloading a Video, it would end up in the folder "/home/tux/Video". But I realized you can also use this for your "local" file management. The way it could work is that:

- there is a hidden or visible folder "Automatik" (the name I made up) or ".Automatic" in your home folder where you can download or drag things to
- it could also be useful to have a drop zone for files or links, especially if you have a hidden folder .Automatik
- the folder gets monitored constantly for changes. For example beagled could probably do this
- when a change is detected (for example, you finish downloading videoTrigun01.avi ), it checks the file and does something with it according to certain criteria. The most simple thing would be to copy/move it to the /home/tux/Video folder, but a more advanced feature could also be parsing the file name and when it contains the string "Trigun", it copies/moves that file to /home/tux/Video/Trigun
- Of course certain files have to be excluded, e.g. .part files (partial downloads). Then again, "Automatik" would only do something with extensions/metatypes where there are rules for
- some more advanced stuff: say you have a folder with thumbnails and real-size pictures for your website. By scanning the filesize Automatik could create seperate folders for the thumbs and the actual pictures or issue a command to do other picture-stuff with them.


2. The paperklip (no, it's not "clippy" ! :P/> )

Not sure if this already exists somewhere, but basically the paperklip idea is that you have an icon on your desktop that "holds" a stack of several files, such as video thumbnails or picture thumbnails. When clicking/hovering on it, either the file you have the mouse pointer over gets magnified and you can scroll through it that way with mouse or arrow keys (sort of like the Max OSX animated taskbar), or a 3D "ellipse" pops out, such as the 3D Window switcher in Beryl, and you can also navigate that with mouse or keyboard keys. Clicking or double-clicking it might also launch a program that automatically loads all the files in it, such as Digikam or Picasa for pictures.

3. Combining the two

Whenever Automatik sees a change for a filetype/mimetype that corresponds to the paperklip, you see an animation of the file(s) "flying" to their destination, as if the paperclip was magnetic (here I go again with magnetism... :P/>). This way even when Automatik moves files in the background, this can be spotted.


Genius? Madness? Waste of time? You decide! :P/>


[moved from Everything Linux by spinynorman]
0

#2 User is offline   Gowator 

  • always learning
  • Group: Platinum
  • Posts: 5,674
  • Joined: 09-May 03

Posted 14 February 2007 - 11:59 AM

Man, I deleted the directory where I'd put the code for this only this week.
Fere libenter homines id quod volunt credunt. (J.C. de Bello Gallico III/XVIII)

Visit my visitor site for coelaics, find out what a coelaic is even.
http://linuxmigratio....fr/glutenfree/
0

#3 User is offline   Darkelve 

  • half-geek
  • Group: Members
  • Posts: 2,519
  • Joined: 13-April 03

Posted 14 February 2007 - 01:50 PM

Oops!

I'm very sorry... I feel a bit guilty now... :|
Especially since I couldn't try it out decently when you posted it.

And apparently plasmoids will be able to do stuff like the Paperklip idea... open source progress never ceases to amaze me...

Anyway, there's an interesting comments on KDE.org forum as well: http://dot.kde.org/1171382220/

Just search for my username. WorkFlow fed from Beagle search results looks pretty sweet.

View PostGowator, on Feb 14 2007, 12:59 PM, said:

Man, I deleted the directory where I'd put the code for this only this week.

This post has been edited by Darkelve: 14 February 2007 - 01:52 PM

0

#4 User is offline   Darkelve 

  • half-geek
  • Group: Members
  • Posts: 2,519
  • Joined: 13-April 03

Posted 14 February 2007 - 06:17 PM

Okay, as per someone's suggestion I'm going to try messing around with inotifywait and inotifywatch... wish me luck! :unsure:/>
0

#5 User is offline   iphitus 

  • Arch Linux Developer, Rocket Scientist
  • View blog
  • Group: Global Moderator
  • Posts: 3,869
  • Joined: 16-April 03

Posted 14 February 2007 - 09:41 PM

Theres firefox extensions to put filetypes in a particular folder.
0

#6 User is offline   Darkelve 

  • half-geek
  • Group: Members
  • Posts: 2,519
  • Joined: 13-April 03

Posted 15 February 2007 - 07:29 AM

I searched, but I couldn't find any? They all seem to be download managers without the functionality for this. Can you point me to one please?

View Postiphitus, on Feb 14 2007, 10:41 PM, said:

Theres firefox extensions to put filetypes in a particular folder.

This post has been edited by Darkelve: 15 February 2007 - 07:29 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users