-
Notifications
You must be signed in to change notification settings - Fork 21
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
Default X screen / screen selection #24
Comments
Aah, finally, I knew there must be somebody still using X screens :). Your propsal sounds reasonable, just one question: Right now, not using If I understand correctly, this would still just give 0 for most people, but (I'm not aware of -1 being a convention for default screen anywhere, so I don't want to introduce that if not needed.) |
Haha, yeah, I'm kinda playing with zaphod mode (multiple separate X screens).
I don't think that's true. But changing it so it defaults only to TBH now thinking about it, probably best would be to drop BTW this is how it's done in Removing |
Thanks! And you're right, maybe just a I'll try to look into this over the weekend :) |
No problem ;)
When screen number is omitted (e.g., :1) screen 0 should be assumed, as per
Well in the end Either way thanks for considering this ;) |
Now there is an option
-screens
that translates into variablescreen_mask
and is used like this:So if I would like to operate on a single screen say
0
, I would have to pass-screens 1
, for1
it would be-screens 2
, for2
it would be-screens 4
etc.Moreover (and this is my use case), it's impossible to operate on default (preferred in XCB lingo) screen, i.e., if
DISPLAY=:1.1
I would likehsetroot
just to manipulate root window of X screen1
.I have hardcoded following quick & dirty solution to do so:
Because I feel like operating on multiple X screens might be useful for somebody I would suggest leaving
-screens
be and creating new option e.g.,-screen <int>
, which would take a preference before-screens
and specify single X screen to work on, or-1
for theDefaultScreen(display)
.The text was updated successfully, but these errors were encountered: