Skip to content

Lesson 01 · 24 in the route · 3 min read · Level 0

Screens

A split ultrawide monitor: Windows on the left, the Mac on the right.

The story behind this lesson One monitor, two computers and a single keyboard

Antes de tocar una línea de comandos, el primer problema de usar una PC con Windows y una Mac mini como un solo puesto de trabajo fue físico: tengo un monitor y dos computadoras. Este post cuenta cómo resolví las pantallas y el teclado, y qué me salió mal. Los pasos exactos están en la guía: pantallas y Deskflow.

Partir el monitor

Mi monitor es un ultrawide de 3440×1440. Tiene un modo Split screen (en el menú del propio monitor, Window settings) que lo reparte en dos entradas: cada mitad queda en 1720×1440. Una mitad la usa Windows y la otra la Mac.

El primer tropiezo fue de orden. En Configuración de pantalla, Windows solo me ofrecía 3440×1440 como resolución recomendada. La resolución de media pantalla aparece después de activar el split en el monitor, no antes. Lo vi en una captura donde el escritorio de Windows se veía como una cajita en el centro: la resolución no coincidía con la mitad real del panel.

El segundo tropiezo fue del lado de la Mac. La mitad de la Mac mostraba el mensaje “Choose to Mirror or Extend Display from the menu”. Sí detectaba su mitad del monitor; solo faltaba decirle qué hacer. La solución es elegir Extender en Centro de control, en Duplicar pantalla.

Deskflow: el cursor que cruza

Con las pantallas listas, faltaba el teclado. Usé Deskflow, el sucesor libre de Synergy y Barrier. Comparte teclado y mouse por la red, sin hardware. La máquina con el teclado físico es el servidor (Windows) y la otra es el cliente (la Mac). Cuando el cursor toca el borde configurado, el servidor deja de mover su puntero y manda los eventos al cliente. En mi configuración la Mac queda a la derecha de Windows.

Tres detalles que conviene saber:

  • Homebrew exige confiar en los taps de terceros. brew install deskflow me respondió “Refusing to load cask from untrusted tap”. Hay que correr brew trust deskflow/tap antes de instalar.
  • macOS pide dos permisos que nadie puede dar por ti: Accesibilidad y Monitorización de entrada. Sin ellos el cliente se conecta pero el cursor no se mueve en la Mac. Son clics en Ajustes del Sistema; ningún script los hace.
  • Los nombres de pantalla deben coincidir exactamente con los que muestra cada máquina. Por eso renombré la Mac a un nombre simple, sin apóstrofe. Un nombre como “Mac mini de alguien” rompe el archivo de configuración.

En el archivo de configuración del servidor dejé dos opciones que uso a diario: switchDelay = 250, que obliga a esperar 250 ms en el borde antes de cruzar y evita cruces accidentales, y clipboardSharing = true, para copiar en una máquina y pegar en la otra. Además, en el teclado de Windows mapeé ctrl = super para que Ctrl+C y Ctrl+V funcionen en la Mac como en Windows.

Lo que no he verificado

Deskflow funciona; lo configuré a mano y lo uso. Pero hay dos pruebas que siguen pendientes en mi lista y no las voy a dar por buenas sin hacerlas:

  • Que la Mac se reconecte sola como cliente después de reiniciar.
  • Que el portapapeles funcione en ambos sentidos, no solo en uno.

¿Y si tienes un KVM?

Si tu monitor trae KVM USB o tienes un switch, quizá no necesitas Deskflow. El KVM cambia teclado, mouse y pantalla con un botón. La diferencia es de uso: con KVM ves una máquina a la vez; con pantalla partida y Deskflow ves las dos y el cursor cruza solo. Yo quería ver las dos a la vez, porque una de ellas va a trabajar mientras yo miro la otra.

Lo que me llevo

Ninguno de estos problemas era de software. Eran de orden: activar el split antes de pedir la resolución, elegir Extender en vez de Duplicar, confiar en el tap antes de instalar. Si algo parece roto en esta etapa, mira primero en qué orden hiciste las cosas.

En el siguiente post pasamos a la Mac: Homebrew, el shell y por qué un PATH puesto en el archivo equivocado hace que todo funcione en la terminal y falle por SSH.

Goal

See the Windows desktop on the left half of the monitor and the Mac desktop on the right, each at its own native half-screen resolution (1720×1440).

Why

A 3440×1440 ultrawide monitor can be shared between two computers with Split screen mode (also called PBP, picture by picture): the monitor itself, not the operating system, divides the panel into two video inputs and each half ends up at 1720×1440. To each computer that looks like a separate monitor with an almost square aspect ratio. That is why order matters: Windows only offers the half-screen resolution once the monitor is already split (what happened here, see “What actually went wrong”). On the Mac, the equivalent step is choosing Extend.

Alternative that does not split the screen: a monitor with a USB KVM (see 01-deskflow.md). The monitor in this guide has 2 DP and 2 HDMI inputs and, according to its spec sheet, no USB hub or KVM (verified in PLAN.md §1.2); that is why split is used here.

Steps

  1. In the monitor menu (OSD, physical buttons): Window settings and choose Split screen. The menu offers three modes: Single window, Split screen and Picture-in-picture.

    (capture of the real setup: not published; see docs/CAPTURAS.md for the demo-mode ones)

  2. In Windows, after turning on split: Settings → System → Display → Display resolution → pick the half-screen one (1720×1440).

  3. On the Mac: the right half will show “Choose to Mirror or Extend Display from the menu”. Go to Control Center → Mirror Display and choose Extend (not Mirror).

What actually went wrong

1. Changing the resolution before splitting the monitor. Before the split, Windows shows 3440×1440 as “Recommended”. The screenshot shows the start of the list (3440×1440, 2560×1440, 1920×1440, …); according to the logbook, 1720×1440 does not appear until split is turned on at the monitor. Fix: turn on split first.

(capture of the real setup: not published; see docs/CAPTURAS.md for the demo-mode ones)

2. The Windows desktop as a box inside its half. With a resolution that did not match half the screen, the desktop did not fill its half: it ended up in a smaller box (both photos; the gray rectangle is an area covered on purpose to hide file names). Diagnosis: a resolution different from the real half-screen. Fix: choose 1720×1440 once split is on.

(capture of the real setup: not published; see docs/CAPTURAS.md for the demo-mode ones) (capture of the real setup: not published; see docs/CAPTURAS.md for the demo-mode ones)

3. The Mac “not detecting” its half. It did detect it: the message “Choose to Mirror or Extend Display from the menu” is the Mac asking you to choose what to do with the new display. All that is missing is choosing Extend.

(capture of the real setup: not published; see docs/CAPTURAS.md for the demo-mode ones)

How to verify

  • Windows: Settings → Display shows the half-screen resolution you chose.
  • Mac: Settings → Displays shows the monitor as extended, not mirrored.
  • Sharing keyboard and mouse between the two halves is not part of this step: it is the next one (01-deskflow.md).

Still to measure (listed in PLAN.md as “to test”): the refresh rate each machine reports per half. The OSD in the screenshot shows 180 Hz for the full monitor; the guide did not measure what each half receives.

Self-check

  1. Why does Windows not offer 1720×1440 before split is turned on?
    AnswerBecause the monitor does the split. Before it is on, Windows only sees a single 3440×1440 panel; the half screen shows up as a resolution once the monitor announces it.
  2. The Mac says “Choose to Mirror or Extend Display”: is there a connection problem?
    AnswerNo. It detected the display; you only need to choose Extend in Control Center → Mirror Display.
  3. What is the difference between a KVM and split with Deskflow?
    AnswerWith a KVM you see one machine at a time on the full screen; with split you see both at once, and the keyboard/mouse is shared by software (Deskflow).
Saved only in this browser.