OpenDeck on Arch Linux

Discussions related to the packaging and installation of OpenDeck on Arch Linux
120 Replies
Terrorwolf
Terrorwolf2mo ago
FYI: I am now the Maintainer of the non git Opendeck Package on the AUR. I will update the Package in the next few days.
ninjadev64
ninjadev64OP2mo ago
Awesome @Terrorwolf I presume I should remove the Unfortunately, these are often out of date, but you can try your luck. I added about the AUR packages to the README then?
Terrorwolf
Terrorwolf2mo ago
You can but i would wait until the non git version is up to date. Unfortunatly I can't be the maintainer of the git version yet since its working and has no problem. Unless @ΩмεցαЯοցυε would add me as a maintainer
ΩмεցαЯοցυε
i can do that
Terrorwolf
Terrorwolf2mo ago
That would be great. I can also re add you as a maintainer of the non git version if you'd like.
ΩмεցαЯοցυε
whats your username? sure, tho i dont have much time to maintain packages currently
Terrorwolf
Terrorwolf2mo ago
Now that there is more than one maintainer its no problem anymore. See the non git variant.
ΩмεցαЯοցυε
the git version always had more than one maintainer
Terrorwolf
Terrorwolf2mo ago
I know. But the normal version which is still far behind had just one
ΩмεցαЯοցυε
added you
ninjadev64
ninjadev64OP2mo ago
lmao it is still on 2.2.1 😭
Terrorwolf
Terrorwolf2mo ago
Thanks. Will add you back to the normal when at home Will update today or tomorrow depending on when the new version releases.
ninjadev64
ninjadev64OP2mo ago
@Terrorwolf test the latest commit on your system first, and if everything seems good, then feel free to update the package @Percy_Ikana if you could test the latest commit ("Bump version to 2.4.0") that would also be great
Percy_Ikana
Percy_Ikana2mo ago
I'll look at it when I get time and let you know.
Terrorwolf
Terrorwolf2mo ago
seems to be working for now. Except the Image Problem. Update for the non-git Opendeck was just pushed to the AUR
ninjadev64
ninjadev64OP2mo ago
@Terrorwolf could you replace deno-init in the dependencies with deno like has been done for -git
Terrorwolf
Terrorwolf2mo ago
thats the plan, but i got a few errors with the not init deno version today on my testing machine. Will debug this over the weekend and push the new version then. I wanted to get the new version out asap.
ninjadev64
ninjadev64OP2mo ago
damn, 33% of opendeck users are on Arch or a derivative (Arch 12%, Endeavour 10%, CachyOS 9%, Manjaro 1%, Garuda 1%) next highest is flatpak at 28%, Ubuntu and Debian are surprisingly low at 4%
Terrorwolf
Terrorwolf2mo ago
what are the other OS?
ninjadev64
ninjadev64OP2mo ago
this is the last 24 hours
No description
Terrorwolf
Terrorwolf2mo ago
Intresting
ninjadev64
ninjadev64OP2mo ago
"Linux" used to be a lot higher before I sent a PR to aptabase to add Flatpak as a separate OS
Terrorwolf
Terrorwolf2mo ago
Propably because Flatpak is only on Linux.
ninjadev64
ninjadev64OP2mo ago
What I mean is that there used to be a high percentage of unknown "Linux" because Aptabase didn't know how to detect Flatpak So know I can tell how many people are on obscure distros vs how many people are on Flatpak ^?
Terrorwolf
Terrorwolf2mo ago
I am working on it at the moment. Together with the Problem Reported in the comments of the package.
ninjadev64
ninjadev64OP2mo ago
From tauri docs, these are the dependencies needed:
sudo pacman -Syu
sudo pacman -S --needed \
webkit2gtk-4.1 \
base-devel \
curl \
wget \
file \
openssl \
appmenu-gtk-module \
libappindicator-gtk3 \
librsvg
sudo pacman -Syu
sudo pacman -S --needed \
webkit2gtk-4.1 \
base-devel \
curl \
wget \
file \
openssl \
appmenu-gtk-module \
libappindicator-gtk3 \
librsvg
so the commenter is right about it needing the -4.1 version
Terrorwolf
Terrorwolf2mo ago
Yeah. Have already figured that.
ninjadev64
ninjadev64OP2mo ago
I really like the AUR from a developer's perspective, more than a user's
Terrorwolf
Terrorwolf2mo ago
btw is updated
ninjadev64
ninjadev64OP2mo ago
awesome those of you on -git, if you can test if the basics work (opening, pressing keys) before i release 2.4.1 that would be cool
Terrorwolf
Terrorwolf2mo ago
Will test tomorrow
ninjadev64
ninjadev64OP2mo ago
no worries, I'm going to do it today, was just asking in case people were free currently
Terrorwolf
Terrorwolf2mo ago
@ninjadev64 will update the Aur package for non git after work tomorrow.
Tranche De Pain
Tranche De Pain2mo ago
Hello. Coming in as requested to look into the issue with the missing Tauri files that I mentioned on the AUR page.
Terrorwolf
Terrorwolf2mo ago
Hi, could you post the whole error here?
Tranche De Pain
Tranche De Pain2mo ago
With a clean build :
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
opendeck ... Passed
:: (1/1) Parsing SRCINFO: opendeck
==> Making package: opendeck v2.4.1-1 (Thu 30 Jan 2025 03:04:26 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating opendeck git repo...
==> Validating source files with sha256sums...
opendeck ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of opendeck git repo...
Cloning into 'opendeck'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Submodule 'plugins/com.amansprojects.starterpack.sdPlugin' (https://github.com/ninjadev64/opendeck-starterpack.git) registered for path '../plugins/com.amansprojects.starterpack.sdPlugin'
Cloning into '/home/tranchedepain/.cache/yay/opendeck/src/opendeck/plugins/com.amansprojects.starterpack.sdPlugin'...
Submodule path '../plugins/com.amansprojects.starterpack.sdPlugin': checked out '7bc111010245a4e361eb79bf833ec8e5df2aa25a'
==> Sources are ready.
==> Making package: opendeck v2.4.1-1 (Thu 30 Jan 2025 03:04:32 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Task tauri tauri "build" "--ci" "-b" "deb" "--" "--frozen"
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
Aborting...
-> error making: opendeck-exit status 4
-> Failed to install the following packages. Manual intervention is required:
opendeck - exit status 4
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
opendeck ... Passed
:: (1/1) Parsing SRCINFO: opendeck
==> Making package: opendeck v2.4.1-1 (Thu 30 Jan 2025 03:04:26 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating opendeck git repo...
==> Validating source files with sha256sums...
opendeck ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of opendeck git repo...
Cloning into 'opendeck'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Submodule 'plugins/com.amansprojects.starterpack.sdPlugin' (https://github.com/ninjadev64/opendeck-starterpack.git) registered for path '../plugins/com.amansprojects.starterpack.sdPlugin'
Cloning into '/home/tranchedepain/.cache/yay/opendeck/src/opendeck/plugins/com.amansprojects.starterpack.sdPlugin'...
Submodule path '../plugins/com.amansprojects.starterpack.sdPlugin': checked out '7bc111010245a4e361eb79bf833ec8e5df2aa25a'
==> Sources are ready.
==> Making package: opendeck v2.4.1-1 (Thu 30 Jan 2025 03:04:32 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Task tauri tauri "build" "--ci" "-b" "deb" "--" "--frozen"
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
Aborting...
-> error making: opendeck-exit status 4
-> Failed to install the following packages. Manual intervention is required:
opendeck - exit status 4
Terrorwolf
Terrorwolf2mo ago
what does the $srcdir directory contain?
Tranche De Pain
Tranche De Pain2mo ago
Also just pointing out the weird pkg permission issue at the bottom
No description
Terrorwolf
Terrorwolf5w ago
@Tranche De Pain sorry I was pretty occupied the last few days. You said this error happens on both the normal and the -git version of Opendeck?
Tranche De Pain
No worries, I understand. I'm in no hurry to fix this. I mostly want both of us to understand the problem to document it properly. To answer your question, yes it does happen on both versions.
Terrorwolf
Terrorwolf5w ago
Do you use an AUR Helper to install it or just download the PKGBUILD and run it manually? And if it is an AUR Helper, which one?
Tranche De Pain
I use yay
Terrorwolf
Terrorwolf5w ago
ok. Could you try to delete the cached files and retry if it works? (yay default path is ~/.cache/yay/<projectname>)
Tranche De Pain
What exactly do you mean by "try the cached files". Like makepkg? Oh Yes I did that already. Also simply told yay to do a clean build. Both cases, same result. I could test with the PKGBUILD directly.
Terrorwolf
Terrorwolf5w ago
could you try to create an empty folder in like your Downloads Folder, Download the newest PKGBUILD, move it in the empty folder and try running it manually
Tranche De Pain
Never done that manually before so just give me a minute Alright. - Created a folder in my Downloads/ - Fetched PKGBUILD - Ran makepkg -si - Same result
Terrorwolf
Terrorwolf5w ago
thats very interresting.
Tranche De Pain
I'd like to believe I'm missing some dependencies or something, but it is a genuine Tauri error related to missing files.
Terrorwolf
Terrorwolf5w ago
could you do me a favor, empty the folder out and try the following steps? Do you normally uninstall the make deps?
Tranche De Pain
I do, but I'm not sure if I did in this case.
Terrorwolf
Terrorwolf5w ago
ok. Please install the deps, then git clone the repo and try the steps in the prepare and build sections manually?
Tranche De Pain
I'll try that. But I just double checked and yay doesn't even give me the option to uninstall the install deps, so I'm pretty sure I didn't in this case.
Terrorwolf
Terrorwolf5w ago
ok. propably because it doesn't get that far due to having problems in the build section
Tranche De Pain
I just checked and I actually do have all the dependencies. Ok. I'm not sure if that would be the cause, but I had to change some paths variables because I'm using fish and it doesn't like ${srcdir} for example. Not sure if makepkg takes that into consideration. But now I'm at the line :
deno task tauri build --ci -b deb -- --frozen
deno task tauri build --ci -b deb -- --frozen
And here's what I'm getting :
Could not initialize cache database '/deno-cache/node_analysis_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/node_analysis_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Could not initialize cache database '/deno-cache/dep_analysis_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/dep_analysis_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Could not initialize cache database '/deno-cache/v8_code_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/v8_code_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Failed to open cache file '/deno-cache/dep_analysis_cache_v2', opening in-memory cache.
Failed to open cache file '/deno-cache/v8_code_cache_v2', performance may be degraded.
Failed to open cache file '/deno-cache/node_analysis_cache_v2', opening in-memory cache.
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Could not initialize cache database '/deno-cache/node_analysis_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/node_analysis_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Could not initialize cache database '/deno-cache/dep_analysis_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/dep_analysis_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Could not initialize cache database '/deno-cache/v8_code_cache_v2', deleting and retrying... (unable to open database file: /deno-cache/v8_code_cache_v2

Caused by:
Error code 14: Unable to open the database file)
Failed to open cache file '/deno-cache/dep_analysis_cache_v2', opening in-memory cache.
Failed to open cache file '/deno-cache/v8_code_cache_v2', performance may be degraded.
Failed to open cache file '/deno-cache/node_analysis_cache_v2', opening in-memory cache.
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Terrorwolf
Terrorwolf5w ago
are you able to try it with bash instead of fish? Maybe thats the problem.
Tranche De Pain
I just sudo'd it and
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I can try. Same issue in bash
Terrorwolf
Terrorwolf5w ago
Interresting. @ninjadev64 Do you have any Idea?
ninjadev64
ninjadev64OP5w ago
Nope lol I can suggest building it normally without the PKGBUILD maybe
Terrorwolf
Terrorwolf5w ago
that was the last try. Same result do you find a tauri.conf.json, tauri.conf.json5 or Tauri.toml some where in the file structer in this folder you created? what is your version of deno and tauri?
fightforlife
fightforlife3w ago
I just tried arch. After yay I still had to manually install webkit2gtk-4.1. Is it possible to add this to the automatic deps?
Terrorwolf
Terrorwolf3w ago
which AUR package did you install?
Terrorwolf
Terrorwolf3w ago
there it is already an dependency. What error did you get?
fightforlife
fightforlife3w ago
opendeck: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory webkit2gtk did not solve the problem webkit2gtk-4.1 did
Terrorwolf
Terrorwolf3w ago
I know. As said in opendeck package 4.1 is already the dependency
Terrorwolf
Terrorwolf3w ago
Down at the bottom
No description
fightforlife
fightforlife3w ago
I allowed yay to remove the build dependencies after install. maybe it was deleted
Terrorwolf
Terrorwolf3w ago
Oh. You mean at runtime?
fightforlife
fightforlife3w ago
I got the error when starting opendeck
Terrorwolf
Terrorwolf3w ago
ok. It seems like its also a runtime dep. Will add it as a dep array and not as a make dep
fightforlife
fightforlife3w ago
And for me the udev is not working because group "plugdev" does not exist. I currently reading if it is better to create the group or change the udev rules.
Terrorwolf
Terrorwolf3w ago
What ARCH did you install? Arch itself or a fork like EndeavourOS?
fightforlife
fightforlife3w ago
vanilla Arch + KDE Plasma standard Apps
Terrorwolf
Terrorwolf3w ago
ok
fightforlife
fightforlife3w ago
Have to try
No description
Terrorwolf
Terrorwolf3w ago
just checked, for what do you need the plugdev group? On my pc is also no plugdev group. since its a ubuntu thing
fightforlife
fightforlife3w ago
I get permission denied as Standard user. As root it works
Terrorwolf
Terrorwolf3w ago
interresting. If you find the solution tag me so I can integrate it in the Opendeck AUR Package but lsusb does list it also without root? the udev rule is located in /etc/udev/rules.d/? @fightforlife
fightforlife
fightforlife3w ago
/etc/udev/rules.d/40-streamdeck.rules Yes lsusb lists it as standaard user. Bus 003 Device 072: ID 5548:6670 355 35549 And it is included in the udev rules. I get acess denied for hidraw6
Terrorwolf
Terrorwolf3w ago
what is the permission on the udev rule file?
fightforlife
fightforlife3w ago
-rw-r--r-- 1 root root 6423 Feb 14 20:30 /etc/udev/rules.d/40-streamdeck.rules
Terrorwolf
Terrorwolf3w ago
and in the file it states 660?
fightforlife
fightforlife3w ago
Yes all MODE="0660" Replacing GROUP=plugdev with TAG+="uaccess" from the Archwiki and reloading does not change the behaviour Maybe I am missing some specific group
Terrorwolf
Terrorwolf3w ago
could you send me the exact error message?
fightforlife
fightforlife3w ago
(process:8129): Gtk-WARNING : 20:37:39.593: Locale not supported by C library. Using the fallback 'C' locale. (process:8161): Gtk-WARNING : 20:37:39.703: Locale not supported by C library. Using the fallback 'C' locale. [2025-02-14][19:37:39][opendeck::events][DEBUG] Registered plugin com.amansprojects.starterpack.sdPlugin /usr/bin/xdg-mime: line 885: qtpaths: command not found [2025-02-14][19:37:39][opendeck::elgato][WARN] Failed to connect to Elgato device: HidError(HidApiError { message: "Failed to open a device with path '/dev/hidraw6': Permission denied" }) [2025-02-14][19:37:49][opendeck::elgato][WARN] Failed to connect to Elgato device: HidError(HidApiError { message: "Failed to open a device with path '/dev/hidraw6': Permission denied" }) cat /dev/hidraw6 give permissions denied. With sudo I get the Inputs. crw-rw---- 1 root root 244, 6 Feb 14 20:12 /dev/hidraw6
Terrorwolf
Terrorwolf3w ago
have you restartet your pc after adding the udev rules? (There is also a reload command if I remember correctly but not sure) udevadm control --reload-rules && udevadm trigger thats to reload the udev rules
fightforlife
fightforlife3w ago
Worked. I only did the reload rules, not the trigger Big thanks for the support. Will play a bit with Arch, to see if I can switch from Kubuntu
Terrorwolf
Terrorwolf2w ago
no problem. Feel free to ask anything. As long as I can help, I gladly will. (But maybe in #off-topic ) I will update the AUR Package today or tomorrow depending on when I have time for that.
ninjadev64
ninjadev64OP2w ago
Cool I actually published the release in the morning, but decided to wait a bit to see when flathub would update (it still hasn't though)
Terrorwolf
Terrorwolf2w ago
@ninjadev64
ninjadev64
ninjadev64OP2w ago
I see Do you think it would still work with both? Having both the group and the tag Because I remember that someone also needed the uaccess tag on Ubuntu https://github.com/streamduck-org/elgato-streamdeck/issues/24
Terrorwolf
Terrorwolf2w ago
Actually i don't know whats different but in my setup it works with your default rules. And without plugdev group Opendeck Package in AUR is updated.
ninjadev64
ninjadev64OP2w ago
cool
Terrorwolf
Terrorwolf2w ago
@ninjadev64 just read that you maybe will publish an OpenDeck update tomorrow. I am not home so I can't update the AUR until Monday.
ninjadev64
ninjadev64OP2w ago
No worries, this issue only affects RPM-based distros (fedora and openSUSE)
Pulse (& Nova)🐱⚡📺
Okay, it'll probably be ready by tomorrow nevermind, it's ready now
Terrorwolf
Terrorwolf2w ago
@Pulse (& Nova)🐱⚡📺 ut will be updated when an update gets released. Somtimes I need a day or two for it.
fightforlife
fightforlife2w ago
Just to finish this. It works on both Kubuntu with plugdev group and on arch+KDE without plugdev group.
ninjadev64
ninjadev64OP2w ago
Nice
Gammablue
Gammablue4d ago
@Terrorwolf I'm having the same issue that @Tranche De Pain reported. Do you know if he ever get his installation working?
Terrorwolf
Terrorwolf4d ago
I don't know. If he got it working. What Distro are you using exactly? which AUR helper?
Gammablue
Gammablue4d ago
I'm using: Arch x86_64 Kernel 6.2.16-1-lts Attempted with both nushell and zsh DE is Plasma 6.3.1 I'm using yay for my AUR helper.
Terrorwolf
Terrorwolf3d ago
could you try "deno --version" and see if there is an output and if yes what it says?
Gammablue
Gammablue3d ago
deno 2.1.10 (stable, release, x86_64-unknown-linux-gnu) v8 13.0.245.12-rusty typescript 5.6.2
Terrorwolf
Terrorwolf3d ago
could you look if there is a tauri.conf or something like that in ~/.cache/yay/opendeck? is the problem happening only with the non git version or is it also happening with the -git version?
Gammablue
Gammablue3d ago
I've tried both a few days ago with same result. Today I have just attempted the non git version. ./src/opendeck/src-tauri/tauri.conf.json ./src/opendeck/src-tauri/tauri.linux.conf.json ./src/opendeck/node_modules/.deno/@[email protected]/node_modules/@tauri-apps/cli/tauri.js ./src/opendeck/node_modules/.bin/tauri ./src/deno-cache/npm/registry.npmjs.org/@tauri-apps/cli/2.2.7/tauri.js find: ‘./pkg’: Permission denied
Terrorwolf
Terrorwolf3d ago
Could you check if the same problem exists when manually installing the PKGBUILD file? (In a new folder)
Gammablue
Gammablue3d ago
Output attached.
Terrorwolf
Terrorwolf3d ago
could you check if there is an rust or tauri related environment variable in your system?
Gammablue
Gammablue3d ago
printenv does not list any keys or values containing "tauri" or "rust"
Terrorwolf
Terrorwolf3d ago
is your system uptodate? please check with yay -Syu --devel
Gammablue
Gammablue3d ago
Some updates were available. Processing them now.
Terrorwolf
Terrorwolf3d ago
did it work?
Gammablue
Gammablue3d ago
System is up to date. Attempted install both via yay and manually. It still fails with this message: ==> Starting build()... Task tauri tauri "build" "--ci" "-b" "deb" "--" "--frozen" thread '<unnamed>' panicked at crates/tauri-cli/src/helpers/app_paths.rs:119:5: Couldn't recognize the current folder as a Tauri project. It must contain a tauri.conf.json, tauri.conf.json5 or Tauri.toml file in any subfolder. note: run with RUST_BACKTRACE=1 environment variable to display a backtrace ==> ERROR: A failure occurred in build(). Aborting...
Terrorwolf
Terrorwolf3d ago
could you check the PKGBUILD for the content of Line 36
Gammablue
Gammablue3d ago
deno task tauri build --ci -b deb -- --frozen
Terrorwolf
Terrorwolf3d ago
@ninjadev64 sorry for the ping. I know I asked you the last time, but do you have any ideas what we can try here?
ninjadev64
ninjadev64OP3d ago
You could try building OpenDeck from source manually using the same commands as are in the PKGBUILD Then you can determine where the issue is
Gammablue
Gammablue3d ago
@Terrorwolf I'm out of time at the moment, but I'll definitely give that a shot and report back.
Terrorwolf
Terrorwolf3d ago
no problem. Hopefully we can fix this.

Did you find this page helpful?