Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-monitor setup not supported #2

Open
aviofreak opened this issue Dec 13, 2018 · 1 comment
Open

Multi-monitor setup not supported #2

aviofreak opened this issue Dec 13, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aviofreak
Copy link

Hi,

I've got a laptop (1280x800) with external monitor (2560x1440) configured the following way:

xrandr --auto --output DP-2 --primary --above LVDS-1
xrandr --output DP-2 --pos -640x0

so the laptop's screen is below the external display and is centered.

When I run oxbar top I can see the whole bar on top of the external monitor only. When I run oxbar bottom I can see only part of the bottom bar on laptop's screen only. It looks as if it takes the 2560px width and crops the left and right sides of the bar.

Ideal solution would be specifying the monitor(s) in the theme section.

So, for example, if I wanted to have top bar on each screen (each bar with different widgets, due to various screen widths) I would run two instances of oxbar, each with different monitor setting.

Regards
aviofreak

@ryanflannery
Copy link
Owner

Ah -- a multi-monitor setup.
I used to support this with the old xstatbar because I had such a setup at the time I could test with. Sadly that is not the case now.

I took care to try and account for this when writing oxbar, but only in a way that it would respect the screen from which it's launched. Based on your notes, I got that wrong.
Regardless, the desired X screen should be explicitly set-able somewhere (the config, cmd line, environment, etc).

I'll need time to investigate this one. I think I have everything from your setup to understand the problem, I just need to first find a way to reproduce, or ate least test, the solution. Likely not a quick fix.

Thanks for the report

@ryanflannery ryanflannery changed the title Multi-monitor setup Multi-monitor setup not supported well Dec 14, 2018
@ryanflannery ryanflannery changed the title Multi-monitor setup not supported well Multi-monitor setup not supported Dec 14, 2018
@ryanflannery ryanflannery self-assigned this Dec 14, 2018
@ryanflannery ryanflannery added the bug Something isn't working label Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants