Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:mnttool [2012/11/20 16:06] – added a link lverns | wiki:mnttool [2012/12/08 14:17] (current) – added the MNTTOOL variable lverns | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====Description==== | ====Description==== | ||
| - | mnttool is a small program | + | **mnttool** is a small GUI for mounting drives. |
| - | It is contained | + | |
| - | It was written by Robert Shingledecker. | + | |
| + | ====Usage==== | ||
| You can launch the program by running | You can launch the program by running | ||
| ' | ' | ||
| Line 9: | Line 8: | ||
| {{ : | {{ : | ||
| - | 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. |
| - | 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 | + | ====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 | ||
| - | It is possible | + | ==MNTTOOL== |
| - | Simply add this line to your ~/ | + | This variable can be used to set the location of mnttool. |
| - | 'export | + | < |
| - | where $prog is the file manager | + | 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==== | ||
| + | Remember, **mnttool** is a GUI program written using FLTK. As such it will print the standard FLTK switches; however, some of them are ignored. | ||
| Here is an explanation of the all the command-line options printed when you run " | Here is an explanation of the all the command-line options printed when you run " | ||
| -bg2 color\\ | -bg2 color\\ | ||
| - | This option is actually ignored | + | This option is actually ignored\\ |
| - | < | + | [[ http:// |
| -bg color\\ | -bg color\\ | ||
| Line 77: | 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 86: | 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/ | + | ====Further Reading/ |
| http:// | http:// | ||