
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
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
15 years ago
Report
pek
15 years ago
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
15 years ago
Option is called "Safely Remove"
What version are you running?
Report
neofreko
15 years ago
Report
pek
15 years ago
Report
guerrier
15 years ago
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