[openbox] exceptional application in toggle-desktop

Knute knuteh at yahoo.com
Sat Dec 6 20:53:12 EST 2008


--- On Sat, 12/6/08, Thayer Williams <thayerw at gmail.com> wrote:

> From: Thayer Williams <thayerw at gmail.com>
> Subject: Re: [openbox] exceptional application in toggle-desktop
> To: openbox at icculus.org
> Date: Saturday, December 6, 2008, 3:17 PM
> On Sat, Dec 6, 2008 at 12:12 AM, Chengqi(Lars) Song
> <songcq at gmail.com> wrote:
> > I'm using stalonetray as tray area for openbox,
> but openbox's
> > toggle-desktop (W-d by default) will also make the
> tray window
> > disappear. Is there anyway to set exceptional window
> for
> > toggle-desktop? I just want to make the tray window
> always visible to
> > me. Thanks.
> 
> Stalonetray has a bunch of cool options, for details run:
> 
>   $ man stalonetray
> 
> or see http://stalonetray.sourceforge.net/manpage.html
> 
> It's been a while since I used it, but I think the
> following will do the trick:
> 
> stalonetray --window-type dock --sticky true &
> 

Not sure the options, but I use stalonetray myself, and (after setting up ToggleShowDesktop) mine doesn't disappear at all when it's toggled.

Here's my ~/.stalonetrayrc:
# vim:filetype=config:tw=80:et
# 
# This is sample ~/.stalonetrayrc, resembling default configuration.
# Remember: command line parameters take precedence.
#
# Directives introduced in 0.7.6 are marked with "NEW in 0.7.6"
#
####################################################################
# 
# stalonetray understands following directives
#
####################################################################

# background <color>         # color can be specified as an HTML hex triplet or
                             # as a name from rgb.txt, note that '#' must be quoted
background "#777777"

# decorations <decspec>      # set trays window decorations; possible values for
                             # decspec are: all, title, border, none
decorations none

# display <display name>     # as usual

# dbg_level <int>            # controls the amount of debug info (for this setting to
                             # have effect, stalonetray sources must have been
                             # configured and compiled with --enable-debug)
# dbg_level 0

# fuzzy_edges [<level>]      # enable fuzzy edges and set fuzziness level. level
                             # can be from 0 (disabled) to 3; this setting works
                             # with tinting and/or transparent and/or pixmap
                             # backgrounds (NEW in 0.7)
fuzzy_edges 0

# geometry <geometry>        # tray's geometry in standard X notation
geometry 64x64

# grow_gravity <gravity>     # one of N, S, E, W, NW, NE, SW, SE; tray will grow
                             # in the direction opposite to one specified by
							 # grow_gravity; if horizontal or vertical
							 # direction is not specified, tray will not grow in
							 # that direction
grow_gravity NW

# icon_gravity <gravity>     # icon placement gravity, one of NW, NE, SW, SE
icon_gravity NW

# icon_size <int>            # specifies dimensions of typical icon slot
icon_size 70

# ignore_icon_resize [<bool>] # ignore icon attempts to resize their windows
                             # (NEW in 0.7)
ignore_icon_resize false

# max_width <int>            # specifies maximal tray's width (0 = no limit)
max_width 0

# max_height <int>           # specifies maximal tray's height (0 = no limit)
max_height 0

# no_shrink [<bool>]         # disables shrink-back mode (NEW in 0.7)
no_shrink false

# parent_bg [<bool>]         # whether to use pseudo-transparency 
                             # (looks better when reparented into smth like FvwmButtons)
parent_bg false

# pixmap_bg <path_to_xpm>    # use pixmap from specified xpm file for (tiled) background
# pixmap_bg /home/user/.stalonetraybg.xpm

# respect_icon_hints [<bool>] # try to respect icon hints (NEW in 0.7)
respect_icon_hints false

# skip_taskbar [<bool>]      # hide tray`s window from the taskbar
skip_taskbar true

# sticky [<bool>]            # make a tray`s window sticky across the
                             # desktops/pages
sticky true

# tint_color <color>         # set tinting color (NEW in 0.7)
tint_color black

# tint_level <level>         # set tinting level; level ranges from 0 (disabled)
                             # to 255 (NEW in 0.7)
tint_level 0

# transparent [<bool>]       # whether to use root-transparency (background
                             # image must be set with Esetroot or compatible utility)
transparent true

# vertical [<bool>]          # whether to use vertical layout (horisontal layout
                             # is used by default)
vertical false

# window_layer <layer>       # set the EWMH-compatible window layer; one of:
                             # bootom, normal, top
window_layer normal

# window_type <type>         # set the EWMH-compatible window type; one of:
                             # dock, normal, toolbar, utility
window_type dock

# withdrawn [<bool>]         # start withdrawn (NEW in 0.7, prior to that
                             # withdrawn mode was default!)
withdrawn true

# xsync [<bool>]             # whether to operate on X server synchronously (SLOOOOW)
xsync false


HTH,

Knute



      



More information about the openbox mailing list