You are not logged in.

#1 2008-08-28 18:55:05

jack.mitchell
Member
From: Ely, Cambridgeshire, UK
Registered: 2008-08-28
Posts: 156
Website

Panel Per Desktop

Hello everyone,

Im currently in the middle of setting up my new openbox configuration but have come across a hurdle. What I would like to do is have a seperate panel for each of my virtual desktops. Is this possible or has anyone seen anything like it?

Example:

-----------------------------------
| Desk 1 | Firefox | xterm |      | Panel 1
-----------------------------------
-----------------------------------
| Desk 2 | VLC |                  | Panel 2
-----------------------------------
-----------------------------------
| Desk 3 |                        | Panel 3
-----------------------------------
-----------------------------------
| Desk 4 | Banshee                | Panel 4
-----------------------------------

Last edited by jack.mitchell (2008-08-28 18:56:39)

Offline

#2 2008-08-28 19:23:27

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Panel Per Desktop

When you say panel, do you mean running applications? I think the popular panels (tint, pypanel, etc) do that by default. They have options to show applications from all desktops (atleast pypanel does)

Last edited by heleos (2008-08-28 19:23:44)

Offline

#3 2008-08-28 19:48:32

jack.mitchell
Member
From: Ely, Cambridgeshire, UK
Registered: 2008-08-28
Posts: 156
Website

Re: Panel Per Desktop

Yeah that is what I mean, I have had a look at the config for pypanel but I cannot see a variable where I can tell it which desktop I want it to commit to. So i want 4 instances of pypanel and each instance should have the applications from one specified desktop shown. Is that any clearer?

Offline

#4 2008-08-29 00:14:08

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

Re: Panel Per Desktop

#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above

I think this is the relevent section of pypanelrc you're looking for. It is around line 80 of the default config file.

Offline

#5 2008-08-29 00:38:04

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Panel Per Desktop

jack.mitchell wrote:

...but I cannot see a variable where I can tell it which desktop I want it to commit to. ...

Do you mean specific windows opening on specific desktops?
That's done in the RC file. For instance, in your first thread, you have banshee on desktop 4. To make it always go to desktop 4:

<application name="banshee">
  <desktop>4</desktop>
</application>

Offline

#6 2008-08-29 11:31:33

jack.mitchell
Member
From: Ely, Cambridgeshire, UK
Registered: 2008-08-28
Posts: 156
Website

Re: Panel Per Desktop

Tenken wrote:
#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above

I think this is the relevent section of pypanelrc you're looking for. It is around line 80 of the default config file.

Ah hah, this is what I was looking for to make a panel only display what is on the current desktop, however can I set the other 3 panels to look on the other desktops?

I would be looking for a variable like this:

#Select which desktop applications to read
# 0: Look at all desktops
# 1: Look at desktop one
# 2: Look at desktop two
#etc...

I hope this isnt coming across as sounding stupid hmm

Jack

Edit: I guess it would be like a pager but with panels and selectable applications....

Last edited by jack.mitchell (2008-08-29 11:34:28)

Offline

#7 2008-08-29 18:20:23

thil77
Member
Registered: 2008-08-29
Posts: 52

Re: Panel Per Desktop

with tint task manager you can set
panel_mode = multi_desktop

this option will draw one taskbar per desktop.
it's not exactly what you want, but then you can
- drag and drop application between your desktop
- switch desktop with one cli on the taskbar

here desktop 1 : firefox, thunderbird
and desktop 2 : geany, terminal, thunar, gimp

[img=http://img205.imageshack.us/img205/6162/ecranyn6.th.jpg]

Last edited by thil77 (2008-08-29 18:21:46)

Offline

#8 2008-08-29 18:32:22

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: Panel Per Desktop

As has been shown most panels let you show all apps or only the current desktop.  But when showing all they dont identify the desktop they are from. The only thing that I know that does is the workspace menu (middle click menu) , that show the apps under each worksapce they are on, but of course it a menu not a panel.

Offline

#9 2008-08-29 22:08:20

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: Panel Per Desktop

Do you mean you want to have four panels running at once, on all desktops? Sorry, I'm just confused.

Offline

#10 2008-08-30 13:33:38

jack.mitchell
Member
From: Ely, Cambridgeshire, UK
Registered: 2008-08-28
Posts: 156
Website

Re: Panel Per Desktop

voteforpedro36 wrote:

Do you mean you want to have four panels running at once, on all desktops? Sorry, I'm just confused.

Yep! 4 panels all at once, on all desktops, each dedicated to showing thier own virtual desktops.

Offline

#11 2008-08-30 14:33:19

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: Panel Per Desktop

jack.mitchell wrote:
voteforpedro36 wrote:

Do you mean you want to have four panels running at once, on all desktops? Sorry, I'm just confused.

Yep! 4 panels all at once, on all desktops, each dedicated to showing thier own virtual desktops.

Well, you could run 4 fbpanels (or whatever panel you'd like), but I don't know of a panel that has an option to show another workspace while you're not on that one.

Offline

Board footer

Powered by FluxBB