System tray and KDE apps?

Brian J. Tarricone bjt23 at cornell.edu
Sun May 4 20:09:59 CEST 2008


On Sun, 4 May 2008 11:46:18 +0200 Bjørn T Johansen wrote:

> On Sat, 3 May 2008 17:58:40 -0700
> "Brian J. Tarricone" <bjt23 at cornell.edu> wrote:
> 
>
> > Ahhh, that makes a bit of sense.  The systray is a "per screen"
> > entity.  If you use "old style" multihead, your X display is
> > considered to have multiple screens, and so if you want to do it
> > this way, you'd have to have a systray on each screen.  If you use
> > Xinerama or XRandR 1.2 ("new style" multihead), then your physical
> > screens are considered just multiple monitors of a single X screen,
> > and you don't have to worry about these things. (Yes, this is
> > ridiculously confusing and retarded.)
> 
> Not sure if I understood... I want my screens to be two separate
> screens, i.e. I want to be able to have virtual desktops on both and
> also separate panels on each screen, i.e not just one large screen...
> Can this be configured more than one way? And if so, which is the
> correct way?

There really isn't a "correct" way, but the way you're using with two
separate screens seems to be less favored these days, and current and
future work in X.org is to use XRandR 1.2-style multi-monitor (which is
basically an enhanced version of Xinerama).  This supports hot-plugging
monitors and dynamically reconfiguring your display based on whatever's
plugged in at the moment, among other things.  Like Xinerama, it uses a
single logical screen with multiple sub-monitors, so you wouldn't be
able to (for example) switch workspaces independently on each screen
without special WM support (which xfwm4 does not have).

> What I am doing now, is to define it like this:
> 
> Section "ServerLayout"
>         Identifier     "X.org"
>         Screen      0  "Screen0" 0 0
>         Screen      1  "Screen1" LeftOf "Screen0"
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection

Right, that's perfectly fine, but you'll get two separate X screens on
on your X display, rather than a single X screen with multiple
monitors.  Generally, to set this up the "new" way, you'd add:

Option     "XRandR12"  "on"

to your Device section (if your driver/X server supports it), or

Option     "Xinerama"  "on"

to... erm... either Device or ServerLayout; can't remember.

If you want to stick with your current setup, that's fine, but you'll
have to put a systray on each screen if you want things to work
properly when you launch apps on either screen that use it.

	-brian



More information about the Xfce mailing list