[CORE-DEVEL] Support for mounting encrypted devices

Stefan Taferner taferner at kde.org
Fri Feb 13 08:23:12 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 12 February 2004 5:31 pm, Thomas Vollmer wrote:
> On Monday 09 February 2004 15:32, Tobias Koenig wrote:
> > Hi,
>
> Hi,
>
> > at the moment it's not possible to mount an encrypted device (e.g. an
> > USB stick with encrypted partition on it) with a single click on the
> > desktop icon like you can do with all the other devices.
> >
> > The problem is that 'mount' asks the user for a password on the tty.
>
> it's the same issue with a samba share You have in Your fstab. There You
> also need to mount it from a shell at the moment.

Its not 100% automatic, but you can define new actions that do
the work. Below is my simple test. Its the desktop entry for my Zip drive.

Dont know if it is possible to override the default mount/unmount
actions, however. This would be a nice feature, yes.

Kind regards,
Stefan

__________________________________

[Desktop Action XMount]
Exec=xterm -e "mount %v"
Icon=undo
Name=XMount
Name[de]=XMount

[Desktop Action Eject]
Exec=kdeeject %v
Icon=undo
Name=Eject
Name[de]=Auswerfen

[Desktop Entry]
Actions=Eject;XMount
Dev=/dev/sda4
FSType=auto
Icon=zip_mount
MountPoint=/mnt/zip
Name=ZIP
ReadOnly=false
Type=FSDevice
UnmountIcon=zip_unmount
X-KDE-Dynamic-Device=true
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFALIl9yFGHHVZzCLwRAhE2AJ0Q5cDIK9a/KxCGYesA60wS2WdPfwCgkaSk
co4SjJVaL4NCrsMa2JEiIBI=
=L5XH
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list