Open aviofreak opened 5 years ago
Sounds like a bug.
To clarify: do you mean that when you specify it in .xinitrc/.xsession, oxbar fails, but it runs ok when you manually "$ oxbar" at the command line? If that's the case, by "fail" do you mean is just doesn't run?
Can you check if there's an oxbar.core file anywhere? Also can you post the exact command you have in your .xinitrc/.xsession as well as your full config file, if any?
If you have it in your .xsession file AND are using xendodm, you might also see a file called .xsession-errors in your home directory. If so, post that as well - that might provide some info.
Also - are you using xenodm? If so - if you could post (or msg) your whole .xsession file, that would be great.
Hi,
Yes, precisely. I log in using xenodm, open the terminal and run $ oxbar &
. Then it shows on top of my primary screen (external display). It's not showing on laptop's screen. Unfortunately it covers my whole dwm status bar - workspace numbers, window title and a few pixels below it. I'm linking a screenshot: https://imgur.com/a/TX61FdV
At the bottom you can see laptop's screen centered.
Here's my .xsession:
$ cat .xsession
xsetroot -solid "#161616"
xset +fp /usr/local/share/fotns/terminus
xset +fp /usr/local/share/fotns/go
setxkbmap -model pc105 -layout pl,us
. $HOME/.profile
. $HOME/.kshrc
#compton -f &
xrdb -load $HOME/.Xresources
xrandr --auto --output DP-2 --primary --above LVDS-1
xrandr --output DP-2 --pos -640x0
sct 5500
xset s 5
xidle -program /usr/local/bin/slock -timeout 300 &
#oxbar &
dstat trunk0 &
/usr/local/bin/dwm
I'll send you the oxbar.core and .xsession-errors file over the email. The .oxbar.conf is the default one fro your web page.
Regards
Your .xsession-errors
file has quite a bit of errors/debugging, mostly from the couple scripts you include in it. I highly doubt those are causing an issue with oxbar, but it's possible. Could you try a simple .xsession
that just launches oxbar and your window manager, and see if that resolves the issue?
If it does, then it's definitely something in those two files you include. If it does not, and oxbar still coredumps, can you try the following and send me a new core file? This will provide more debug info I can use to trace the problem down.
First, clean your current build and then re-make it with debug info: $ make clean $ CFLAGS=-g make
Then make install
that binary as you normally would, and re-run your steps to produce a core file. Once you have the new one, send it to me like the last one.
Cheers
Same thing - if I run oxbar via .xsession file, it appears underneath dwm's bar. I can see it after I hide dwm's bar with mod+s.
After I pkill oxbar and run it again in the console (both with and without &) it appears over dwm's bar.
Ideal situation is that it appears in the area intended for status bar - where the "dwm-6.1" text appears if no status bar is set. This way it doesn't hide the window title and workspace numbers.
Thanks
Hi,
so far I've been using dstat as my statusbar in dwm and recently I came across oxbar. I wanted to try it out but I cannot make it work properly in dwm. It doesn't load properly when specified in .xsession or .xinitrc.
After I log in, I can simply launch it from terminal but it appears over my main dwm bar where I have workspace tags and window title.
Am I missing something or is such behaviour a feature, not a bug?
Regards aviofreak