Re: Poll: pypanel vs lxpanel

yes  !!

tint2 page wrote:

News on current developement 06/01/2009

You can check the code with svn.

    * licence is changed to GPL V2
    * tint is renamed tint2 because another package already use 'tint'
    * new design to get better 'object oriented' code
    * config format changed : user can define a list of background and border at the beginning of tint2rc. And each object (panel, taskbar, task, clock, systray, ...) get a background number.
    * improve multi-monitor (see panel_monitor = all and percentage on panel_size)

Re: Poll: pypanel vs lxpanel

Hah, tint2 being nothing but a tasklisk is what was cool about it. hmm

.files
dnyy in IRC & Urban Terror

Re: Poll: pypanel vs lxpanel

dannytatom wrote:

Hah, tint2 being nothing but a tasklisk is what was cool about it. hmm

but i think you could enable/disable tray or launcher feature like the clock on actual version smile

Re: Poll: pypanel vs lxpanel

I know, I know.  I'm not complaining or anything, I had just never read that part of their site.  I always thought its purpose was to be a tasklist and nothing else. sad

.files
dnyy in IRC & Urban Terror

Re: Poll: pypanel vs lxpanel

I'm rocking tint2 + trayer atm... It's pretty sweet..

Arch64/Xmonad | @mo6020 on Identica

"Every normal man must be tempted at times to spit on his hands, hoist the black flag, and begin to slit throats." - H. L. Mencken

Re: Poll: pypanel vs lxpanel

I'm going to have to agree with dannytatom on this.
The biggest thing that I love about tint2 is that it does one thing, but does it better than all of the other panels.

All in an effort to learn...
Delves deeper into code...

Re: Poll: pypanel vs lxpanel

Is it possible to disable the tray in pypanel and use it with trayer? Would this get rid of the flickering problem?

Re: Poll: pypanel vs lxpanel

I just tried netwmpager.
Does just one thing, which is good.

Am I weird in the way I use the pager/taskbar?
The way I like it is the taskbar shows all my windows, from every workspace.   When I click on a task in the taskbar, I should switch to that window, AND switch workspaces to where that window is.  When I click on a workspace "map" in the workspace switcher/pager, I should go to the workspace I clicked on, and perhaps focus on the first window in the taskbar that is on that workspace (Or perhaps better, in a fantasy world, focus on the largest window in that workspace.  Or the window who's little map outline actually clicked on.  Or the one that I've somehow marked as being the "major" window in that workspace.  Etc).

Both lxpanel, and netwmpager seem to be setup for the opposite way of working.  ie when you click on a task in the taskbar, that window gets moved to the workspace you are currently in.  Again. netwmpager, when you click on a workspace, and happen to click on one of the windows inside a workspace, it moves that window to you, on the workspace you are currently on.

I don't want this.  I don't want tasks to come to me, I want to go to them.  In fact I can't understand why they work this way, why this way would be the default - how do other people work with these things - am I missing something?
Is there a way to change the way they work?  I can't see any appropriate config options.


tint does the right thing, and also organizes your tasks in groups by which workspace they are in.  Very neat.  I'd prefer if the "groups" where variable-length though.  If I have, say, 8 workspaces, it pre-allocates 1/8 of the bar to each workspace.  Quite wasteful if I have many windows in one workspace, and then none at all in 7 of them.  The windows could be arranged in variable-length groupings with some kind of spacer between groups.

Last edited by jackbang (2009-06-18 02:58:28)

Re: Poll: pypanel vs lxpanel

@jackbang As far as I know netwmpager isn't developed anymore but there is a hack to change this behaviour/feature/stupid bug. Unfortunately it's not enough to tweak configure file. You can read more here: http://bbs.archlinux.org/viewtopic.php?pid=464847 It worked for me.

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Poll: pypanel vs lxpanel

Thanks Hanna, I will give that a go.  Glad to see it's not just me finding this annoying, I was beginning to think I was missing out on a better way of using workspaces/taskbars.

EDIT: Perfect, that works.  In version 1.11 of netwmpager, Just change line 1136 iin pager.c:

if (button == 1) {
        if (pager->mouse.window_idx == -1) {
            x_set_current_desktop(desk);
        } else if (!pager->mouse.dragging) {
            x_set_active_window(pager->windows[pager->mouse.window_idx].window, SOURCE_INDICATION_PAGER);
        }

to this:

if (button == 1) {
        if (pager->mouse.window_idx == -1) {
            x_set_current_desktop(desk);
        } else if (!pager->mouse.dragging) {
            x_set_current_desktop(desk);       // this is the new line
            x_set_active_window(pager->windows[pager->mouse.window_idx].window, SOURCE_INDICATION_PAGER);
        }

Or just change the comparison to != and move x_set_current_desktop(desk); outside the if.

And you can still grid-drag the little window outlines between workspaces by click and dragging them with mouse1, or freeform-drag them using mouse2.
Excellent, thanks again.  Time to have a peek at the tint2 source...

Last edited by jackbang (2009-06-18 05:28:31)