Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #16169: unique behaviour for each external storage

Written by antalar the 3 Dec 08 at 08:21. Related project: Device Manager (gnome). Status: New
Rationale
As I understand, system could distinguish one external storage from another. So, I think it would be useful to set unique after-plugging-behaviour for each device.

For example, I use 4gb apacer flash only for backup. So the only thing I want to do with it is to run appropriate script and then unplug.
Another my USB device is my 2gb transcend pleer. Every time I plug it, I want only to sync contents of my ~/music/2pleer/ folder with it. So, may be you could find some solution (preferably GUI-based) for this?
Tags: (none)

36
votes
up equal down
Solution #1: Auto-generated solution of idea #16169
Written by antalar the 3 Dec 08 at 08:21.
Ubuntu Brainstorm was updated in January 2009. Since the idea #16169 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
cheesehead (Brainstorm admin) wrote on the 3 Dec 08 at 16:43
This seems like a pretty advanced behavior to expose basic users to. Perhaps useful as an additional package (not default install).

How can we prevent complaints that 'It's confusing' or 'It did what I told it to...but I didn't really want that behavior this one time'?

(I just script it today - nobody to blame but me if it fails)

grigio wrote on the 3 Dec 08 at 18:29
You can already do it!

create an autorun.sh and put it in your media root

es. /media/backup/autorun.sh
with inside:

#!/bin/sh
python /opt/flyback/flyback.py

everytime you plug it the script will be executed


Post your comment