Hello!
JM has written on Wednesday, 21 November, at 1:05:
>You said:
>" Today my niece got into problem. Flash card on their videocamera
>showed free 9MB of 8GB while every file was deleted. Obvious thought is
>to re-format it. But how to do it? "
>therefore I didn't suppose you were talking about making it a userland
>feature. I don't
>know how to create a custom action in pcmanfm, or in any file manager either
>by the way.
I'm sorry for not being very clear. I sometimes say things that other
can't understand what I meant exactly but see another meaning. I'm sorry.
I meant exactly how it should be presented to users. I do know how to add
possible actions into any menu in pcmanfm (and 1.2 will bring two more of
extensions for that) but what I don't know: how to present it in the most
convenient way.
>But I know that when you start Gparted (don't use sudo, it is a pkexec
>command, so you
>should be prompted for the root password just by starting it from menus and if
>it does
>not, then type "gksu gparted", and avoid using "sudo" for gui applications) so
>when you
>start Gparted, there is not a tool as easy as this one and as secure to manage
>any storage
>device. One, it will not let you format a mounted drive. Two, everything is
>very clear in
>the menus, three it always performs a test before doing the formatting, so if
>something
>is not ok it will not format a drive.
gksu is in fact the same thing as sudo: it runs the application with
EUID root but it is not commandline tool but GUI one. Anyway it will run
GParted under root privileges and risk to break system disk still exists
if user doesn't know any difference. You know, USB flash drive will need
unmounting as well so accidents may be possible. :)
I've used GParted but I would not recommend to use it to an user who
never seen any disk tool and doesn't know what any /dev/sdX means, what
is the drive, what is the partition and isn't tech person at all. Let me
present their look at it:
- What that table means? Some crazy numbers, I don't understand them!
- Those bars are the fragmentation of my drive? Why it is fragmented?
- Where is my flash drive? Only hard drive I can see there!
- What is meaning of 'New'? It will search for my flash drive?
- What is meaning of 'Delete'? It will detach my hard drive cable?
Believe me, they will think this way if they don't see all the drives and
actions in the main window. GParted is a tool for repartitioning, not for
easy (no-click to see, and single-click for advanced test) inspecting the
state of the drive and/or unmounting/reformatting it in intuitive way. I
think, GDU is such kind of tool, have you ever tried it?
>If your idea would be to create actions such as what is implemented in Windows
>where it
>is easy to reformat a drive the way you describe it, well, so be it. Just
>don't forget
>that in Windows the default is to be logged in as administrator, without a
>password.
In UNIX you still have full access to flash drive if you are member
of appropriate group so it will be not a problem. The problem is how to
do it appropriately and simple for mentioned user who wants to format it
and that is the first time in the life he/she doing some disk operation.
Thank you very much!
Andriy.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list