1 diff --git a/src/daemon/input_linux.c b/src/daemon/input_linux.c
2 index 933e628..c4f97f2 100644
3 --- a/src/daemon/input_linux.c
4 +++ b/src/daemon/input_linux.c
5 @@ -70,7 +70,7 @@ int os_inputopen(usbdevice* kb){
7 // If not available, load the module
9 - if(system("modprobe uinput") != 0) {
10 + if(system("@kmod@/bin/modprobe uinput") != 0) {
11 ckb_fatal("Failed to load uinput module");
14 diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
15 index eeadaf8..87de71f 100644
16 --- a/src/gui/mainwindow.cpp
17 +++ b/src/gui/mainwindow.cpp
18 @@ -309,7 +309,7 @@ void MainWindow::updateVersion(){
19 #elif defined(Q_OS_LINUX)
20 if(!(QFileInfo("/dev/uinput").exists() || QFileInfo("/dev/input/uinput").exists())){
22 - modprobe.start("modprobe", QStringList("uinput"));
23 + modprobe.start("@kmod@/bin/modprobe", QStringList("uinput"));
25 if(!modprobe.waitForFinished())
26 qDebug() << "Modprobe error";