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

fakexrandr-manage click create generate no boxes #40

Open
notafox opened this issue Jul 24, 2017 · 8 comments
Open

fakexrandr-manage click create generate no boxes #40

notafox opened this issue Jul 24, 2017 · 8 comments

Comments

@notafox
Copy link

notafox commented Jul 24, 2017

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.

@phillipberndt
Copy link
Owner

Try drawing a line instead of just clicking:

cast

@notafox
Copy link
Author

notafox commented Jul 24, 2017 via email

@phillipberndt
Copy link
Owner

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?

@notafox
Copy link
Author

notafox commented Jul 25, 2017 via email

@phillipberndt
Copy link
Owner

phillipberndt commented Jul 26, 2017

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

@leandroafonso
Copy link

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

@calebplum
Copy link

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)?

@phillipberndt
Copy link
Owner

Sure! Feel free to open a PR if you find the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants