All articles

Ulanzi D200 on Linux: install, permissions and fixes

The Ulanzi D200 works on Linux with Taurilanzi. Which package to pick, the udev rule and uinput, X11 and Wayland, GNOME and KDE, and what to check if it fails.

A minimalist desk at night under a warm lamp, with a mechanical keyboard, a small button deck and a penguin plush toy on the shelf.

Does the Ulanzi D200 work on Linux?

Yes, with Taurilanzi. Ulanzi Studio only has downloads for Windows and macOS, but Taurilanzi is a free, open-source app that talks to the D200 directly over USB and ships for Linux on x86_64 and ARM64 as an AppImage, a .deb and an .rpm. Keys can press shortcuts on X11 and on Wayland, and profiles can follow the app in front on GNOME, KDE Plasma, wlroots compositors and X11.

It is not the only way. A community plugin adds the D200 to OpenDeck on Linux, Bitfocus Companion has a surface module for it, and StreamController lists experimental support. We compare those apps in stream decks on Linux.

This guide is about Taurilanzi: which package to pick, what each one changes on your system, what the app asks the first time, and how to fix a D200 that does nothing. For the general setup of keys, pages and widgets, see how to set up the Ulanzi D200.

Which package to download

All three are on the download page and in GitHub Releases. They are built on Ubuntu 22.04, so they run on that release and newer systems.

Package For What it sets up when installed
.deb Debian, Ubuntu, Linux Mint udev rule, uinput loaded now and at boot
.rpm Fedora, openSUSE udev rule, uinput loaded now and at boot
AppImage Any distribution Nothing until the app asks, once, for the administrator password

Install a package from a terminal in the folder where you downloaded it:

sudo apt install ./Taurilanzi_*_x86_64.deb     # Debian, Ubuntu and derivatives
sudo dnf install ./Taurilanzi_*_x86_64.rpm     # Fedora

On an ARM64 machine the file names end in aarch64 instead. For the AppImage, make it executable and open it:

chmod +x Taurilanzi_*_x86_64.AppImage
./Taurilanzi_*_x86_64.AppImage

Keep the AppImage in a fixed place, such as ~/Applications: the app adds itself to your desktop's autostart folder pointing at the file, so after moving it you need to open it once from the new place.

What the packages change on your system

Linux only lets root open a USB device or create a virtual keyboard. To let you use both without running anything as root, the .deb and .rpm install three small files and apply them right away:

  • /usr/lib/udev/rules.d/70-taurilanzi.rules: a udev rule that tags the D200 (USB vendor 2207, product 0019, both its usb and hidraw nodes) and /dev/uinput with uaccess. systemd then gives access to the user sitting at the computer, and nobody else. You can read the rule on GitHub.
  • /usr/lib/modules-load.d/taurilanzi.conf: loads the uinput kernel module at every boot.
  • A post-install script that loads uinput now, reloads the udev rules and re-applies them to devices already plugged in, so you do not have to reboot.

The AppImage cannot install files, so the app does it when you first need it: it runs the same steps through pkexec, which asks for the administrator password, and saves the rule to /etc/udev/rules.d/70-taurilanzi.rules and the module file to /etc/modules-load.d/.

What the app asks the first time

Depending on the package and the desktop, you may see up to three requests. Each one appears once.

  1. Access to the dock (AppImage only). If the D200 is plugged in but the rule is not in place, the status bar at the bottom of the window shows Allow the app to use the dock. Click it and type the administrator password.
  2. Keyboard permission. Actions that press keys or type text carry a Keyboard permission label in the catalog. Until the virtual keyboard is allowed, the action's dialog shows "Linux does not let the app press keys or type until you allow it, once, with the administrator password" and a Give permission button. With the .deb or .rpm this is already done.
  3. The GNOME extension (GNOME on Wayland only). To switch profiles with the app in front, open a profile's Linked apps… dialog. On GNOME it says the app needs a small extension of its own and offers Install the extension. Then log out and back in: GNOME Shell only loads new extensions at login on Wayland.

X11 or Wayland: what changes

