Removable Flash Disk "eject" option

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Removable Flash Disk "eject" option is a service menu option that allows you to safelly remove/eject/unmount your Flash Disk.

I've made this since KDE doesn't have that option by default and I've seen a lot of people asking how to safely remove their flashdisk.

Hope it help.

asdex

14 years ago

How does it work? There are several different ways to mount an usb stick: * fstab * subfs ...

Report

C

pek

14 years ago

Hi,
this "script" doesn't mount the flashdisk, it does the oposite, eject it using the kio_media_mounthelper command. You just need to copy one file to the KDE service menus dir.

Like guerrier said, some types of usb sticks doesn't work with the eject command , others need to be umounted and ejected, to change it just edit the flashdisk_eject.desktop script file, look to the last line and change the -e option to -u for unmount or -s to unmount and eject.

Report

smileaf

14 years ago

This is already implemented in KDE 3.4.x
Option is called "Safely Remove"
What version are you running?

Report

neofreko

14 years ago

Yup, it's alreay done. Just have it in my last KDE update (3.4.2-2) in FC 4. sticking the usb flashdisk will make a helper app show up in tray. There goes the option :)

Report

C

pek

14 years ago

I'm running KDE 3.4.2 "Level a" in SuSE 9.3 64-bit and it doesn't have it and I saw a lot of people that doesn't have that option too.

Report

guerrier

14 years ago

hi, i really like your work, especially when i install my friends pc's who don't know really good linux. This was the feature i missed. Altough it seems that it doesn't work for me.
If i launch the command kio_media_mounthelper -e /dev/sda it in a shell i get following error message: Eject /dev/sda failed!, ok i try with sudo and use -u instead of -e it works fine, so i changed the command in the file flashdisk_eject.desktop and now it's working for me.

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Oct 01 2005
added Oct 01 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0