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:40] – removed single quotes since the box sets off the string very clearly lvernswiki:mnttool [2012/12/08 14:17] (current) – added the MNTTOOL variable lverns
Line 1: Line 1:
 ====Description==== ====Description====
-**mnttool** is a small program for mounting drives. +**mnttool** is a small GUI for mounting drives. It was written by Robert Shingledecker in C++ using [[ http://www.fltk.org | FLTK ]]. It was included in the 1.0 release of TinyCore and has been included in every release of TinyCore to this day. It is also included in the CorePlus imageTechnically, it is contained in Xprogs.tcz and can be downloaded separatelyThe source code is also available online.
-It is contained in Xprogs.tcz which is contained in the TinyCore and MicroCore images and can also be downloaded independently +
-It was written by Robert Shingledecker.+
  
 +====Usage====
 You can launch the program by running  You can launch the program by running 
 'mnttool'  'mnttool' 
Line 9: 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====
Line 78: Line 81:
  
  
-===Colors===+====Colors====
 The color arguments are slightly complicated. The color arguments are slightly complicated.
 For a full description you can visit this site which describes valid strings for describing a color: For a full description you can visit this site which describes valid strings for describing a color:
Line 87: Line 90:
 The numbers between the slashes should be a two-digit hexidecimal number between 00 and ff.  The numbers between the slashes should be a two-digit hexidecimal number between 00 and ff. 
  
-===Further Reading/Sources===+====Further Reading/Sources====
 http://forum.tinycorelinux.net/index.php/topic,11974.msg63987.html#msg63987 http://forum.tinycorelinux.net/index.php/topic,11974.msg63987.html#msg63987
Print/export
QR Code
QR Code wiki:mnttool (generated for current page)