Pressing keys works the same on both. Wayland does not let one app send keystrokes to another, so Taurilanzi creates a virtual keyboard through uinput, which the kernel treats like a real one. Shortcuts, Type text, media keys and the screen brightness keys all go through it. Text is typed with your current keyboard layout, and characters that are on no key (emoji, other alphabets) are pasted instead.

Knowing which app is in front is what differs, and it only matters if you use profiles linked to apps:

Session How the app knows What you do
X11, any desktop (Xfce, Cinnamon, MATE, KDE or GNOME on Xorg…) Reads the active window from X11 Nothing
KDE Plasma 5 or 6 on Wayland Loads a small KWin script while it runs Nothing
GNOME 42 to 50 on Wayland Its own GNOME Shell extension Install the extension, then log out and in
Sway, Hyprland and other compositors with wlr-foreign-toplevel-management That Wayland protocol Nothing
Any other Wayland desktop No way to ask Profiles do not switch by themselves

On the last row, the Linked apps… dialog says "This desktop does not tell which app is in front, so profiles will not switch by themselves." Everything else works: you can still switch profiles from the sidebar, the tray menu or a key with Switch profile. The wayland.app page of the protocol lists which compositors implement it.

One more GNOME detail: vanilla GNOME Shell does not show tray icons, so the Taurilanzi icon (with Pause the dock, brightness and updates) does not appear unless you add the AppIndicator and KStatusNotifierItem Support extension. Ubuntu's GNOME already comes with an equivalent one turned on.

The D200 does not work on Linux: what to check

Go through these in order.

1. Is the dock seen at all?

lsusb -d 2207:0019

No line means the computer does not see the D200: try another cable or a port on the computer itself instead of a hub.

2. Is another app using it?

Only one app can drive the D200 at a time. Close any other stream deck software that talks to it before you open Taurilanzi.

3. Is the rule in place and applied?

ls /usr/lib/udev/rules.d/70-taurilanzi.rules /etc/udev/rules.d/70-taurilanzi.rules

One of the two must exist. If it does but the dock still shows as disconnected, apply the rule again, or simply unplug the D200 and plug it back in:

sudo udevadm control --reload-rules
sudo udevadm trigger --action=change --subsystem-match=misc --subsystem-match=hidraw --subsystem-match=usb

The uaccess tag gives access to the user of the active local session. Over SSH or in a second session on another seat, the dock stays closed to you.

4. The AppImage never showed the password prompt

pkexec needs a polkit authentication agent. Full desktops run one; a bare Sway or Hyprland setup may not, and then the request fails silently. Start your desktop's polkit agent, or install the rule by hand with the same steps the app runs:

sudo curl -L -o /etc/udev/rules.d/70-taurilanzi.rules \
  https://raw.githubusercontent.com/fstechlabs/taurilanzi/main/src-tauri/packaging/linux/70-taurilanzi.rules
echo uinput | sudo tee /etc/modules-load.d/taurilanzi.conf
sudo modprobe uinput
sudo udevadm control --reload-rules
sudo udevadm trigger --action=change --subsystem-match=misc --subsystem-match=hidraw --subsystem-match=usb

5. The dock works but keys do not press anything

That is the virtual keyboard. Check that /dev/uinput exists (ls -l /dev/uinput) and that the action's dialog no longer shows the Give permission notice. Shortcuts your desktop grabs itself, such as Super or Alt+Tab, have to be chosen by hand in the shortcut editor instead of recorded.

6. Profiles do not follow the app in front

Turn on Switch profile with the active app in Settings → Profiles, and check the table above for your session. On GNOME, if you installed the extension and nothing changes, you have not logged out and back in yet.

If none of this helps, open an issue on GitHub with your distribution, desktop, session type (echo $XDG_SESSION_TYPE) and package.

Where to go next

If you are choosing between Linux apps for a stream deck, our overview of stream decks on Linux compares the options. If you are moving from Windows or macOS, the comparison with Ulanzi Studio says what you keep. The download is free, and the Linux code is in the repository for anyone who wants to read it.

The app is free software under the AGPL-3.0 licence.GitHub

Taurilanzi is an independent project. It is not affiliated with or endorsed by Ulanzi. “Ulanzi” and “Ulanzi Studio” belong to their owners and are used here only to indicate compatibility.