You are not logged in.

#76 2008-02-23 10:39:56

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: bmpanel

I've made a black theme.
Hope you like it.

http://www.speedyshare.com/980825767.html

Offline

#77 2008-02-23 11:17:59

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

Nice themes! smile

darkarchon wrote:

nsf, please please please take a look at pekwm again if you can, Tint refuses to work there too. All windows get "Untitled" title, so it looks like there's a problem with retrieving window titles for taskbar in pekwm. Fbpanel works fine though.

I will, but there is really small chance for success.


Bmpanel2 and obkey developer.

Offline

#78 2008-02-23 13:05:35

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

Here it is.
0.9.10 with pekwm support. (I really hope everything is ok)
I'm not tested it well, so it's on you.

darkarchon
Titles problem actually can't be related to pekwm. Try 0.9.10 and if problem still here, please write what apps get "Untitled" title. If panel can't get app's name it will give "<unknown>" title for it. So "Untitled" is not bmpanel's fault.

Last edited by nsf (2008-02-23 13:23:06)


Bmpanel2 and obkey developer.

Offline

#79 2008-02-23 16:22:07

darkarchon
Member
From: Israel
Registered: 2007-02-28
Posts: 44

Re: bmpanel

1) New bmpanel works in pekwm. Thank you smile
2) There's code in Tint which gives "Untitled" title when the title is empty. I get "Untitled" for all windows with pekwm and Tint.
What was the problem with pekwm in bmpanel's case? Maybe i can fix Tint somehow, i like it smile

Some comments:
nsf, you should specify somewhere (like bmpanel's site) that themes reside in ~/.bmpanel/themes. Otherwise people need to go through the thread and search for this info.
xd-0, nice theme!!! smile

Last edited by darkarchon (2008-02-23 16:29:08)

Offline

#80 2008-02-23 16:46:55

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

darkarchon wrote:

2) There's code in Tint which gives "Untitled" title when the title is empty. I get "Untitled" for all windows with pekwm and Tint.
What was the problem with pekwm in bmpanel's case? Maybe i can fix Tint somehow, i like it smile

I'm confused a little. And not sure what gives what.
http://code.google.com/p/ttm/ - is this what you mean by "Tint"?
If it is, so tint gets only _NET_WM_VISIBLE_NAME into account. For reference, see: task.c:54, event.c:173 (in tint sources of course). Well, maybe there are more, I didn't look very carefully.
But you should also check _NET_WM_NAME and old WM_NAME, standard is good, but there are always old apps. Maybe the better way if possible is to write bug report for problematic app's author, something like: "Hello, your program not really well with EWMH standard". Don't know.
Anyway, here is how I did it:

static char *get_window_name(Window win)
{
    char *ret, *name = 0;
    name = get_prop_data(win, X.atoms[XATOM_NET_WM_VISIBLE_NAME], X.atoms[XATOM_UTF8_STRING], 0);
    if (!name)
        name = get_prop_data(win, X.atoms[XATOM_NET_WM_NAME], X.atoms[XATOM_UTF8_STRING], 0);
    if (!name)
        name = get_prop_data(win, XA_WM_NAME, XA_STRING, 0);
    if (name) {
        ret = xstrdup(name);
        XFree(name);
    } else
        ret = xstrdup("<unknown>");
    return ret;
}

I'm strdupped, but tint uses Xlib memory. Both ways is right and maybe tint's way even better than mine, but I just do so. smile
I hope it will help.

darkarchon wrote:

Some comments:
nsf, you should specify somewhere (like bmpanel's site) that themes reside in ~/.bmpanel/themes. Otherwise people need to go through the thread and search for this info.
xd-0, nice theme!!! smile

Actually I need good man page. But I really badly speak english.

updated:
About titles.
It happens because really good EWMH compliant window manager will set _NET_WM_VISIBLE_NAME for every new client by itself. Openbox does it, pekwm does not. I don't want to say that pekwm is bad WM. I think it just needs a good maintainer team to make it one point zero.

Last edited by nsf (2008-02-23 17:05:26)


Bmpanel2 and obkey developer.

Offline

#81 2008-02-23 17:29:01

darkarchon
Member
From: Israel
Registered: 2007-02-28
Posts: 44

Re: bmpanel

Thanks for explanation.
This issue might already be fixed in svn, but there was problem accessing it when i tried earlier today. I wanted to build svn version to check if the problem is still there.
Anyway, bmpanel is great and is actively developed (too actively? big_smile), so i'm using it instead of Tint.

Bmpanel is visible when i watch video in Mplayer fullscreen. Is it possible to make it disappear?

Last edited by darkarchon (2008-02-23 17:31:59)

Offline

#82 2008-02-23 18:37:58

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

darkarchon wrote:

Thanks for explanation.
This issue might already be fixed in svn, but there was problem accessing it when i tried earlier today. I wanted to build svn version to check if the problem is still there.
Anyway, bmpanel is great and is actively developed (too actively? big_smile), so i'm using it instead of Tint.

When I looked at Tint, I use svn version. Issue still there.

darkarchon wrote:

Bmpanel is visible when i watch video in Mplayer fullscreen. Is it possible to make it disappear?

This is responsibility of window manager to hide panel when other window wants full screen mode. Unfortunately, pekwm doesn't hide panel window sad I can try to fix it somehow, but I really shouldn't. Other panels stays on top too. You can try to send bug report to pekwm's author smile

For now, yes. BMPanel is actively developed, maybe too actively smile But I have time for that and panel isn't so big project to handle. And actually I'm getting closer to 1.0rc1 or even 1.0. Currently I have 2 major bugs with systray:
- When systray app dies suddenly (killall -9 app), tray becomes dirty. I can fix this problem and I will someday.
- When you kill bmpanel and there are systray clients, they will die. For now, I don't know how to fix this bug. But I'm sure I will get rid of this problem someday too.

Last edited by nsf (2008-02-23 18:38:57)


Bmpanel2 and obkey developer.

Offline

#83 2008-02-24 07:20:24

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

nsf wrote:

- When systray app dies suddenly (killall -9 app), tray becomes dirty. I can fix this problem and I will someday.
- When you kill bmpanel and there are systray clients, they will die. For now, I don't know how to fix this bug. But I'm sure I will get rid of this problem someday too.

Started to work on these problems. In 0.9.11 something works better, something works same way. Forgot to update --version string again sad 'bmpanel --version' shows 0.9.10.

Last edited by nsf (2008-02-24 09:30:37)


Bmpanel2 and obkey developer.

Offline

#84 2008-02-25 17:25:03

RobbeR49
Member
From: Columbus, OH
Registered: 2006-01-17
Posts: 178

Re: bmpanel

gothmog.todi wrote:

The good news: works now on x86_64 (hooray!).

I just built 0.9.11 for x86_64 on my machine and am getting the same imlib2 errors that were reported above.

Offline

#85 2008-02-25 18:35:56

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: bmpanel

Cool new panel, maybe u could add XMonad support.

Offline

#86 2008-02-25 19:10:49

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

RobbeR49 wrote:
gothmog.todi wrote:

The good news: works now on x86_64 (hooray!).

I just built 0.9.11 for x86_64 on my machine and am getting the same imlib2 errors that were reported above.

It's not imlib2 errors, just imlib is closest point where actual errors come up. This bug was already reported via mail. I have no x86_64 machine, so probably with next version support from PKGBUILD will be removed until I find x86_64 machine for tests.

Don-DiZzLe wrote:

Cool new panel, maybe u could add XMonad support.

Not sure. If XMonad EWMH compliant, everything should be ok already. If not, it's not my fault.

Last edited by nsf (2008-02-25 19:15:18)


Bmpanel2 and obkey developer.

Offline

#87 2008-02-26 05:21:36

cbxzcm
Member
Registered: 2007-06-17
Posts: 18

Re: bmpanel

Thanks nsf, this panel is great! Correct me if I'm wrong but in bmpanel.c it looks like the clock is getting updated every 1 second. It would be nice if the user could specify the number of seconds between clock updates.

Offline

#88 2008-02-26 08:56:17

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

cbxzcm wrote:

Thanks nsf, this panel is great! Correct me if I'm wrong but in bmpanel.c it looks like the clock is getting updated every 1 second. It would be nice if the user could specify the number of seconds between clock updates.

Yes, it is true. Well, I think it is not necessary, because user don't care about how often his clock should "update" themselves. He just want to see correct time.
What I really can do (as an optimization) is to save somewhere last rendered string (e.g. "13:10") and if on update this string is still the same, rendering step skipped.

Last edited by nsf (2008-02-26 08:57:07)


Bmpanel2 and obkey developer.

Offline

#89 2008-02-26 15:25:06

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: bmpanel

Hello nsf
once again, this is a great panel smile
I think that it would be nice to be able to save and use themes locally perhaps in a ~/.bmpanel directory, and then have a config file in that directory that allows you to set the theme that should be used.  That way it could be just started with "bmpanel"
You then might be able to move some options there such as how the clock is displayed or whatever. 
what do you think? I don't know how hard that would  be to implement but I think it sounds like a good idea.

thanks again

Offline

#90 2008-02-26 16:57:31

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

mrcold wrote:

Hello nsf
once again, this is a great panel smile
I think that it would be nice to be able to save and use themes locally perhaps in a ~/.bmpanel directory, and then have a config file in that directory that allows you to set the theme that should be used.  That way it could be just started with "bmpanel"
You then might be able to move some options there such as how the clock is displayed or whatever. 
what do you think? I don't know how hard that would  be to implement but I think it sounds like a good idea.

thanks again

Hello mrcold, thanks, I'm glad you liked it.
Well, it's easy to implement, but! My point is if you changing bmpanel's look, you changing it's theme.
You already can save themes in your home dir, just do:

mkdir ~/.bmpanel && cp -R /usr/share/bmpanel/themes ~/.bmpanel

and do with your copies of themes whatever you want. Also you can use:

bmpanel --list

to see what themes you have and where.

I really think config file isn't necessary. Because everything what you should do is to add line to your .xinitrc:

bmpanel MySuperTheme &

And that's all the configuration smile

However, it would be good if someone (or me) will write kinda theme browser for my panel. Well, I know how to do this and it's not so hard, but I have no time currently for that (or lack of motivation maybe) sad

Last edited by nsf (2008-02-26 16:58:12)


Bmpanel2 and obkey developer.

Offline

#91 2008-02-26 19:42:31

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: bmpanel

nsf wrote:

You already can save themes in your home dir, just do:

mkdir ~/.bmpanel && cp -R /usr/share/bmpanel/themes ~/.bmpanel

and do with your copies of themes whatever you want.

hmm.. nifty smile  You are right about the config file, it isn't really needed, and now that i know i can save themes locally I am quite happy.
(it was a pain to move my new themes to /usr/ just to test them)

anyway, thanks alot smile  If i was better at programming i would love to help you out here, but... i am not there yet.

Offline

#92 2008-03-03 18:10:59

ryuo
Member
Registered: 2008-03-03
Posts: 4

Re: bmpanel

I ported bmpanel to my own distro and got it to compile, but when I boot it up, there is no text at all on the taskbar or clock. Help? See screenshot to see what I mean. Also, other panels work just fine in this area...

http://members.byond.com/Ryuo/files/test.jpg

Last edited by ryuo (2008-03-03 18:11:37)

Offline

#93 2008-03-04 08:27:57

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: bmpanel

ryuo, check your font settings in the theme file and read above in this thread about font naming.

Offline

#94 2008-03-04 09:21:36

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

ryuo wrote:

I ported bmpanel to my own distro and got it to compile, but when I boot it up, there is no text at all on the taskbar or clock. Help? See screenshot to see what I mean. Also, other panels work just fine in this area...
http://members.byond.com/Ryuo/files/test.jpg

Well, instead of answering for your email I will try to do it here smile It's really strange bug because clock font and taskbar font are necessary to load. If panel can't load them, there will be an error. In your case bmpanel loaded all fonts successfully, but for some reason can't show them. As far as I can see on this horrible JPG screenshot you are using custom font. So, the previous advice to check fonts it theme is good. Also it would be good if you post here what font are you using.

Last edited by nsf (2008-03-04 09:23:51)


Bmpanel2 and obkey developer.

Offline

#95 2008-03-04 14:32:54

ryuo
Member
Registered: 2008-03-03
Posts: 4

Re: bmpanel

I tried to use arial/9 for the font on all 3 parts it asked for, obviously it worked partly because 1) it loaded and 2) it shows up on part of it.

Offline

#96 2008-03-04 15:40:49

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

ryuo wrote:

I tried to use arial/9 for the font on all 3 parts it asked for, obviously it worked partly because 1) it loaded and 2) it shows up on part of it.

What can I say. Everything ok with arial for me. Can you post your custom theme file please?


Bmpanel2 and obkey developer.

Offline

#97 2008-03-04 15:43:04

ryuo
Member
Registered: 2008-03-03
Posts: 4

Re: bmpanel

Well, its not all that custom. You see, all I did was copy the native theme and change the fonts since I don't have DeJavuVuSans.

Edit: Could it be a bug with the xorg I'm using or something? I'm using the latest available...

Last edited by ryuo (2008-03-04 15:47:08)

Offline

#98 2008-03-04 20:35:51

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

ryuo wrote:

Well, its not all that custom. You see, all I did was copy the native theme and change the fonts since I don't have DeJavuVuSans.
Edit: Could it be a bug with the xorg I'm using or something? I'm using the latest available...

I really don't know what is wrong smile On my PC everything works fine.
Font rendering is handled via imlib2 and freetype2 directly. Maybe wrong versions or something else with them?
I have:
* imlib2 1.4.0
* freetype 2.3.5

And also what WM are you using? It is possible that WM drops _NET_WM_VISIBLE_NAME parameter to empty string. I guess it's openbox, but maybe I'm wrong. If openbox, what version do you have?
updated: Ah.. forgot about clock, so it's not a WM issue.

Last edited by nsf (2008-03-04 22:51:54)


Bmpanel2 and obkey developer.

Offline

#99 2008-03-06 00:51:50

ryuo
Member
Registered: 2008-03-03
Posts: 4

Re: bmpanel

Okay, I found the issue. nsf, you should add a version requirement to your imlib2 checks. I was using imlib2 v1.3.0 and upgrading to imlib2 v1.4.0 fixed the glitches.

Offline

#100 2008-03-06 09:16:41

nsf
Member
From: Yekaterinburg, Russia
Registered: 2007-09-15
Posts: 160
Website

Re: bmpanel

ryuo wrote:

Okay, I found the issue. nsf, you should add a version requirement to your imlib2 checks. I was using imlib2 v1.3.0 and upgrading to imlib2 v1.4.0 fixed the glitches.

Added it to build script. Thanks.


Bmpanel2 and obkey developer.

Offline

Board footer

Powered by FluxBB