I use this bash script to a umount with a shortcut key. Using KDE. (bad formatting in hn)<p>#!&#x2F;bin&#x2F;bash                                                           
for i in `ls &#x2F;media&#x2F;$USER`                                                  
do
cd &#x2F;media&#x2F;$USER
umount $i
done<p>ls &#x2F;media&#x2F;$USER |grep -v cdrom0 |grep -v cdrom&gt; &#x2F;tmp&#x2F;disk_status            
file=&#x2F;tmp&#x2F;disk_status                                                 
if [ ! -s $file ]; then
kdialog --passivepopup &quot;Nothing Mounted &quot; 1
else                                                                  
kdialog --passivepopup &quot;Mounted devices: `cat &#x2F;tmp&#x2F;disk_status`&quot; 2
fi