fakexrandr-manage click create generate no boxes
notafox opened this issue · 8 comments
there is text on the right side of the GUI.
HDMI-0@2560x1080
EDOD:00ffffffff...000000008a on the right with a remove button. Clicking the most will show most location but the entire area under the pull-down box is gray color without the brown box.
Oh, I see. The canvas is entirely missing 😳 The text format is a bit cumbersome, yes. That's because the format allows for arbitrary nesting of splits. See the paragraph at the bottom of the help of fakexrandr-manage. As long as you only one a single split, just set SPLITS="V xxx N N"
, where for xxx
you insert the exact pixel position at which to split vertically (or use H
instead of V
in the beginning to split horizontally).
Do you see any error messages in the console while running fakexrandr-manage? Anything that could explain why the drawn monitor is missing?
Hm, simply run fakexrandr-manage.py show-available
, copy the output, and replace SPLITS="N"
with SPLITS="whatever"
, where for whatever
you subsitute your splits. From the command's output:
It starts by one of the letters H, V or N, describing the
kind of split. H means horizontal, V vertical and N no split. Separated by a
space follows the pixel position of the split. Again separated by a space
follow the two sub-configurations of the left/right or top/bottom halves. Any
additional white-space besides a single space is optional any only serves
better readibility. dump-config indents sub-configurations to this end.
If SPLITS equals N, a configuration is discarded upon saving it.
That is, to have one split (step 1 in the screencast above), insert e.g. V 840 N N
to split at 840px
, to have the right half split further horizontally (as in step 2), insert V 840 N H 630 N N
to split at 630px
. This becomes more clear if you insert more whitespace:
V # Split vertically
840 # at 840px
N # Do not split the left half further
H # Split the right half horizontally
630 # At 630px
N # Do not split the top half further
N # Do not split the lower half further
On my ubuntu needs for this install:
sudo apt-get install xorg-dev libglu1-mesa-dev
sudo apt-get install python3-gi
sudo apt install -y python-gi-dev
sudo apt-get install python-gi-cairo
Thanks @leandroafonso, I was having the same issue on Ubuntu but installing those packages fixed it for me. Can we have them added to the readme.md along with the other packages that are required to make and configure (libxrandr-dev libx11-dev libxinerama-dev python-gi-dev)?
Sure! Feel free to open a PR if you find the time.