Mirror horizontally a window #80

Open
opened 2025-05-25 23:30:26 +02:00 by Benjamin_Loison · 3 comments

The Ask Ubuntu answer 19945 is a whole screen solution with xrandr -x not returning anything.

Requested by the person:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAjD/aMIOIieiLavoH0iQBwTyxi/oofJpQ6sjfa/uQuy8w
OXjZgppxHiHGtjo17xROkSyshNz1Rp2AEWRltgCqPhS22lgX6I+aKwWo6kN4pFwz
1EoBCQIQimecykzbjkfiD7olKQXegBYv0OWVQDjMy+cgxJn/m3wQU9rFXIz8ufpF
Oadb2DjoTN6UFiw4Z74txlbZZ6zVcDyfPHkYog==
=Foly
-----END PGP MESSAGE-----

This person does not remember why.

xrandr --help
Output:
usage: xrandr [options]
  where options are:
  --display <display> or -d <display>
  --help
  -o <normal,inverted,left,right,0,1,2,3>
            or --orientation <normal,inverted,left,right,0,1,2,3>
  -q        or --query
  -s <size>/<width>x<height> or --size <size>/<width>x<height>
  -r <rate> or --rate <rate> or --refresh <rate>
  -v        or --version
  -x        (reflect in x)
  -y        (reflect in y)
  --screen <screen>
  --verbose
  --current
  --dryrun
  --nograb
  --prop or --properties
  --fb <width>x<height>
  --fbmm <width>x<height>
  --dpi <dpi>/<output>
  --output <output>
      --auto
      --mode <mode>
      --preferred
      --pos <x>x<y>
      --rate <rate> or --refresh <rate>
      --reflect normal,x,y,xy
      --rotate normal,inverted,left,right
      --left-of <output>
      --right-of <output>
      --above <output>
      --below <output>
      --same-as <output>
      --set <property> <value>
      --scale <x>[x<y>]
      --scale-from <w>x<h>
      --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
      --filter nearest,bilinear
      --off
      --crtc <crtc>
      --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
      --gamma <r>[:<g>:<b>]
      --brightness <value>
      --primary
  --noprimary
  --newmode <name> <clock MHz>
            <hdisp> <hsync-start> <hsync-end> <htotal>
            <vdisp> <vsync-start> <vsync-end> <vtotal>
            [flags...]
            Valid flags: +HSync -HSync +VSync -VSync
                         +CSync -CSync CSync Interlace DoubleScan
  --rmmode <name>
  --addmode <output> <name>
  --delmode <output> <name>
  --listproviders
  --setprovideroutputsource <prov-xid> <source-xid>
  --setprovideroffloadsink <prov-xid> <sink-xid>
  --listmonitors
  --listactivemonitors
  --setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...}
  --delmonitor <name>
[The Ask Ubuntu answer 19945](https://askubuntu.com/a/19945) is a whole screen solution with `xrandr -x` not returning anything. <details> <summary>Requested by the person:</summary> ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAjD/aMIOIieiLavoH0iQBwTyxi/oofJpQ6sjfa/uQuy8w OXjZgppxHiHGtjo17xROkSyshNz1Rp2AEWRltgCqPhS22lgX6I+aKwWo6kN4pFwz 1EoBCQIQimecykzbjkfiD7olKQXegBYv0OWVQDjMy+cgxJn/m3wQU9rFXIz8ufpF Oadb2DjoTN6UFiw4Z74txlbZZ6zVcDyfPHkYog== =Foly -----END PGP MESSAGE----- ``` </details> This person does not remember why. ``` xrandr --help ``` <details> <summary>Output:</summary> ``` usage: xrandr [options] where options are: --display <display> or -d <display> --help -o <normal,inverted,left,right,0,1,2,3> or --orientation <normal,inverted,left,right,0,1,2,3> -q or --query -s <size>/<width>x<height> or --size <size>/<width>x<height> -r <rate> or --rate <rate> or --refresh <rate> -v or --version -x (reflect in x) -y (reflect in y) --screen <screen> --verbose --current --dryrun --nograb --prop or --properties --fb <width>x<height> --fbmm <width>x<height> --dpi <dpi>/<output> --output <output> --auto --mode <mode> --preferred --pos <x>x<y> --rate <rate> or --refresh <rate> --reflect normal,x,y,xy --rotate normal,inverted,left,right --left-of <output> --right-of <output> --above <output> --below <output> --same-as <output> --set <property> <value> --scale <x>[x<y>] --scale-from <w>x<h> --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i> --filter nearest,bilinear --off --crtc <crtc> --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]] --gamma <r>[:<g>:<b>] --brightness <value> --primary --noprimary --newmode <name> <clock MHz> <hdisp> <hsync-start> <hsync-end> <htotal> <vdisp> <vsync-start> <vsync-end> <vtotal> [flags...] Valid flags: +HSync -HSync +VSync -VSync +CSync -CSync CSync Interlace DoubleScan --rmmode <name> --addmode <output> <name> --delmode <output> <name> --listproviders --setprovideroutputsource <prov-xid> <source-xid> --setprovideroffloadsink <prov-xid> <sink-xid> --listmonitors --listactivemonitors --setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...} --delmonitor <name> ``` </details>
Author
Owner

OBS studio Transform > Flip Horizontal preview with Source Window Capture is a workaround by right-clicking the grey preview background and select Fullscreen Projector (Preview) > Display 1 but it is not fullscreen and not maximized. Windowed Projector (Preview) does not fill the whole window but once maximized is quite fine.

OBS studio *Transform* > *Flip Horizontal* preview with *Source* *Window Capture* is a workaround by right-clicking the grey preview background and select *Fullscreen Projector (Preview)* > *Display 1* but it is not fullscreen and not maximized. *Windowed Projector (Preview)* does not fill the whole window but once maximized is quite fine.
Author
Owner
Related to [Benjamin-Loison/obs-studio/issues/13](https://github.com/Benjamin-Loison/obs-studio/issues/13).
Author
Owner

DuckDuckGo and Google search Linux mirror horizontally a window.

DuckDuckGo and Google search *Linux mirror horizontally a window*.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#80