Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Connect Projector to Ubuntu Linux: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Connecting a projector to an Ubuntu Linux system is straightforward and typically requires no additional software installation. The operating system automatically detects most external displays via HDMI, DisplayPort, or VGA connections upon plugging in the cable. You can configure display modes—such as mirroring your screen or extending your workspace—through the built-in Settings menu or by using keyboard shortcuts.

What You'll Need

  • An Ubuntu Linux computer (desktop or laptop)
  • A compatible video cable (HDMI is recommended; DisplayPort, Mini-DisplayPort, or VGA may require adapters)
  • The projector turned on and set to the correct input source
  • A stable power source for both devices

Step-by-Step

  1. Prepare the Hardware: Ensure the projector is plugged into power and turned on. Use the projector's remote or physical buttons to select the input source that matches your cable (e.g., HDMI 1, HDMI 2, VGA). Do not connect the video cable yet if possible; it is often safer to have both devices powered before making the connection to avoid handshake issues.
  2. Connect the Cable: Plug one end of the video cable into your Ubuntu computer's corresponding port. If your computer lacks a native port (e.g., only USB-C/Thunderbolt), use a high-quality active adapter or dock. Connect the other end to the projector. Secure the connection firmly.
  3. Log In or Wake the Screen: If your computer was asleep, wake it up. If you are already logged in, proceed to the next step. Ubuntu should detect the new display within a few seconds. You may see a notification about a "New Display" or the screen may briefly flicker.
  4. Open Display Settings: Click the system tray icon in the top-right corner of the screen. Select the gear icon labeled "Settings." Alternatively, press the Super key (Windows key) and type "Displays" to open the application directly. Note that menu labels may vary slightly depending on your Ubuntu version (e.g., 20.04 vs. 22.04 vs. 24.04).
  5. Select Display Mode: In the Displays settings window, you will see representations of your monitors. Identify the projector (it may be labeled based on resolution or model name). Look for the "Mode" dropdown menu. Choose between:
    • Mirror: Shows the same image on both screens.
    • Join Displays (Extend): Uses the projector as a second monitor, allowing you to drag windows across.
    • Off: Turns off the projector output.
  6. Adjust Resolution and Refresh Rate: Click on the projector's icon in the settings diagram. Check the "Resolution" dropdown. Select a resolution supported by your projector (commonly 1920x1080 or 1280x720). If the image looks blurry or stretched, try a different resolution. Also, ensure the "Refresh Rate" is set to 60Hz unless your projector and content specifically support higher rates.
  7. Arrange Display Position: If using Extend mode, click and drag the display icons in the settings window to match their physical arrangement. For example, if the projector is to the right of your laptop screen, drag its icon to the right. This ensures mouse movement flows naturally between screens.
  8. Apply Changes: Click "Apply." A confirmation dialog will appear with a countdown timer. If the screen goes black or becomes unusable, wait for the timer to expire, and Ubuntu will revert to the previous configuration. If satisfied, click "Keep Changes" or close the dialog.

Common Mistakes

One frequent error is selecting the wrong input source on the projector itself. Even if the cable is connected correctly, the projector will show a "No Signal" message if it is listening to HDMI 1 but you plugged into HDMI 2. Always verify the projector's OSD (On-Screen Display) shows the correct active input.

Another common issue is ignoring resolution compatibility. Ubuntu may default to a high resolution (like 4K) that the projector cannot handle, resulting in a black screen or rolling bars. Always manually set the resolution to a standard HD or FHD level when connecting to older projectors.

Users also often forget to unlock the display orientation. If the projected image appears sideways, check the "Rotation" setting in the Displays menu and set it to "Normal" or "Right/Left Inverted" as needed.

Tips

Use the keyboard shortcut Super + P to quickly cycle through display modes without opening the settings menu. This is useful for presentations where you need to switch between Mirror and Extend rapidly.

If you are using a docking station, ensure the dock is powered. Many USB-C docks do not provide enough power to drive external displays without an external power adapter connected to the dock itself.

For wireless projection, consider installing gnome-network-displays or using KDE Connect if you are on Kubuntu. These tools allow you to cast your screen over Wi-Fi, though wired connections remain more reliable for low-latency needs.

Troubleshooting

If the projector shows "No Signal," first check the physical connections. Unplug and replug both ends of the cable. Try a different cable if available, as HDMI cables can fail internally. Test the projector with another device to rule out projector hardware failure.

If Ubuntu detects the display but the image is distorted, go back to Display Settings and lower the resolution. Also, check the "Scaling" option. If text looks too small or large, adjust the scaling percentage (e.g., from 100% to 125%).

If the screen remains black after applying changes, restart the GNOME Shell by pressing Alt + F2, typing r, and pressing Enter. This refreshes the display manager without logging out. On Wayland sessions, this shortcut may not work; instead, log out and log back in.

For persistent detection issues, open a terminal and run xrandr (for X11) or wayland-info to see if the system recognizes the port. If the port is listed but not enabled, you can force it on via command line, but this is advanced. Generally, updating your graphics drivers (especially for NVIDIA cards) via "Additional Drivers" in Software & Updates resolves most hardware detection bugs.

Frequently Asked Questions

Can I connect multiple projectors to one Ubuntu PC?

Yes, provided your computer has enough video outputs or you use a certified docking station or GPU that supports multi-monitor setups. Configure each display individually in the Settings menu.

Why is my projected image flickering?

This is usually caused by a loose cable, a low-bandwidth cable, or an incompatible refresh rate. Try a shorter, high-speed HDMI cable and ensure the refresh rate is set to 60Hz.

Does Ubuntu support VGA connections?

Yes, but you may need a driver or adapter. Modern Ubuntu versions include generic VGA drivers. If using a USB-to-VGA adapter, ensure it uses a chip supported by the displaylink driver.

How do I fix audio not playing through the projector?

Ubuntu sends audio through HDMI/DisplayPort automatically if the projector has speakers. Go to Settings > Sound, and under "Output," select the projector or "HDMI/DisplayPort Audio." If the projector has no speakers, you must use external speakers or headphones.

Can I use a USB-C hub to connect a projector?

Yes, most modern USB-C hubs support video output. However, cheap passive hubs may not carry video signals. Ensure your hub explicitly states it supports "DisplayPort Alt Mode" or HDMI output.