Hirdetés

Új hozzászólás Aktív témák

  • Archttila

    veterán

    húú jó nagy fába vágtam a fejszémet!
    Szóval adott a PI két micro HDMI kimenete. Eddig ebből egyet használtam, (HDMI-A-1)

    output HDMI-A-1 resolution 1920x1080 position 1920,0 transform 90 subpixel rgb

    viszont jó lenne úgy beállítani, hogy mondjuk a $mod+t lenyomására átvált TV-re, $mod+m -re meg vissza. De úgy látom sokféle működés összehozható: (Left, Right, Mirror...)

    # Screen modes. Note mirroring is not yet properly supported by sway :(
    set $mode_display AUX SCREEN: (l) LEFT (r) RIGHT (o) OFF (m) MIRROR
    mode "$mode_display" {
        bindsym l output $scr_aux enable, output $scr_main pos 0 0, output $scr_aux pos -$native_width 0, mode "default"
        bindsym r output $scr_aux enable, output $scr_main pos 0 0, output $scr_aux pos $native_width 0, mode "default"
        bindsym m output $scr_aux enable, output $scr_main pos 0 0, output $scr_aux pos 0 0, mode "default"
        bindsym o output $scr_aux disable, mode "default"
        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
    }
    bindsym $mod+x mode "$mode_display"

    Na most erre kellene valahogy ráhegeszteni az én Monitor/TV párosomat:

    Monitor:
    output HDMI-A-1 resolution 1920x1080 position 1920,0 transform 90 subpixel rgb

    TV (ma jött a kábel, még nem próbáltam)
    output HDMI-A-2 resolution 3840x2160 position 3840,0 subpixel rgb

    Ezeket a $scr_aux , $scr_main bejegyzéseket nem vágom :W a működés tiszta sor.
    Nyomok egy $mod+x -et, majd kapok egy kis menüt amiből kiválaszthatom az l, r, m, o opciót :)

    Forrás: [link]

Új hozzászólás Aktív témák