Jump to content

OpenTabletDriver: Difference between revisions

From Official NixOS Wiki
imported from old wiki
 
Kaya (talk | contribs)
OpenTabletDriver requires uinput https://opentabletdriver.net/Wiki/FAQ/Linux#missing-uinput-device-support
 
Line 3: Line 3:
= Installing OpenTabletDriver =
= Installing OpenTabletDriver =
Install OpenTabletDriver, it's daemon and GUI by:
Install OpenTabletDriver, it's daemon and GUI by:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|3=<nowiki>
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
{
{
Line 9: Line 9:
   # Enable OpenTabletDriver
   # Enable OpenTabletDriver
   hardware.opentabletdriver.enable = true;
   hardware.opentabletdriver.enable = true;
  # Required by OpenTabletDriver
  hardware.uinput.enable = true;
  boot.kernelModules = [ "uinput" ];
   ...
   ...
}
}
</nowiki>}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}


= Troubleshooting =
= Troubleshooting =
Check out the official [https://opentabletdriver.net/Wiki/FAQ/Linux OpenTabletDriver Wiki]
Check out the official [https://opentabletdriver.net/Wiki/FAQ/Linux OpenTabletDriver Wiki]
{{warning|1=Do not run <code>otd-daemon</code> as root }}
{{warning|1=Do not run <code>otd-daemon</code> as root }}
But in case you do, run:
But in case you do, run:

Latest revision as of 21:42, 18 November 2025

OpenTabletDriver is an open source, cross-platform, low latency, user-mode tablet driver.

Installing OpenTabletDriver

Install OpenTabletDriver, it's daemon and GUI by:

❄︎ /etc/nixos/configuration.nix
{ config, lib, pkgs, ... }:
{
  ...
  # Enable OpenTabletDriver
  hardware.opentabletdriver.enable = true;

  # Required by OpenTabletDriver
  hardware.uinput.enable = true;
  boot.kernelModules = [ "uinput" ];
  ...
}

Troubleshooting

Check out the official OpenTabletDriver Wiki

⚠︎
Warning: Do not run otd-daemon as root

But in case you do, run:

sudo rm /tmp/CoreFxPipe_OpenTabletDriver.Daemon

to stop the daemon from crashing when ran as user again.