KDE Plasma Bigscreen customized to replicate an Android TV / Google TV experience on native Linux.
Built for KDE Plasma 6.x Wayland and user-space-first living-room HTPCs (officially tested on Bazzite / Fedora Kinoite with KDE Plasma 6 Wayland) without modifying /usr—once the base plasma-bigscreen package is installed from your distro, every NextGen customization lives declaratively in $HOME (~/.local/, ~/.config/, and systemd user services) with manifest-tracked backups and rollback.
Use Claude Code, Codex, Gemini CLI, Antigravity, Cursor, OpenCode, or any coding agent to inspect your hardware, adapt configs for your TV/GPU/distro, install safely into $HOME, and verify everything end-to-end.
Paste this into your AI coding agent:
Fetch and follow https://raw.githubusercontent.com/nissifield/NextGen_plasmabigscreen/main/SETUP_PROMPT.md to inspect my Linux machine, adapt NextGen_plasmabigscreen to my hardware, install it into $HOME, and verify it end-to-end.
Already cloned the repo locally? Paste instead:
Read and follow SETUP_PROMPT.md in this repository to inspect my Linux machine, adapt NextGen_plasmabigscreen to my hardware, install it into $HOME, and verify it end-to-end.
See SETUP_PROMPT.md for the full self-service setup prompt, or follow the manual Quick Start / Complete Setup How-To Guide.
- Android TV / Google TV Homescreen Override (
plasma/plasmoids/org.kde.bigscreen.homescreen/)- Category navigation tabs (
For You,Watch Now,Apps,Games) with full keyboard, D-Pad, and controller navigation. - Dynamic brand-tinted Hero Spotlight Banner with live
● RUNNINGapp status and remote action hints. - Wide 16:9 Watch Now streaming row (
YouTube TV,Stremio,Jellyfin TV,Haruna), Continue & Recent row, and long-press (Hold OK) context menu (Open / Resume,Pin / Remove from Favorites,Move Left / Right,Force Stop). - Curated Favorites (
YouTube TV,Stremio,Jellyfin TV,Steam,Haruna,Desktop Mode,Movie Mode) and clean app-grid filtering (applications-blacklistrc).
- Category navigation tabs (
- Automatic Display Mode Manager, Steam 1080p Priority & Movie Mode (
bin/tv-display-mode)- Steam Priority: Automatically locks the TV output (default
DP-1) to1920x1080 @ 60Hzwhenever Steam Big Picture or any Steam game child process is active or fullscreen in the foreground. - On-Demand Movie Mode (
bin/tv-movie-mode-toggle): Bigscreen launcher tile + shell helpers (tv-movie,tv-toggle,tv-4k,tv-1080p) that cleanly toggle between configured 4K and 1080p modes with Plasma OSD + brief toast banner feedback (auto_4k_video_switch: falseby default so navigation stays snappy at 60Hz). - KWin 6 Wayland Integration (
kwin/tv-display-mode.js): Pushes active/added/minimized window metadata over DBus (org.nextgen.TvDisplayMode) and ensures Stremio opens fullscreen by default.
- Steam Priority: Automatically locks the TV output (default
- Android TV-Style Background Media Auto-Pause
- When returning to the Plasma Bigscreen Home screen / shell overlay or switching focus to Steam or another media app,
tv-display-modeautomatically calls MPRISPlayer.Pause()on any playing background media app. - Matches Flatpak apps accurately across
xdg-dbus-proxyPID boundaries (via PID, sharedapp-flatpak-*.scopecgroups,DesktopEntry, andIdentity) so the focused player is never paused. - Ignores OSDs, notifications, transient popups, Polkit auth dialogs, and
fallback/initstates, and never callsPlay()automatically when refocusing a paused app.
- When returning to the Plasma Bigscreen Home screen / shell overlay or switching focus to Steam or another media app,
- Hardware Video Acceleration & Platform Adapters (
bin/nextgen_platform.py,bin/nextgen-manifest.py)- Platform Discovery & Safe Manifest: Detects GPU/VA-API stack, DRM/KScreen outputs, and tunneled vs native HDMI-CEC devices, while tracking installed files, versioned backups, and key-scoped Flatpak overrides in
$HOME. - Stremio (
stremio/stremio_mpv_shim.c): LightweightLD_PRELOADshim forlibmpv.soenforcingconfig=yes,hwdec=auto-safe, andhwdec-codecs=allso embedded libmpv honors hardware decode (stremio/mpv.conf). - VacuumTube (YouTube TV), Jellyfin Desktop & Haruna: Configured for Wayland and hardware video decoding with sanitized diagnostics (
tv-display-mode diagnose).
- Platform Discovery & Safe Manifest: Detects GPU/VA-API stack, DRM/KScreen outputs, and tunneled vs native HDMI-CEC devices, while tracking installed files, versioned backups, and key-scoped Flatpak overrides in
- Controller, Remote Keymap & Desktop <-> Bigscreen Session Swapping
bin/tv-session-switch.sh: Cleanly swaps betweenorg.kde.plasma.bigscreenand standardorg.kde.plasma.desktopin user-space, preserving custom blacklists and input handler settings acrossplasma-bigscreen-envmanager.- Gamepad Input Isolation (
configs/plasma-bigscreen-inputhandlerrc):AutoSuppressInput=trueprevents double D-pad input when focused inside Steam Big Picture or controller-capable apps (Stremio / VacuumTube). - USB Remote Remapper & DP-to-HDMI CEC Fix (
bin/tv-remote-keymap.py): User-spaceEVIOCSKEYCODE_V2remapper with data-driven remote profiles +--clearon tunneledcec-DP-*adapters to prevent DP-AUX timeouts.
We warmly welcome contributors running Ubuntu, Debian, Arch Linux, openSUSE Tumbleweed, mutable Fedora KDE Spin, AMD Radeon, NVIDIA, legacy or newer Intel GPUs, 4K@60/120/HDR/VRR TVs, HDMI-CEC or Bluetooth/RF remotes, as well as testers, accessibility advocates, and documentation writers. You do not need Fedora Kinoite, Bazzite, or Intel hardware to help!
- Officially tested: Reproducibly tested end-to-end on real TV hardware by a maintainer (currently Bazzite / Fedora Kinoite + KDE Plasma 6 Wayland + Intel UHD 630
iHD+ DP-1 4K@30/1080p@60 + XING WEI620a:0407remote). - Community-tested: Verified on real hardware by a contributor with sanitized diagnostics and rollback evidence in a Compatibility Report or PR.
- Experimental: Adapter or config support exists or is unit/fixture tested, but real-hardware validation is incomplete.
- Untested: Not yet verified on real hardware — check docs/COMPATIBILITY.md before assuming support.
Browse the live GitHub Project Board, full card specifications in docs/CONTRIBUTION_BOARD.md, or open GitHub Issues (choose an issue template). Having a card means help is wanted, not that the platform is already supported.
| Area | Live GitHub Issues | Current Status | Priority |
|---|---|---|---|
| Mutable Distros | #1 Fedora KDE Spin · #2 Ubuntu + KDE · #3 Debian KDE · #4 Arch Linux KDE · #5 openSUSE Tumbleweed | Untested — Ready for contributors | P1 |
| GPUs | #6 AMD Radeon/Mesa · #7 NVIDIA · #8 Intel legacy/new | Experimental — Needs hardware validation | P0 / P1 |
| Displays | #9 Multi-monitor & connector switching · #10 4K60/120, HDR and VRR research | Untested — Ready for contributors | P1 |
| Remotes & CEC | #11 HDMI-CEC adapters · #12 Bluetooth/RF controllers | Experimental — Needs hardware validation | P1 |
| Streaming & DRM | #13 Browser DRM compatibility | Unverified / Restricted — Ready for contributors | P2 |
| Safety & QA | #14 Transactional install & rollback · #15 Hardware test matrix & CI (assigned to @Hitesh-XS) |
#14 Needs validation · #15 In progress |
P0 |
| UX & Inclusion | #16 Accessibility and translations | Backlog — Good first issue | P2 |
- Pick an issue from docs/CONTRIBUTION_BOARD.md or GitHub Issues (or file a Compatibility Report).
- Test and modify safely on your machine using
--dry-run, isolated temporary$HOMEruns, unit/fixture tests, and sanitized diagnostics (tv-display-mode diagnose,tv-remote-keymap.py --diagnose). - Submit a Pull Request with honest evidence separating what was tested on real hardware vs. simulated or untested, plus rollback outcome.
AI assistants are completely optional. If you choose to use an AI coding assistant, you remain accountable for reviewing every command, diff, test result, compatibility claim, and privacy redaction before running or submitting anything.
Copy and paste this prompt into your AI assistant:
Act as my careful open-source contribution assistant for https://github.com/nissifield/NextGen_plasmabigscreen. Read the repository's CONTRIBUTING.md, CONTRIBUTOR_AI_PROMPT.md, compatibility matrix and the GitHub issue I select. Inventory my distro, KDE/Wayland session, GPU/driver, TV/connector and remote; do not assume I use Bazzite or Intel. Propose a narrowly scoped, reversible change, get my approval before installation/privileged commands, implement tests and documentation, run available checks, and prepare a PR with honest hardware evidence. Never overwrite unrelated settings, leak device/user secrets or claim untested compatibility. Do not merge without maintainer review.
Key contributor resources:
- Contributing Guide (Human-First) · Contributor AI Prompt (Optional)
- Hardware & Distro Compatibility Matrix · Architecture & Boundaries · Contribution Board
- Issue Templates (Compatibility Report, Feature Request) · PR Template · License (GPL-2.0-or-later)
git clone https://github.com/nissifield/NextGen_plasmabigscreen.git
cd NextGen_plasmabigscreen
./install.sh --help
./install.sh --dry-run# Core Plasma Bigscreen UI, display daemon, Movie Mode toggle, Stremio shim & desktop files:
./install.sh
# Optionally include baseline hardware presets (Intel VA-API, WirePlumber HDMI audio, Gamescope & PowerDevil):
# Review first — do not pass blindly on non-Intel/non-baseline hardware.
./install.sh --with-hardware-presetsFind your connected display output name:
kscreen-doctor -oEdit ~/.config/tv-display-mode/config.json and update "output" (e.g. "HDMI-A-1" or "DP-1"), "mode_4k", and "mode_1080p", then restart the service and verify:
systemctl --user restart tv-display-mode.service
~/.local/bin/tv-display-mode status
~/.local/bin/tv-display-mode diagnose~/.local/bin/tv-session-switch.sh bigscreen
~/.local/bin/tv-session-switch.sh desktop./rollback-tv-setup.shNextGen_plasmabigscreen/
├── .github/ # Issue templates, PR template & GitHub Actions CI
├── .gitignore
├── LICENSE # GPL-2.0-or-later
├── README.md
├── CONTRIBUTING.md # Human-first contribution guide (AI optional)
├── CONTRIBUTOR_AI_PROMPT.md # Optional companion AI prompt for contributors
├── SETUP_PROMPT.md # Single-shot AI agent setup & hardware-adaptation prompt
├── assets/
│ └── banner.jpg # Repository hero banner graphic
├── install.sh # Idempotent user-space installer (--help, --dry-run)
├── rollback-tv-setup.sh # Manifest-aware user-space rollback script
├── bin/
│ ├── nextgen_platform.py # GPU/DRM/CEC probing & data-driven remote profiles
│ ├── nextgen-manifest.py # Ownership manifest, backups & Flatpak INI patcher
│ ├── tv-display-mode # Display switcher + Steam priority + MPRIS auto-pause daemon
│ ├── tv-movie-mode-toggle # Movie Mode (4K) <-> 1080p toggle with OSD/banner
│ ├── tv-session-switch.sh # Desktop <-> Plasma Bigscreen user-space switcher
│ ├── tv-remote-keymap.py # User-space USB/RF remote evdev keymap + CEC helper
│ ├── steamos-add-to-steam # Plasma 6 MIME fix for adding wrappers to Steam
│ ├── tv-display-mode.sh # Manual kscreen-doctor display helper
│ └── streaming_scripts/ # Steam Non-Steam wrapper scripts
├── kwin/
│ └── tv-display-mode.js # KWin 6 Wayland window state & fullscreen reporter
├── stremio/
│ ├── stremio_mpv_shim.c # LD_PRELOAD libmpv shim enabling mpv.conf & hwdec=auto-safe
│ └── mpv.conf
├── mpv/
│ └── tv-display-mode.lua # Optional mpv playback resolution hook
├── plasma/
│ └── plasmoids/org.kde.bigscreen.homescreen/ # Customized Android TV homescreen plasmoid
├── systemd/user/
│ ├── tv-display-mode.service
│ ├── tv-remote-keymap.service
│ └── plasma-bigscreen-inputhandler.service
├── configs/ # Sanitized config files & @HOME@ templates
├── desktop/ # .desktop launchers & @HOME@ templates
├── scripts/
│ └── seed-github-board.sh # Maintainer gh CLI script (--dry-run default) to seed board
├── tests/ # Unit & fixture test suite
└── docs/ # Architecture, Compatibility Matrix, Contribution Board & guides
python3 -m unittest discover -s tests -v
python3 -m py_compile bin/tv-display-mode bin/tv-movie-mode-toggle bin/tv-remote-keymap.py bin/nextgen_platform.py bin/nextgen-manifest.py tests/*.py
gcc -fsyntax-only -Wall -Wextra -fPIC -O2 stremio/stremio_mpv_shim.c
bash -n install.sh rollback-tv-setup.sh bin/tv-session-switch.sh bin/tv-display-mode.sh configs/bashrc.d/tv-display-mode.sh scripts/seed-github-board.sh- Architecture & Subsystem Boundaries
- Hardware, Distro & App Compatibility Matrix
- NextGen Compatibility & Contributions Board
- Contributing Guide (Human-First) · Contributor AI Prompt (Optional)
- AI Agent Self-Service Setup Prompt
- 01 — Architecture & UI Design
- 02 — Streaming Apps Guide
- 03 — Remote Controls & HDMI-CEC
- 04 — Operations & Rollback Runbook
- 05 — Complete Setup How-To Guide
- 06 — AI Agent & Multi-Model Prompt Library
- Licensed under GPL-2.0-or-later (see LICENSE) in compliance with KDE Plasma Bigscreen QML derivatives.
