⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bbsmount.1

📁 蒙特卡洛仿真源代码很有参考价值要按照步骤进行操作
💻 1
字号:
.TH "bbsmount" "1" "Jul  4, 2004" "Miroslav Jezbera" "".SH "NAME"bbsmount \- Tool for simple mounting drives from X11.SH "SYNOPSIS".B bbsmount .RI [ options ].SH "DESCRIPTION".B bbsmount displays whether drives are mounted or not mounted and allowsyou to mount and umount them (you can execute any program, too).You must set in config file, which drives (mount points) bbsmounthave to check. To (u)mount drive, you simply press mouse button onit. Command, that is executed on user action can be customized.The tool is designed to mimic the look and feel of the Blackboxwindow manager when used in combination with blackbox bbsmount copies the style from Blackbox..SH "OPTIONS".BR bbsmount supports the following command line options:.TP .BI \-d " displayname" "\fRSet display to displayname.TP .BI \-c[onfig] " configname" "\fRRead configuration from configname instead of the default..TP .BI \-n[obb] "\fRFall back on default configuration.TP .BR \-v[ersion] "Display version number of bbsmount.TP .BR \-h[elp] "Display help on command line options.TP .BI \-geom[etry] " +x+y" "\fRSet the position of bbsmount to x,y. Use +x+y to specify the coordinates relative to the upper left corner,use \-x\-y specify the coordinates relative the lower right corner.This option is ignored when \-withdrawn flag is used..TP .BR \-d[ecorated] "Show bbsmount in a normal window with title bar..TP .BR \-w[ithdrawn] "Put bbsmount in the blackbox slit or Windowmaker dock..TP .BR \-s[hape] "Don't display the background of bbsmount. This only makes sense in combination with the \-withdrawn flag.SH "CONFIGURATION"\fBGlobal configuration:\fR By default the configuration filebbsmount.bb can be found in /usr/local/share/bbsmount.P\fBLocal configuration:\fR The default configuration file should be placed in ~/.bbtools/The following options can be set in the configuration file:.RS.TP .BI bbsmount.bevelWidth: "  width"Set the width between text label and edge of tool..TP .BI bbsmount.columns: "  count"Set number of columns..TP .BI bbsmount.rows: "  count"Set number of rows..TP .BI bbsmount.column.width: "  width"Set width of button..TP .BI bbsmount.row.height: "  height"Set height of button..TP .BI bbsmount.position: "  +x+y"Set position of bbsmount..TP .BI bbsmount.withdrawn: " boolean"Set to True to put bbsmount in the blackbox slit or Windowmaker dock.Default set to false..TP .BI bbsmount.shape: "boolean"Set to True if bbsmount shouldn't display its background. Thisgives a nice effect when withdrawn.Default set to false..TP .BI bbsmount.checkDelay: " seconds"Delay between checks. After delay bbsmount scans the mtab for mounted drives..TP .BI bbsmount.mount: " gradient"Set the gradient of the button.Example: Raised Gradient Vertical Bevel1.TP .BI bbsmount.mount.color: " color"Set the "from" color of the button..TP .BI bbsmount.mount.colorTo: " color"Set the "to" color of the button..TP .BI bbsmount.mount.pressed: " gradient"Set the gradient of the button when pressed.Example: Raised Gradient Vertical Bevel1.TP .BI bbsmount.mount.pressed.color: " color"Set the "from" color of the pressed button..TP .BI bbsmount.mount.pressed.colorTo: " color"Set the "to" color of the pressed button..TP .BI bbsmount.debuglevel: " number"Set debug level to number..TP .BI bbsmount.ImagePrefix: " path"Search here for images..RE.TP .B Resources definitions.RS.P .BI bbsmount.image1: " path_to_image".P .B ....TP .BI bbsmount.imageN: " path_to_image"Images from 1 to N are defined. Supported format is only XPM..P .BI bbsmount.command1: " command".P .B ....TP .BI bbsmount.commandN: " command"Commands from 1 to N are defined. You can write here anything whatcan be interpreted by shell. If there is one '%s' in command, it issubstitued by mount point. If you want to define command with char '%'you must write %%..P .BI bbsmount.infotext1: " tooltip text".P .B ....TP .BI bbsmount.infotextN: " tooltip text"Tooltip texts from 1 to N are defined. You can write here any text withprintf-like specificators. If you want to add newline use '\\n'..RE.TP .B Mount points definitions.RS.TP .BI bbsmount.mountM: " mount point"Set mount point value for M-th button..TP .BI bbsmount.mountM.mountedImage: " image number"Set image shown when M-th mount point is mounted..TP .BI bbsmount.mountM.notMountedImage: " image number"Set image shown when M-th mount point is not mounted..TP .BI bbsmount.mountM.mountedText: " infotext number"Set text shown in tooltip when M-th mount point is mounted..TP .BI bbsmount.mountM.notMountedText: " infotext number"Set text shown in tooltip when M-th mount point is not mounted..TP .BI bbsmount.mountM.errorText: " infotext number"Set text shown in tooltip when there was error (executed command returns non-zero value)..TP .BI bbsmount.mountM.description: " text"Set mount point description. This value can be used in tooltip text..TP .BI bbsmount.mountM.actionN.command: " command number"Run this command when actionN occurs. If there are two numbers, the first command is executedwhen mount point is not mounted and second otherwise..TP .BI bbsmount.mountM.actionN.button: " button number"When user press this mouse button, then this action can be started..TP .BI bbsmount.mountM.actionN.modifiers: " modifiers"All modifiers specified in this must be satisfied to start action. Modifier can be one of this Shift,Lock (Caps Lock), Control, Mod1 (Alt on my system), Mod2 (Win key on my system), Mod3, Mod4, Mod5.When there is '!' before modifier this modifier can't be active to start the action..P.I NOTE: Modifiers are case sensitive!.RE.SH "SIGNALS"These signals are handled by bbsmount:.TP.B SIGUSR1Bbsmount reconfigure itself..TP.B SIGINTBbsmount frees all used resources and then exits..TP.B SIGTERMSame as previous signal..SH "AUTHORS"Written by Miroslav Jezbera. Some parts of code are taken from bbdate, bbmail, blackbox..SH "REPORTING BUGS"Report bugs to <jezberam@phoenix.inf.upol.cz>..SH "SEE ALSO"blackbox(1), mount(8)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -