You are not logged in.
Hi, I am very new to Linux, but with the help from the wiki and some friends I got a very nice and smooth environment,
now I am trying to setup my PekWM and currently using dzen2 to display some infos (volume/time etc) but its always on top.
its really annoying ![]()
can you think of an option or maybe have the same issue, help would be much appreciated.
-Chris
Offline
You might try Openbox. It provides basically the same environment. On one side, it uses xml config files which sucks to edit by hand, on the other I don't think any of the other *boxes implement all of the standards stuff Openbox does, which will prevent applications from behaving awkwardly.
Offline
mmh thanks, but that doesn't really help, I really like PekWM, its fast and lightweight.
It's the only issue I've, or at least for now ![]()
Offline
What have you tried so far exactly? Have you read the pekwm documentation? have you seen/tried the following solutions on the pekwm bug tracker? https://www.pekwm.org/projects/pekwm/tasks/277
Offline
Well I tried the dock argument for dzen, but didn't work. Then I tried the auto properties in pekwm to send the panels on the desktop. With the help from the pekwm wiki.
Offline
Could you be a little clearer and give a bit more detail please? Firstly, what do you mean by "on top"? Is dzen2 always on the top of the screen or above windows? Also, could you post your autoproperties and any other configuration files that you've tried, please?
If you want dzen on the bottom of the screen have you tried the using
dzen2 -y <pixel>I used
dzen2 -Y 1062 to launch dzen2 and it placed it at the bottom of the screen. There are other solutions on this page
Offline
dzen is always above all windows
here is the config
#!/bin/bash
# Source settings file
. $HOME/.dzen/settings
# Modify Settings
# Source dzen command
. $HOME/.dzen/command
while :; do
echo " ^fg($MAGENTA) $(windowname 40 | tr '[:lower:]' '[:upper:]') ^fg($FG) | ^fg($BLUE) $(date +%H:%M) "
sleep $SLEEP
done | $DZENand here the command
#!/bin/bash
DZEN="dzen2 -ta r -bg $BG -x $X -y $Y -h $HEIGHT -expand l -fn $FONT"I tried to add a -dock argument, but that didn't help
Offline
mmh thanks, but that doesn't really help, I really like PekWM, its fast and lightweight.
It's the only issue I've, or at least for now
When I say "openbox is the same environment" I mean to say PekWM and Openbox are, for the end user, essentially the same thing. If you like PekWM, you'll like Openbox, though Openbox is more complete and better documented and has more users to help if you run into trouble.
Offline
Try the following:
dzen2 -e 'onstart=lower;button3=exit'See the readme in /usr/share/doc/dzen2 for more details.
EDIT:
When I say "openbox is the same environment" I mean to say PekWM and Openbox are, for the end user, essentially the same thing. If you like PekWM, you'll like Openbox, though Openbox is more complete and better documented and has more users to help if you run into trouble.
That doesn't change the fact that this problem has absolutely nothing to do with the window manager, but would exist with any stacking window manager, including Openbox.
Last edited by guelfi (2012-04-30 14:25:08)
Offline
Try the following:
dzen2 -e 'onstart=lower;button3=exit'See the readme in /usr/share/doc/dzen2 for more details.
EDIT:
Bellum wrote:When I say "openbox is the same environment" I mean to say PekWM and Openbox are, for the end user, essentially the same thing. If you like PekWM, you'll like Openbox, though Openbox is more complete and better documented and has more users to help if you run into trouble.
That doesn't change the fact that this problem has absolutely nothing to do with the window manager, but would exist with any stacking window manager, including Openbox.
I didn't say necessarily that it did. I wouldn't know, because I don't use dzen. But I'd run into problems with applications not behaving well under Pek before.
Offline
Try the following:
dzen2 -e 'onstart=lower;button3=exit'
sorry didn't work, the main reason I don't want to use Openbox is the installation size, pekwm is around 4mb and openbox wants 400mb ![]()
Offline
Whu? Pacman tells me openbox installs at 2.12mb. Though that's compiled with clang. Clangs binaries are sometimes a little smaller, I suppose with gcc it might be 400mb. ![]()
Though PekWM is considerably smaller at less than 1mb and fewer dependencies.
Last edited by Bellum (2012-04-30 15:06:31)
Offline
from what I can tell you'll need to compile dzen2 yourself and edit the main.c file as stated by one of the pekwm developers in the link that included in my original post
dzen sets the CWOverrideRedirect flag and therefore pekwm can't do much about it. If you want, you can edit dzen's main.c file and remove "CWOverrideRedirect |" (line 364 for dzen-0.8.5).
Offline
Pooh
okay I try, as I said I'm a total Linux noob
Offline
perhaps you could try using it with xmobar or an alternative? If you want to compile it yourself I guess you'll need to read up on ABS and makepkg in the wiki...
Offline
ok, I had a go compiling dzen2 without "CWOverrideRedirect | " for you. You'll need to install and set up abs as per the archwiki. I had to add
-lXssto the LIBS="" line in the dzen2 PKGBUILD -- mine looks like this :
LIBS=" -L/usr/lib -lc -L${X11LIB} -lXss -lX11 -lXinerama -lXpm `pkg-config --libs xft`" -- in order to get dzen2 to compile ; you may need to do the same.
Once it compiled I removed "CWOverrideRedirect | " from line 364 in the main.c file, and then ran :
makepkg -g >> PKGBUILDfollowed by
makepkg -efiThere may be better ways of doing this but it seems to build fine and gets the result you were looking for. I guess you'd just need to set it up with the correct pekwm autoproperties to have it recognised as a dock, a titleless window, etc.
Offline
thanks for the help, it's much appreciated
will try it asap ![]()
//edit
mmh that's weird now it shows nothing, I tried to reinstall dzen, but no luck, used the the aur git version and now it shows my configs again,
maybe the first time I installed without thinking about it, the git version.
and in the pkgbuild there is no LIBS line and in the main.c there are multiple CWOverrideRedirect but none at the line 364.
okay now I'll try openbox ![]()
Last edited by chiwou (2012-05-01 16:21:06)
Offline
thanks for the help, it's much appreciated
will try it asap
//edit
mmh that's weird now it shows nothing, I tried to reinstall dzen, but no luck, used the the aur git version and now it shows my configs again,
maybe the first time I installed without thinking about it, the git version.and in the pkgbuild there is no LIBS line and in the main.c there are multiple CWOverrideRedirect but none at the line 364.
okay now I'll try openbox
He means for you to use the official PKGBUILD, not the one from the AUR. Read up on the Arch Build System on the wiki.
Offline
okay after some tries, I found some weird behavior
if I use the official dzen version (with/without CWOverride hack), I can't use my configs (colour and font problems), if I use the git version I can use my configs, but then the always on top problem occurs.
then I tried Openbox and bahm same problems
so it has nothing to do with the windowmanager, now I try to mod my configs and parallel I'll try xmobar
thanks for all your help
take care
-Chris
Offline