You are not logged in.
Thanks for the panel nsf, I use it and is working well.
Altho some times it will Max out one of my cores on the cpu and stay there till i kill it?
64bit Arch here
Certified Android Junkie
Arch 64
Offline
Thanks for the panel nsf, I use it and is working well.
Altho some times it will Max out one of my cores on the cpu and stay there till i kill it?
64bit Arch here
I think it is a bug. But the bad news is if you can't reproduce it (and as a result I can't reproduce it) - I can't fix it.
Can you reproduce this behaviour?
And few questions more:
1. Your bmpanel version?
2. Do you have a wallpaper on your desktop? (It's kinda strange question, but there is a known bug in 0.9.26, it appears when user has no wallpaper)
Last edited by nsf (2008-09-02 12:09:24)
Offline
I sorta can reproduce it , it comes back every now and then.
I am using the latest from the aur and i use a wallpaper...
Thinking about it now it could be happening when i change wallpapers?
Certified Android Junkie
Arch 64
Offline
I sorta can reproduce it , it comes back every now and then.
I am using the latest from the aur and i use a wallpaper...
Thinking about it now it could be happening when i change wallpapers?
Well, I don't know, it works fine on my machine (3-5 days runtime without any problems).
Are you using x86_64 arch? Or maybe some other strange things like virtualization (two OSes or more)? Is this a notebook or usual PC?
Offline
Sorry for the slow response
Using ARCH_64 and no virtual machines running at the time.
On a normal Desktop machine
But i have not had the problem in the last few days.
Certified Android Junkie
Arch 64
Offline
I have a problem with tray. When i open a new application in tray with firefox (or any other) open, icon of new application take part of firefox (or any other) icon.
Look: http://img56.imageshack.us/my.php?image … scrqj3.png
WM: Openbox
Panel version: last, i install yesterday
Program with problem: Pidgin and Volume control from here: http://bbs.archlinux.org/viewtopic.php?id=44150
I don't test another programs.
Offline
Sorry.
Theme: Clearlooks.
Offline
Is it just that theme ? Looks like the right side is missing, is it in the folder?
Certified Android Junkie
Arch 64
Offline
Is it just that theme ? Looks like the right side is missing, is it in the folder?
Any theme. Icon tray right side take part of first program or folder open. In this case, is part of firefox icon.
Offline
I think the problem is with icon transparency area.
Offline
I have a problem with tray. When i open a new application in tray with firefox (or any other) open, icon of new application take part of firefox (or any other) icon.
Look: http://img56.imageshack.us/my.php?image … scrqj3.png
WM: Openbox
Panel version: last, i install yesterday
Program with problem: Pidgin and Volume control from here: http://bbs.archlinux.org/viewtopic.php?id=44150I don't test another programs.
The last version has a bug, when user has no wallpaper
Also this bug may occur when you have wallpaper, but there is no _XROOTPMAP_ID atom set on root X window. You can check this by doing:
xprop -root | grep XROOTPMAP
Just try git version (aur: bmpanel-git). If the bug is there too, well, I need to find it.
Offline
Than nsf. I install git version and work perfect.
Just a simple question.
How to ajust height? is possible in theme configuation?
Offline
How to ajust height? is possible in theme configuation?
Adjust height of what? panel itself? tray icon?
Panel height is in strong dependency with theme, because theme is actually a simple fixed height image pattern. So if you want to change panel height, the only way to do this is to change theme. But for transparent themes (when it is possible that big part of panel is transparent), there is 'height_override' parameter. See arch theme for example.
Tray icon height (and width) can be adjusted with parameter 'tray_icon_h' (and 'tray_icon_w' for width).
Offline
Is panel height.
Thanks.
I tray make this later.
And about support autohide? there plans for this?
Thanks, again.
Offline
And about support autohide? there plans for this?
I think there are no plans about bmpanel at all. I'm fixing bugs if I have no better things to do and that's it.
The point is simple. I used openbox, but missed a panel, and I wrote one for myself. It works for me very well and I don't need anything else in that area right now. By making bmpanel open source I really expected that someone would draw a nice theme for me (I'm a bad artist), but this expectation had failed.
I know that a lot of open source projects suffers from this. Developer just leaves it and refuses to support it. I don't want to say something like "no, I will not fix this bug". But my current "maybe/someday/no promises" isn't much better. The conclusion is like that: "If you like it - well, that's good, I'm really glad to be useful; If you don't - probably it's not what you're looking for, keep trying."
Last edited by nsf (2008-09-05 19:32:38)
Offline
Offline
I made a theme with transparency.
Sreenshots:
Download: http://www.speedyshare.com/513882900.html
Version with border and separator: http://www.speedyshare.com/163133883.html
Last edited by kramerxiita (2008-09-10 23:24:54)
Offline
New version doesnt compile ?
smakked bmpanel > makepkg
==> Making package: bmpanel 0.9.27-1 x86_64 (Thu Sep 18 11:08:58 EST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading bmpanel-0.9.27.tar.gz...
--2008-09-18 11:08:59-- http://nsf.110mb.com/bmpanel/bmpanel-0.9.27.tar.gz
Resolving nsf.110mb.com... 195.242.99.192
Connecting to nsf.110mb.com|195.242.99.192|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30638 (30K) [application/x-tar]
Saving to: `bmpanel-0.9.27.tar.gz.part'
100%[======================================>] 30,638 19.8K/s in 1.5s
2008-09-18 11:09:02 (19.8 KB/s) - `bmpanel-0.9.27.tar.gz.part' saved [30638/30638]
==> Validating source files with md5sums...
bmpanel-0.9.27.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f bmpanel-0.9.27.tar.gz
==> Entering fakeroot environment...
==> Starting build()...
checking for installed devel packages
checking for sys/timerfd.h... yes
checking for imlib2 >= 1.4.0... yes
checking for x11... yes
checking for xrender... yes
checking for xcomposite... yes
checking for fontconfig... yes
---------- summary ----------
CFLAGS : -Wall -DPREFIX=\"/usr\"
LIBS : -lImlib2 -lXrender -lX11 -lXcomposite -lXfixes -lfontconfig
PREFIX : /usr
DEBUG : no
MEMDEBUG : no
OPTIMIZE : no
UGLY : no
-----------------------------
writing .mk/config.mk...
configure done
C: src/bmpanel.c
C: src/common.c
gcc: c: No such file or directory
C: src/logger.c
gcc: c: No such file or directory
gcc: c: No such file or directory
make: *** [.mk/build/src/common.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [.mk/build/src/logger.o] Error 1
make: *** [.mk/build/src/bmpanel.o] Error 1
==> ERROR: Build Failed.
Aborting...
smakked bmpanel >
Certified Android Junkie
Arch 64
Offline
New version doesnt compile ?
[nsf @ bmpanel]$ LANG=C makepkg
==> Making package: bmpanel 0.9.27-1 i686 (Thu Sep 18 07:17:25 PDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading bmpanel-0.9.27.tar.gz...
--2008-09-18 07:17:28-- http://nsf.110mb.com/bmpanel/bmpanel-0.9.27.tar.gz
Resolving nsf.110mb.com... 195.242.99.192
Connecting to nsf.110mb.com|195.242.99.192|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30638 (30K) [application/x-tar]
Saving to: `bmpanel-0.9.27.tar.gz.part'
100%[======================================>] 30,638 70.7K/s in 0.4s
2008-09-18 07:17:29 (70.7 KB/s) - `bmpanel-0.9.27.tar.gz.part' saved [30638/30638]
==> Validating source files with md5sums...
bmpanel-0.9.27.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f bmpanel-0.9.27.tar.gz
==> Entering fakeroot environment...
==> Starting build()...
checking for installed devel packages
checking for sys/timerfd.h... yes
checking for imlib2 >= 1.4.0... yes
checking for x11... yes
checking for xrender... yes
checking for xcomposite... yes
checking for fontconfig... yes
---------- summary ----------
CFLAGS : -Wall -DPREFIX=\"/usr\"
LIBS : -lImlib2 -lXrender -lX11 -lXcomposite -lXfixes -lfontconfig
PREFIX : /usr
DEBUG : no
MEMDEBUG : no
OPTIMIZE : no
UGLY : no
-----------------------------
writing .mk/config.mk...
configure done
C: src/bmpanel.c
C: src/common.c
C: src/logger.c
C: src/render.c
C: src/theme.c
L: bmpanel
strip: bmpanel
installing bmpanel to /home/nsf/tmp/bmpanel/pkg/usr/bin
installing themes to /home/nsf/tmp/bmpanel/pkg/usr/share/bmpanel
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: bmpanel 0.9.27-1 i686 (Thu Sep 18 07:17:35 PDT 2008)
New version has the same build script as previous ones. And it definitely compiles.
Offline
hmm weird , any ideas why it doesnt on my box?
Certified Android Junkie
Arch 64
Offline
hmm weird , any ideas why it doesnt on my box?
makepkg fails somehow, try downloading source package manually and './configure && make'
If it builds, then it's definitely something wrong on your PC and it isn't bmpanel's fault.
Also it says "No such file or directory"
Maybe the place where you build is somewhat weird? Try different location. Let's say ~/tmp
Last edited by nsf (2008-09-18 01:42:05)
Offline
Yep was my machine CFLAGS was messed up all workiing now
Certified Android Junkie
Arch 64
Offline
Hi nsf,
I appreciate the dock very much. I have a dual-head setup and saw that you don't have the resources to modify bmpanel to work with this. I've done a little bit of hacking on bmpanel today and have it close ... seems that even just compiling with Xinerama fits the thing on a single window, but the struts remain across the whole logical screen. I've attempted to correct this but it appears that only the first four values of _NET_WM_STRUT_PARTIAL are recognized when it replaces _NET_WM_STRUT. Your atoms look alright and I don't really understand what the problem is, but I thought I'd throw it out there that I was having this difficulty with it. I've attached my patch as is, complete with debug cruft included ... please let me know where my error resides. The strut's figures are hard-coded and probably a little wacky because I was trying multiple things to make it work. This doesn't work and it's not ready for inclusion or testing, but if anyone is willing to help me understand why the WM is ignoring the partial struts, I'd really appreciate that. Thanks all.
diff -ru bmpanel-0.9.27/configure bmpanel-0.9.27-mods/configure
--- bmpanel-0.9.27/configure 2008-09-17 15:16:25.000000000 -0600
+++ bmpanel-0.9.27-mods/configure 2008-09-20 17:47:03.000000000 -0600
@@ -178,6 +178,7 @@
check_pkg x11
check_pkg xrender
check_pkg xcomposite
+check_pkg xinerama
check_pkg fontconfig
append_libs_and_cflags
diff -ru bmpanel-0.9.27/src/bmpanel.c bmpanel-0.9.27-mods/src/bmpanel.c
--- bmpanel-0.9.27/src/bmpanel.c 2008-09-17 15:16:25.000000000 -0600
+++ bmpanel-0.9.27-mods/src/bmpanel.c 2008-09-20 22:56:18.000000000 -0600
@@ -14,6 +14,7 @@
#include <dirent.h>
#include <X11/Xutil.h>
#include <X11/extensions/Xcomposite.h>
+#include <X11/extensions/Xinerama.h>
#if defined(WITH_EV)
#include <ev.h>
#elif defined(WITH_EVENT)
@@ -394,7 +395,7 @@
if (!hover)
hover = h;
int y = 0;
- long strut[4] = {0,0,0,hover + X.screen_height - X.wa_h - X.wa_y};
+ long strut[4] = {0,0,0,hover};
long tmp;
int x = X.wa_x;
@@ -430,11 +431,12 @@
[PLACE_BOTTOM] = {10, 11}
};
- long strutp[12] = {strut[0], strut[1], strut[2], strut[3],};
+ long strutp[12] = {strut[0], strut[1], strut[2], 25, 0, 1680, (X.wa_h - h), (X.wa_h), 0, 0, 0, 0};
+ LOG_MESSAGE("strut[3]: %d", strut[3]);
strutp[where[placement].s] = x;
strutp[where[placement].e] = x+w;
XChangeProperty(X.display, win, X.atoms[XATOM_NET_WM_STRUT_PARTIAL], XA_CARDINAL, 32,
- PropModeReplace, (uchar*)&strutp, 12);
+ PropModeAppend, (uchar*)&strutp, 12);
/* we want to be on all desktops */
tmp = -1;
@@ -1177,7 +1179,17 @@
X.wa_y = 0;
X.wa_w = X.screen_width;
X.wa_h = X.screen_height;
-
+
+ /* some Xinerama support. This makes everyone love multiple heads. */
+
+ XineramaScreenInfo *xsi;
+ int knockers = 0;
+ xsi = XineramaQueryScreens(X.display, &knockers);
+ X.physical_screens = knockers;
+ X.screen_0_width = xsi[0].width;
+ X.screen_1_width = xsi[1].width;
+ XFree(xsi);
+
/* get internal atoms */
XInternAtoms(X.display, atom_names, XATOM_COUNT, False, X.atoms);
XSelectInput(X.display, X.root, PropertyChangeMask);
@@ -1193,6 +1205,8 @@
X.wa_h = workarea[3];
XFree(workarea);
}
+
+ LOG_MESSAGE("wa_y: %d. wa_x: %d. wa_h: %d", X.wa_y, X.wa_x, X.wa_h);
}
static void initP(const char *theme)
@@ -1569,9 +1583,14 @@
LOG_MESSAGE("starting bmpanel with theme: %s", theme);
initX();
+
+
+
initP(theme);
init_render(&X, &P);
+
+
signal(SIGHUP, sighup_handler);
signal(SIGINT, sigint_handler);
Only in bmpanel-0.9.27-mods/src: bmpanel.c~
diff -ru bmpanel-0.9.27/src/bmpanel.h bmpanel-0.9.27-mods/src/bmpanel.h
--- bmpanel-0.9.27/src/bmpanel.h 2008-09-17 15:16:25.000000000 -0600
+++ bmpanel-0.9.27-mods/src/bmpanel.h 2008-09-20 19:46:28.000000000 -0600
@@ -8,6 +8,7 @@
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xrender.h>
+#include <X11/extensions/Xinerama.h>
#include <Imlib2.h>
#include "common.h"
@@ -79,11 +80,15 @@
XATOM_COUNT
};
-struct xinfo {
+ struct xinfo {
Display *display;
int screen;
int screen_width;
int screen_height;
+
+ int physical_screens;
+ int screen_0_width;
+ int screen_1_width;
int wa_x;
int wa_y;
apply with patch -p2 from bmpanel/
Last edited by cookiecaper (2008-09-21 05:14:02)
Offline
Hi!
I use the arch theme, which requires composite 1
But the tray doesn't work with it, is this fixed now? When will the tray work with enabled composite? Any workaround?
Offline
Hi!
I use the arch theme, which requires composite 1
But the tray doesn't work with it, is this fixed now? When will the tray work with enabled composite? Any workaround?
Hi, unfortunately I will never implement that. Because it's a known problem and it exists even in KDE plasma, but they actually did some kind of workaround (panel are ok in composite, but icons have solid background). I don't like to make software that way. If there is a bug in design of freedesktop.org's systray spec somewhere, it should be fixed exactly in the right place. Anyway, it's a big discussion of finding who is responsible for that and who should do something and I don't want to mess with it.
So, what can you do. As of version 0.9.26 and 0.9.27 (bugfix version) bmpanel has support for pseudo-transparency. And if it fits your needs, you can just change "use_composite 1" to "use_composite 0" in arch theme or just remove that parameter (default is 0) and tray will work. But of course it's not a real transparency. Drawbacks: 1) when you try to move other window below panel, you can't see this window, 2) there are few bugs with changing wallpaper, probably when you have changed your wallpaper, panel needs to be restarted. But if you're ok with that, it looks exactly the same way.
"use_composite 1" (see-through effect on all windows):
http://www.picamatic.com/show/2008/10/1 … 356x94.png
"use_composite 0" (well, my wallpaper is a little bit dark, sorry, but anyway, see-through effect only for panel and wallpaper)
http://www.picamatic.com/show/2008/10/1 … 80x115.png
Offline