Re: media renaming

On Wed, Oct 27, 2010 at 10:10 AM, Andreas Heinlein <aheinlein gmx com> wrote:
Am 26.10.2010 23:06, schrieb Levente Torok:
> Hi Guys,
> Whenever I plug a new (pendrive, harddrive) device to my ubuntu, I see
> a strange media names such as E4F1-45DC plugged.
> I use mtools to rename the media as
> sudo umount /dev/sdb1
> sudo mlabel -i /dev/sdb1 ::<new name>
> and remount.
> Can you imagine that you can integrate this functionality into GUI of
> nautilus?
> Thanks,
> Lev

there are two ways to do this with a GUI:
1) Use the Disk Utility (from System->Administration). This seems to be
the proposed way.
2) Use nautilus-actions to have something like "Change drive label" in
the context menu, which then executes mlabel. The difficult part here is
to get this to appear only when right-clicking a drive. The key is to
use the custom URL schemes "computer:///" and "x-nautilus-desktop:///"
(with the side effect that the menu item also appears when
right-clicking other items on the desktop). I am currently preparing
this as a package, since we need this too. If you like, I can mail it
when it's done.

nautilus-list mailing list
nautilus-list gnome org

Hi Andreas,

Thanks for responding on my FAQ level question.
If you would like me to test and comment on the package, I am happy to do it.
Indeed, I am more of a command line guy then GUI guy and I am not familiar with nautilus-actions,yet.
In fact I couldn't figure out how to persuade it to execute umount and use mount-device instead of mount point but again. This is not essential for me but I think it is something that probably users would like to see.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]