Skip to content

Add libxcb support [Faked screens not recognized with Awesome WM] #16

@mickaelperrin

Description

@mickaelperrin

Hi,

I would like to split a huge 4K screen in two or more virtual screens.

I successfully compiled and installed your library.

$ ldd /usr/bin/xrandr
    linux-vdso.so.1 =>  (0x00007ffeb21dc000)
    libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x00007f62f5992000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f62f565d000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f62f5356000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f62f4f91000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f62f4d72000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f62f4b6d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f62f5bbe000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f62f4969000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f62f4763000)
$ xrandr
Screen 0: minimum 320 x 200, current 6240 x 2160, maximum 8192 x 8192
DVI-I-1 connected 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
   720x400        70.1  
DVI-D-1 connected 1200x1920+5040+0 left (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
   720x400        70.1  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1~1 connected 2550x2160+1200+0 (normal left inverted right x axis y axis) 583mm x 485mm
   2550x2160      60.0* 
   3840x2160      60.0     30.0     30.0     24.0  
   2560x1440      60.0  
   2048x1080      60.0  
   1920x1080      60.0     60.0     50.0     59.9  
   1920x1080i     60.1     50.0     60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1280x720       60.0     60.0     50.0     59.9  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
DP-1~2 connected 1290x2160+3750+0 (normal left inverted right x axis y axis) 294mm x 485mm
   1290x2160      60.0* 
   3840x2160      60.0     30.0     30.0     24.0  
   2560x1440      60.0  
   2048x1080      60.0  
   1920x1080      60.0     60.0     50.0     59.9  
   1920x1080i     60.1     50.0     60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1280x720       60.0     60.0     50.0     59.9  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  

However, the windows manager Awesome WM doesn't seem to recognize these virtual screens. When I move a window on the primary screen it still uses the full screen area instead of the virual one.

Do you have some advices ? Are there any logs which can be useful ?

Many thanks,

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions