You are not logged in.

#1 2008-07-08 22:58:32

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Using stalonetray with Xmonad

My system tray of choice is stalonetray. I use it with openbox, like it, and would like to use it with Xmonad.

I have managed to get Xmonad to ignore it and conky (it doesn't tile them, leaves them be). However, the first window I open covers them both since neither sets the partial strut hint.

I realize that Xmonad supported setting up margins as in openbox but they seem to have made a rather foolish decision in removing it in favor of the ManageDocks hook. You see how that doesn't work for me (i'm quite sure there are others). So, how could stalonetray be made to work nicely with Xmonad ?

Can devilspie maybe be used for setting the partial strut hint ?

Last edited by moljac024 (2008-07-08 23:13:00)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#2 2008-07-09 00:00:00

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Using stalonetray with Xmonad

moljac024 wrote:

I realize that Xmonad supported setting up margins as in openbox but they seem to have made a rather foolish decision in removing it in favor of the ManageDocks hook.

If stalonetray can't be changed to set its strut hints like a proper status bar, then use the module XMonad.Layout.Gaps (in the current darcs xmonadContrib, not 0.7) for the old behavior.

Offline

#3 2008-07-09 00:24:08

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Using stalonetray with Xmonad

Thanks for the reply, but I use the versions from the repositories, that is 0.7
Do you have any information when 0.8 will be released ? smile

Last edited by moljac024 (2008-07-09 00:25:36)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2008-07-09 01:44:50

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Using stalonetray with Xmonad

You could copy the module to your ~/.xmonad, and import it with

import Gaps

http://code.haskell.org/XMonadContrib/X … ut/Gaps.hs

Potentially you might have to backport other modules (or just copy those over).

In that case, it would be easier to upgrade to the current darcs version (which is in unsupported), or suffer untill 0.8 gets released (which won't be tomorow).

Last edited by vogt (2008-07-09 01:48:12)

Offline

#5 2008-07-09 10:58:25

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Using stalonetray with Xmonad

darcs version of both xmonad and xmonad-contrib, or would the darcs version of only xmonad-contrib do it ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2008-07-10 04:51:17

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Using stalonetray with Xmonad

the darcs contrib might build with 0.7 core, but to do that with the packages in unsupported would mean changing (make)dependencies.

Offline

#7 2008-07-11 19:36:02

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Using stalonetray with Xmonad

I've switched to trayer for now, it can set the partial strut wink


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB