OpenDeck on Arch Linux
Discussions related to the packaging and installation of OpenDeck on Arch Linux
164 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/@tauri-apps+cli@2.2.7/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.
@Terrorwolf
After some more digging I found this tauri issue https://github.com/tauri-apps/tauri/issues/12467 . I then searched for and found a ".gitignore" in my users home directory. It was apparently created as part of a python .venv . It only contained one line with " * " . After renaming the file .gitignore.bak, I was able to install with yay.
GitHub
[bug] On initialization on Arch: Couldn't recognize the current fol...
Describe the bug During initialization, whether I'm using bun or pnpm I get the error that it cannot find tauri config file despite having it in src-tauri directory. It has freshly arch require...
Thanks for the information. Do you habe any clues which programm created this .gitignore and or where it exactly was (path)?
It was located at "/home/username/.gitignore". I don't have that folder initialized under git. I'm not sure what program created it. It just had a comment on the first line stating that it was part of a ".venv".
Ok. Thanks for that info. I also saw the same github link but haven't though it could be a gitignore in the user directory.
Interesting
btw @Terrorwolf for the next time you update the pkgbuild (dont worry about doing it now) please could you change the wine message to "Needed to support Windows-only plugins", just a small grammatical fix
Will do. Thanks for pointing it out
also in the -git package, the libappindicator-gtk3 and webkit2gtk are still listed as makedepends, whereas in non-git they are normal depends (and also non-git uses webkit2gtk-4.1 instead of webkit2gtk) (and also the github username but you know about that)
I am aware about both but didn't want to push an update until neccessary.
of course, and thanks for maintaining the packages
no worries, since I also use Opendeck, its the least I can do
I like the AUR a lot actually, I wish it was on other distros
especially the fact that it builds from source
but also the fact that almost every software is on it
depending on the package yes
yea ofc not -bin packages / proprietary software
even some windows software installed with special wine config is on there
its one of the reasons I use EArch as my main distro.
yea, on other distros you often have to settle for some .tar.gz or some AppImage because they don't have a package, or even if they have a package it's just a file and not a repo so you have to update manually
and a lot of distros ship outdated versions of the programms with the build in package manager
there is this for openSUSE: https://github.com/openSUSE/opi
I always forget it exists, but it's pretty good, I'd say about 65% as good as the AUR
btw, today I found out that there is a mirror of the AUR on github
oh?
GitHub
GitHub - archlinux/aur at opendeck
⚠️⚠️Experimental aur.git mirror⚠️⚠️ (read-only mirror) - GitHub - archlinux/aur at opendeck
https://github.com/archlinux/aur ?
they should have made it an organisation with a repo for each package
like flathub does for example
I think that would be too complicated for just a mirror of a selfhosted git.
but what is the point of this then?
the point is, if the AUR is down like a few times the last two days you have still READ access to the PKGBUILD Files and other neccessary files stored in the AUR
and as backup
ah ok
and the thing with the branches is pretty godd, since you can only download the branch of the software you need with only switching the branchname for the package name
i just suggested as an org, because then you can discover packages, star them, and potentially even push to them one day as they could give maintainers permissions to individual repos
Reddit
ShalokShalom's comment on "AUR is down"
Explore this conversation and more from the archlinux community
Its only considered an RO Mirror since it should be used over the actual AUr.
oh yea, I remember when Manjaro brought the AUR down twice
yep
if I ever reinstall my PC, it will be to arch or cachy or something
i went with tumbleweed and not arch because back then I only knew the 'arch is for advanced users', 'arch doesn't even have a gui installer', 'arch is unstable' but I didn't know about the derivatives and also the number of people on here using Arch showed me it wasn't unstable
yeah, I get what you mean.
it seems everyone says cachy is not worth it over endeavour
does that sound right?
they say that 1-2% performance improvement is not enough to justify the bugs and the deviation from arch
so maybe endeavour is better
I haven't looked at cachy much yet.
I had the sense to use a separate /home partition in case i switched distro so maybe I'll install endeavour in the next few days
especially as the AUR + flatpak user installs should help me get back all my software quickly
Just read a few things about cachy:
One thing that would be something for me against cachy is that they don't use the arch repos but their own.
https://www.reddit.com/r/EndeavourOS/comments/1eh6m9d/endeavouros_vs_cachyos_the_good_the_bad_the_ugly/
Reddit
From the EndeavourOS community on Reddit
Explore this post and more from the EndeavourOS community
yeah that's what I meant by 'deviation from arch'
I would stay on endeavourOS. When I will reinstall my PC I will use endeavour as of right now.
It's going!

I took this opportunity to switch to btrfs for /, so I can create and boot from snapshots
Hello from Endeavour!
Flatpak is so useful, I didn't have to install any of my apps again
OpenDeck is installed (the first actual use of the script, probably!)
easiest Linux install I've ever done, thanks to keeping the same /home and also thanks to Flatpak
Arch/Endeavour seems good so far, packages for everything I need so far have been in
extra
Steam's installed and found all my games
@ΩмεցαЯοցυε if you could make Terrorwolf the maintainer instead of co-maintainer of opendeck-git
on the AUR, it would be appreciated, thanksHi, I'm trying to install OpenDeck from AUR and it's throwing the following error. Both opendeck and opendeck-git. Has anyone been able to install it?

@Roberto Lorite could ypu try deleting your temp folder for the AuR Helper you are using manually and retry?
Do you mean the paru cache folder?
I did that and even tried to install the package by directly cloning the PKGBUILD from https://aur.archlinux.org/opendeck.git and running
makepkg -si
.
I've flushed my ~/.local/share/cargo/registry/src/index.crates.io-XXXXX
and that error has gone. I've yet installed the application.