You are not logged in.

#1 2008-10-24 06:53:13

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

[solved] Openbox and Stalonetray: border problem

When I put stalonetray in the openbox dock, it gets a blue border (it's alone in the dock). I've tried tweaking all the settings in both stalonetrayrc and rc.xml (no decorations, decspec is none, root and parent transparency, etc). Everything works the way that I want it to except that the border is always there (even when hidden, the edge remains). I can't find anything on google or in the stalonetray documentation (not much there tbh).

This is driving me insane. Any help will be very appreciated.

EDIT
I just found this: http://bbs.archlinux.org/viewtopic.php? … 99#p404799

Before I completely give up, can someone confirm that it's impossible to tell Openbox to shove its dockborder up its ******* **** so I don't have to see it? If yes, is there another way to autohide stalonetray and have it unhide on top of other windows when I hover over the corner?

Last edited by Xyne (2008-10-24 22:39:18)


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

Offline

#2 2008-10-24 15:10:42

MarCustomized
Member
From: Detroit, MI
Registered: 2008-09-05
Posts: 116

Re: [solved] Openbox and Stalonetray: border problem

I think you can get rid of the border by editing the 'OSD' settings in your Openbox themerc.

Offline

#3 2008-10-24 15:24:19

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [solved] Openbox and Stalonetray: border problem

This is actually a problem with stalonetray.

http://bbs.archlinux.org/viewtopic.php?id=39842

If you read this thread, the second post from the bottom explains that if you just change one line in the source code and recompile stalonetray, it will work as it's supposed to with Openbox. For info on how to recompile, search for ABS in the wiki.

EDIT: Make sure that part of your .stalonetrayrc looks like this:

# window_layer <layer>
window_layer bottom

# window_type <type> 
window_type dock 

# withdrawn [<bool>]
withdrawn false

And that part of your openbox rc.xml looks like this:

 
<applications>
####
   <application name="stalonetray">
      <decor>no</decor>
      <desktop>all</desktop>
      <skip_pager>yes</skip_pager>
      <skip_taskbar>yes</skip_taskbar>
    </application>
####
  </applications>

Last edited by pogeymanz (2008-10-24 15:29:03)

Offline

#4 2008-10-24 22:39:03

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

Re: [solved] Openbox and Stalonetray: border problem

Thanks, pogeymanz.

The problem was the openbox theme that I'm using, not stalonetray. The post in the other thread pointed me to the relevant lines in the themerc file, so now it's just a matter of tweaking them. I recompiled stalonetray with the change mentioned just to check, but it really is the openbox dock that was adding two borders (got it down to one so far).


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

Offline

#5 2008-10-25 00:32:55

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [solved] Openbox and Stalonetray: border problem

If you follow the instructions I posted, then open obconf, there is a check-box that says something like "draw a border around undecorated windows". Make sure to uncheck it. Then your stalonetray will be borderless no matter what theme you use.

Offline

Board footer

Powered by FluxBB