← 返回命令列表

Linux command

trayer 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run

trayer

Example

trayer --edge [left|right|top|bottom]

Example

trayer --width [10] --height [32]

Example

trayer --widthtype [pixel|percent] --width [72]

Align

trayer --align [left|center|right]

Example

trayer --iconspacing [10]

说明

trayer is a lightweight GTK-2 based system tray panel. It provides a standalone systray that can be used with minimalist window managers that don't include their own system tray implementation. The panel displays system tray icons from applications and can be positioned and sized according to user preferences.

参数

--edge _POSITION_
Position panel at _left_, _right_, _top_, _bottom_, or _none_ (default: _bottom_)
--align _DIRECTION_
Align icons: _left_, _center_, _right_, or _none_ (default: _center_)
--widthtype _TYPE_
Width interpretation: _request_, _pixel_, _percent_, or _none_ (default: _percent_)
--width _N_
Panel width as a number, interpreted per --widthtype (default: _100_)
--heighttype _TYPE_
Height interpretation: _request_, _pixel_, _percent_, or _none_ (default: _pixel_)
--height _N_
Panel height value (default: _26_)
--margin _N_
Margin from the screen edge in pixels (default: _0_)
--distance _N_
Distance between trayer's window and screen edge in pixels (default: _0_)
--distancefrom _EDGE_
Edge to measure --distance from: _top_, _bottom_, _left_, _right_ (default: _top_)
--padding _N_
Extra pixel spacing between frame and icons (default: _0_)
--iconspacing _N_
Spacing between icons in pixels
--monitor _N_
Target monitor by index (0..N) or _primary_ (default: _0_)
--transparent _BOOL_
Enable transparency: _true_ or _false_ (default: _false_)
--alpha _N_
Transparency level (0 = opaque, 255 = fully transparent; default: _127_)
--tint _COLOR_
Background tint as a hex value, e.g. _0xFFFFFFFF_
--expand _BOOL_
Allow trayer to expand to use extra space (default: _true_)
--SetDockType _BOOL_
Identify panel window as a dock type window (default: _true_)
--SetPartialStrut _BOOL_
Reserve panel space so other windows do not overlap it (default: _false_)

FAQ

What is the trayer command used for?

trayer is a lightweight GTK-2 based system tray panel. It provides a standalone systray that can be used with minimalist window managers that don't include their own system tray implementation. The panel displays system tray icons from applications and can be positioned and sized according to user preferences.

How do I run a basic trayer example?

Run `trayer` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --edge _POSITION_ do in trayer?

Position panel at _left_, _right_, _top_, _bottom_, or _none_ (default: _bottom_)