You are not logged in.

#1 2009-04-10 17:10:42

PvtVenom
Member
Registered: 2009-03-31
Posts: 13

Stalonetray + Openbox = border?

hey all im using Openbox + stalonetray and i have stalonetray set to be transparent and started with the stalonetray -w command to be able to control it with obconf but it shows up with a 2px border around it that i cannot get rid of and if i do the osd border size to 0 in my themerc it still hve a very small border. So can someone help me get rid of this annoying border issue? oh yea and in obconf settings dont draw a border around undecorated windows doesnt do anything

Offline

#2 2009-04-11 00:26:28

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: Stalonetray + Openbox = border?

Could you post your stalonetrayrc?

Offline

#3 2009-07-28 04:25:36

unehed
Member
Registered: 2008-10-23
Posts: 10

Re: Stalonetray + Openbox = border?

I'm bumping this thread as I have this issue too. Anyone found a solution?

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 120x24-0-0

# 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 24

# 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 white

# 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 false

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

Offline

#4 2009-07-29 14:05:46

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: Stalonetray + Openbox = border?

This is still probably coming from the OB theme somewhere, maybe padding.width?

Offline

#5 2009-07-29 15:25:21

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Stalonetray + Openbox = border?

It's probably openbox's dock border. You can quickly test that by loading your theme in obtheme and changing "osd.border.color" while using the live preview mode. If the border color changes, then you know which border it is.

Shameless self-promotion aside, you can also edit your themerc file manually and then reload it.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2019-10-01 18:22:46

Tacuabe
Member
Registered: 2011-06-01
Posts: 2

Re: Stalonetray + Openbox = border?

I know this thread is quite old, but for what's it worth, I had the same problem. The last post by Xyne is indeed correct and solved the issue. I edited my themerc with osd.border.corlor: black and the border disappeared against my black background color. Of course if your background is another color you'll have to make the two colors match. Additionally your other osd windows will have their border color also changed to the new one.

Offline

#7 2019-10-01 18:38:28

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,092
Website

Re: Stalonetray + Openbox = border?

Tacuabe wrote:

I know this thread is quite old[…]

Indeed… Perhaps consider that before then going ahead and necrobumping.

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB