You are not logged in.
I've made a black theme.
Hope you like it.
Offline
Nice themes!
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.
Offline
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)
Offline
1) New bmpanel works in pekwm. Thank you
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
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!!!
Last edited by darkarchon (2008-02-23 16:29:08)
Offline
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
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.
I hope it will help.
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!!!
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)
Offline
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? ), 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
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? ), so i'm using it instead of Tint.
When I looked at Tint, I use svn version. Issue still there.
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 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
For now, yes. BMPanel is actively developed, maybe too actively 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)
Offline
- 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 'bmpanel --version' shows 0.9.10.
Last edited by nsf (2008-02-24 09:30:37)
Offline
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
Cool new panel, maybe u could add XMonad support.
Offline
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.
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)
Offline
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
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)
Offline
Hello nsf
once again, this is a great panel
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
Hello nsf
once again, this is a great panel
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
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)
Last edited by nsf (2008-02-26 16:58:12)
Offline
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 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 If i was better at programming i would love to help you out here, but... i am not there yet.
Offline
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
ryuo, check your font settings in the theme file and read above in this thread about font naming.
Offline
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 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)
Offline
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
Offline
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
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 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)
Offline
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
Offline