Jump to content

Special:Badtitle/NS90:Talk:Dolphin/File Management/How do I eject a device that is not mounted?/reply (3): Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
No edit summary
Yurchor (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
# Create file '''eject.sh''' in a preferred folder (e.g. your home folder).
# Create file '''eject.sh''' in a preferred folder (e.g. your home folder).
# Edit this file. Just add {{Input|1=#!/bin/sh
# Edit this file. Just add  
eject /dev/cdrom}}in it.
 
<nowiki>#!/bin/sh</nowiki>
 
eject /dev/cdrom
 
in it.
# Make the file executable through <menuchoice>Properties</menuchoice> of the context menu of ''Dolphin'''.
# Make the file executable through <menuchoice>Properties</menuchoice> of the context menu of ''Dolphin'''.
# Make right mouse button click on '''Dolphin''' side bar.
# Make right mouse button click on '''Dolphin''' side bar.

Latest revision as of 08:42, 7 January 2011

  1. Create file eject.sh in a preferred folder (e.g. your home folder).
  2. Edit this file. Just add
#!/bin/sh
eject /dev/cdrom

in it.

  1. Make the file executable through Properties of the context menu of Dolphin'.
  2. Make right mouse button click on Dolphin side bar.
  3. Choose Add item....
  4. Fill the fields of the window that appeared. Add Eject disk in Label field and the address of your script in Address field. Choose the appropriate icon.
  5. Click on OK.