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 13:10] – lverns | wiki:mnttool [2022/09/21 17:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====Description==== | ||
+ | **mnttool** is a small GUI for mounting drives. It was written by Robert Shingledecker in C++ using [[ http:// | ||
+ | ====Usage==== | ||
+ | You can launch the program by running | ||
+ | ' | ||
+ | at the command-line or by clicking this image on wbar in the " | ||
+ | {{ : | ||
+ | |||
+ | 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 / | ||
+ | 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.) | ||
+ | |||
+ | ====Environment Variables==== | ||
+ | **mnttool**' | ||
+ | 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**, | ||
+ | |||
+ | ==MNTTOOL== | ||
+ | This variable can be used to set the location of mnttool. It is used something like this | ||
+ | < | ||
+ | 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==== | ||
+ | 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 " | ||
+ | |||
+ | -bg2 color\\ | ||
+ | This option is actually ignored\\ | ||
+ | [[ http:// | ||
+ | |||
+ | -bg color\\ | ||
+ | This is also a standard fltk option and is used to set the background color for the window | ||
+ | and it also sets the color of the refresh button. | ||
+ | See [[mnttool# | ||
+ | |||
+ | -display\\ | ||
+ | Set the X display to open the window on [UN_TESTED !!] | ||
+ | |||
+ | -dn[d]\\ | ||
+ | This option is actually ignored. | ||
+ | |||
+ | -fg color\\ | ||
+ | Sets the color of the text on the buttons. | ||
+ | See [[mnttool# | ||
+ | |||
+ | -geometry or -g \\ | ||
+ | Can be used to set the location of the window. | ||
+ | sample usage: ' | ||
+ | |||
+ | -i\\ | ||
+ | If this flag is present, mnttool will iconified (minimized) when started. | ||
+ | |||
+ | -k[bd]\\ | ||
+ | Tells mnttool to indicate which button is highlighted so that you can | ||
+ | navigate with the keyboard. This is the default behavior. | ||
+ | |||
+ | -n[ame]\\ | ||
+ | Seems to be ignored. | ||
+ | |||
+ | -nod[nd]\\ | ||
+ | This option is actually ignored. | ||
+ | |||
+ | -nok[bd]\\ | ||
+ | Tells mnttool to not show which button currently has focus. If you do this you will not be able to navigate the list with the keyboard. | ||
+ | |||
+ | -not[ooltips]\\ | ||
+ | Tells mnttool to not display tool tips. | ||
+ | |||
+ | -t[ooltips]\\ | ||
+ | Tells mnttool to display tooltips. This is the default behavior. | ||
+ | |||
+ | -title\\ | ||
+ | Follow with a string and it will set the title of the window. | ||
+ | |||
+ | -scheme\\ | ||
+ | This flag sets the GUI theme for mnttool. Acceptable options are " | ||
+ | |||
+ | |||
+ | |||
+ | ====Colors==== | ||
+ | The color arguments are slightly complicated. | ||
+ | For a full description you can visit this site which describes valid strings for describing a color: | ||
+ | http:// | ||
+ | |||
+ | In short, you can use common color names like red, green, blue, yellow, etc. | ||
+ | You can also specify any color like this: ' | ||
+ | The numbers between the slashes should be a two-digit hexidecimal number between 00 and ff. | ||
+ | |||
+ | ====Further Reading/ | ||
+ | http:// |