Differences
This shows you the differences between two versions of the page.
wiki:mnttool [2012/11/22 09:38] lverns [Usage] removed mention of tce=; added instructions for (un)mounting |
wiki:mnttool [2012/12/08 11:17] (current) lverns added the MNTTOOL variable |
||
---|---|---|---|
Line 12: | Line 12: | ||
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 is possible to make mnttool automatically launch your favorite file manager when it successfully mounts a drive. | + | ====Environment Variables==== |
- | Simply add this line to your ~/.profile | + | **mnttool**'s behavior can be modified with the following environment variables. |
- | export FILEMGR=$prog | + | Remember: if you set an environment variable in ~/.profile , you will need to log off and on for it to take effect. |
- | where $prog is the file manager of your choice. (You must log off and log on again for this to take affect | + | ==FILEMGR== |
- | for the first time.) | + | 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> |
+ | |||
+ | ==MNTTOOL== | ||
+ | This variable can be used to set the location of mnttool. It is used something like this | ||
+ | <code>export MNTTOOL="X Y"</code>where X is equal to the distance from the left side of the screen and | ||
+ | where Y is equal to the distance from the top of the screen. | ||
+ | Note: This variable is overridden by the -g[eometry] argument. | ||
====Command-line options==== | ====Command-line options==== |