OpenDeck on Arch Linux
Discussions related to the packaging and installation of OpenDeck on Arch Linux
120 Replies
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.
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?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
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
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
I know. But the normal version which is still far behind had just one
added you
lmao it is still on 2.2.1 😭
Thanks. Will add you back to the normal when at home
Will update today or tomorrow depending on when the new version releases.
@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
I'll look at it when I get time and let you know.
seems to be working for now.
Except the Image Problem.
Update for the non-git Opendeck was just pushed to the AUR
@Terrorwolf could you replace
deno-init
in the dependencies with deno
like has been done for -git
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.
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%
what are the other OS?
this is the last 24 hours

Intresting
"Linux" used to be a lot higher before I sent a PR to aptabase to add Flatpak as a separate OS
Propably because Flatpak is only on Linux.
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
^?
I am working on it at the moment.
Together with the Problem Reported in the comments of the package.
From tauri docs, these are the dependencies needed:
so the commenter is right about it needing the
-4.1
versionYeah. Have already figured that.
I really like the AUR
from a developer's perspective, more than a user's
btw is updated
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
Will test tomorrow
no worries, I'm going to do it today, was just asking in case people were free currently
@ninjadev64 will update the Aur package for non git after work tomorrow.
Hello.
Coming in as requested to look into the issue with the missing Tauri files that I mentioned on the AUR page.
Hi,
could you post the whole error here?
With a clean build :
what does the $srcdir directory contain?
Also just pointing out the weird pkg permission issue at the bottom

@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?
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.
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?
I use yay
ok. Could you try to delete the cached files and retry if it works? (yay default path is ~/.cache/yay/<projectname>)
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.
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
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
thats very interresting.
I'd like to believe I'm missing some dependencies or something, but it is a genuine Tauri error related to missing files.
could you do me a favor, empty the folder out and try the following steps?
Do you normally uninstall the make deps?
I do, but I'm not sure if I did in this case.
ok. Please install the deps, then git clone the repo and try the steps in the prepare and build sections manually?
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.
ok. propably because it doesn't get that far due to having problems in the build section
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 :
And here's what I'm getting :
are you able to try it with bash instead of fish? Maybe thats the problem.
I just sudo'd it and
I can try.
Same issue in bash
Interresting. @ninjadev64 Do you have any Idea?
Nope lol
I can suggest building it normally without the PKGBUILD maybe
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?
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?
which AUR package did you install?
there it is already an dependency. What error did you get?
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
I know. As said in opendeck package 4.1 is already the dependency
Down at the bottom

I allowed yay to remove the build dependencies after install. maybe it was deleted
Oh. You mean at runtime?
I got the error when starting opendeck
ok. It seems like its also a runtime dep. Will add it as a dep array and not as a make dep
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.
What ARCH did you install? Arch itself or a fork like EndeavourOS?
vanilla Arch + KDE Plasma standard Apps
ok
Have to try

just checked, for what do you need the plugdev group?
On my pc is also no plugdev group.
since its a ubuntu thing
I get permission denied as Standard user.
As root it works
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
/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
what is the permission on the udev rule file?
-rw-r--r-- 1 root root 6423 Feb 14 20:30 /etc/udev/rules.d/40-streamdeck.rules
and in the file it states 660?
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
could you send me the exact error message?
(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
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
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
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.
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)
@ninjadev64
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
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.
cool
@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.
No worries, this issue only affects RPM-based distros
(fedora and openSUSE)
Okay, it'll probably be ready by tomorrow
nevermind, it's ready now
@Pulse (& Nova)🐱⚡📺 ut will be updated when an update gets released. Somtimes I need a day or two for it.
Just to finish this. It works on both Kubuntu with plugdev group and on arch+KDE without plugdev group.
Nice
@Terrorwolf I'm having the same issue that @Tranche De Pain reported. Do you know if he ever get his installation working?
I don't know. If he got it working. What Distro are you using exactly? which AUR helper?
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.
could you try "deno --version" and see if there is an output and if yes what it says?
deno 2.1.10 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
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?
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
Could you check if the same problem exists when manually installing the PKGBUILD file? (In a new folder)
Output attached.
could you check if there is an rust or tauri related environment variable in your system?
printenv does not list any keys or values containing "tauri" or "rust"
is your system uptodate?
please check with yay -Syu --devel
Some updates were available. Processing them now.
did it work?
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...could you check the PKGBUILD for the content of Line 36
deno task tauri build --ci -b deb -- --frozen
@ninjadev64 sorry for the ping. I know I asked you the last time, but do you have any ideas what we can try here?
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
@Terrorwolf
I'm out of time at the moment, but I'll definitely give that a shot and report back.
no problem. Hopefully we can fix this.