Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:mnttool [2012/11/22 10:59] – rewrote description and modified section headers lvernswiki:mnttool [2012/12/08 14:17] (current) – added the MNTTOOL variable lverns
Line 8: Line 8:
 {{ :wiki:mnttool.png?nolink&50 |}} {{ :wiki:mnttool.png?nolink&50 |}}
  
-The program lists all the the available drives. Red ones are unmounted and green ones are mounted. +The program lists all the the available drives. Red ones are unmounted and green ones are mounted. Simply click on the name of the drive to mount or unmount it. By default, all drives are mounted under /mnt\\  
-If mnttool encounters an error and can't (un)mount the drive whose button you clicked, the button will remain +If **mnttool** encounters an error and can't (un)mount the drive whose button you clicked, the button will remain 
 unchanged, but it won't display an error message. (However, if you launched from a terminal, then you'll see an error message there.) unchanged, but it won't display an error message. (However, if you launched from a terminal, then you'll see an error message there.)
  
-It isn't possible to unmount the drive specified by the //**tce=**// bootcode when using mnttool.+====Environment Variables==== 
 +**mnttool**'s behavior can be modified with the following environment variables. 
 +Remember: if you set an environment variable in ~/.profile , you will need to log off and on for it to take effect. 
 +==FILEMGR== 
 +This variable can be used to make **mnttool** automatically launch your favorite file manager upon the successful mounting of a drive. When a drive is successfully mounted using **mnttool**, your file manager will be launched at the drive's mount point and **mnttool** will close. It should look something like this <code>FILEMGR="/file/manager/of/your/choice"</code>
  
-It is possible to make mnttool automatically launch your favorite file manager when it successfully mounts a drive. +==MNTTOOL== 
-Simply add this line to your ~/.profile  +This variable can be used to set the location of mnttool. It is used something like this 
-     export FILEMGR=$prog +<code>export MNTTOOL="X Y"</code>where is equal to the distance from the left side of the screen and 
-where $prog is the file manager of your choice. (You must log off and log on again for this to take affect +where Y is equal to the distance from the top of the screen. 
-for the first time.)+Note: This variable is overridden by the -g[eometry] argument.
  
 ====Command-line options==== ====Command-line options====
Print/export
QR Code
QR Code wiki:mnttool (generated for current page)