OpenDeck on Arch Linux

Hey Happy new Year, I saw that you provide a RPM and a DEP Package for OpenDeck. What are the Possible install methods for Arch Linux? In one Github Ise there has been stated that an appImage Version will be made. I didn't found it. BR Terrorwolf
459 Replies
ninjadev64
ninjadev6413mo ago
I don't have any experience with Arch what package format does it use, aside from AppImage? I will look into making an AppImage but my focus is currently on the rewrite
Terrorwolf
TerrorwolfOP13mo ago
It doesn't directly have a package format. But I think .pkg.tar.something
ninjadev64
ninjadev6413mo ago
i see i will make an appimage, but also keep in mind that the rewrite will be available this month at the latest
Terrorwolf
TerrorwolfOP13mo ago
.pkg.tar.zst Thanks. Also looking forward to the rewrite.
ninjadev64
ninjadev6412mo ago
just looked into it - Electron Forge doesn't actually support making AppImages without a third-party maker and I don't think that's really worth it for a piece of software that's about to be replaced - I can walk you through building it as a zip of the binary on your own system if you like
Terrorwolf
TerrorwolfOP12mo ago
I will look into it in the next few days. Right now its really late at my place. (About half past 4 a.m.) I will go to bed now. I will inform you If i need help (a walk through). Thanks so far.
tbmatuka
tbmatuka12mo ago
I'm also on arch and I just unpacked the package, moved the binary to /usr/local/bin/ and added the udev rules. Once the rewrite is done, I will set up an AUR package for it.
ninjadev64
ninjadev6412mo ago
that may not be necessary since I will be publishing it to Flatpak although I suppose some people might prefer the AUR
Terrorwolf
TerrorwolfOP12mo ago
Hi, I'm not directly a Fan of Flatpak if I can install it via another Way. It would be nice to have OpenDeck in the AUR.
ninjadev64
ninjadev6412mo ago
^
ΩмεցαЯοցυε
i can make an AUR package for it
ninjadev64
ninjadev6411mo ago
if tbmatuka doesn’t, feel free he’s mentioned he will, however
ΩмεցαЯοցυε
im already maintaining a few AUR packages, so shouldnt really be any trouble
tbmatuka
tbmatuka11mo ago
go for it, I can test it if you need I haven't made any packages in a while, so it would take me a bit to go through the documentation again
ΩмεցαЯοցυε
PKGBUILD is almost done https://aur.archlinux.org/packages/opendeck-git @tbmatuka i can add you as co-maintainer if you want
tbmatuka
tbmatuka11mo ago
indentation is a bit messed up 😄
ΩмεցαЯοցυε
doesnt look like it on my end
No description
ninjadev64
ninjadev6411mo ago
hmm, you might want to wait until the rewrite is more complete (e.g. system tray support, a way to actually exit, etc)
ΩмεցαЯοցυε
this just builds the latest git commit
tbmatuka
tbmatuka11mo ago
build failed for me: Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
ΩмεցαЯοցυε
where?
tbmatuka
tbmatuka11mo ago
it looks like we need to run svelte-kit sync before build it died during vite build
ΩмεցαЯοցυε
huh, i dont need to do that
tbmatuka
tbmatuka11mo ago
or npm check before npm build instead, it includes the sync
ΩмεցαЯοցυε
npm check? ah, npm run check weird thing is it works for me without a problem without that
tbmatuka
tbmatuka11mo ago
I'm guessing you ran it before, so the file existed
ΩмεցαЯοցυε
this is a clean build
tbmatuka
tbmatuka11mo ago
I'm updating everything, I haven't in a while I figured it out, I have nvm installed and the build was using an older version of node
tbmatuka
tbmatuka11mo ago
I also had to add options=('!lto') to PKGBUILD and install an appindicator library for the build to pass, now I still have to test the app 😄 it seems to work, but I don't have any plugins installed and I had to restart the app because refreshing devices didn't work
ΩмεցαЯοցυε
thats normal for the rewrite whats your AUR username? i can add you as co-maintainer so you can push those changes
tbmatuka
tbmatuka11mo ago
it's tbmatuka
ΩмεցαЯοցυε
youre co-maintainer now
tbmatuka
tbmatuka11mo ago
tnx
ninjadev64
ninjadev6411mo ago
refreshing devices doesn’t work? I mean it should only really be necessary if you plug it in after opendeck starts
ninjadev64
ninjadev6411mo ago
@ΩмεցαЯοցυε why is Node.js 6 a dependency for the package? It’s dinosaur years old and OpenDeck/Vite requires v18+ See also https://wiki.archlinux.org/title/node.js_
ninjadev64
ninjadev6411mo ago
you should use nodejs-lts-hydrogen alongside npm to get a newer node version instead of the bare minimum v6 required by npm
ΩмεցαЯοցυε
its not? its just listing aur packages that satisfy the dependency "npm" the current versions are in the normal repos
ninjadev64
ninjadev6411mo ago
No description
ninjadev64
ninjadev6411mo ago
depends on npm which depends on node, right? oh i see
ninjadev64
ninjadev6411mo ago
yeah, i got it
ΩмεցαЯοցυε
it requires any npm, and nodejs6-bin provides npm
Terrorwolf
TerrorwolfOP11mo ago
@ΩмεցαЯοցυε FYI: I just tried to install Opendeck-git from the AUR via yay. Got this Error: https://pastebin.com/P3Ep3i17 Building via git pull and cargo tauri build works.
Pastebin
Log Opendeck - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
ΩмεցαЯοցυε
@Terrorwolf try again
Terrorwolf
TerrorwolfOP11mo ago
seems like the same Error as far as I can tell.
ΩмεցαЯοցυε
what even are you up to date?
Terrorwolf
TerrorwolfOP11mo ago
yes. All uptodate.
Terrorwolf
TerrorwolfOP11mo ago
No description
ΩмεցαЯοցυε
what PKGBUILD does yay download?
Terrorwolf
TerrorwolfOP11mo ago
do you know where yay caches? Or should I just copy and paste the output while installing?
ΩмεցαЯοցυε
idk, i use paru which requires you to accept PKGBUILDS before allowing you to install them (which you should be doing anyways)
Terrorwolf
TerrorwolfOP11mo ago
I don't install anything from the AUR without checking the PKGBUILD. But only in the CLI
ΩмεցαЯοցυε
also iirc yay requires extra arguments to cleanbuild if you already have it installed
Terrorwolf
TerrorwolfOP11mo ago
yaeh. But I almost always choose cleanbuild
Terrorwolf
TerrorwolfOP11mo ago
thats my PKGBUILD yay uses
ΩмεցαЯοցυε
thats the new one weird that it doesnt work
ninjadev64
ninjadev6411mo ago
are hidapi and webkit2gtk really run-time dependencies? I thought they would both be makedepends entries
ΩмεցαЯοցυε
Probably not, i was trying those to hopefully have work
seffyroff
seffyroff10mo ago
Hey folks, I understand there's a rewrite in progress, and wanted to check in to align my expectations 🙂 I installed from the opendeck-git AUR which is showing as r44.4311b48-1 and the build runs, seems to detect my StreamDeck as it's listed in the device dropdown (original 15 key model) however it doesn't show a plugins button/menu. Just an empty grid and 2 dropdowns - one for device and one for profiles. Totally fine if this is due to it being WIP 🙂
ninjadev64
ninjadev6410mo ago
totally normal, you need to install plugins :) unzip them and put them in ~/.config/com.amansprojects.opendeck/plugins
seffyroff
seffyroff10mo ago
doh! presumably I completely skipped over that part of the docs. Sorry!
ninjadev64
ninjadev6410mo ago
there is no docs :)) at least not for the rewrite (AUR version is the rewrite)
seffyroff
seffyroff10mo ago
ok, any tips on how to download, say, this one? https://apps.elgato.com/plugins/com.elgato.cpu
seffyroff
seffyroff10mo ago
GitHub
Release CPU 1.2 · elgatosf/streamdeck-cpu
First public version of the CPU plugin for Stream Deck.
seffyroff
seffyroff10mo ago
yep that works! well, it appears in the app, and I can drag it onto the grid, and it appears on my device, but it's not doing any CPU readouts and there's no properties panel for it. I'll be patient 🙂
seffyroff
seffyroff10mo ago
I found this handy site that has links to downloads: https://streamdeck-plugins.com/
Stream Deck Plugins
Stream Deck Plugins
An unofficial repository featuring the best plugins for the Elgato Stream Deck
seffyroff
seffyroff10mo ago
maybe the CPU one doesn't work because there's a windows binary in there gonna try out the Open Hardware Monitor sensor, which appears to be javascript ah, the OHM util itself is windows only nvm
ninjadev64
ninjadev6410mo ago
I’ve written a script for downloading all of the plugins off the Elgato App Store, I just need to host it somewhere (some of them are too big for GitHub) CPU should “work” by just always showing 5%
CabCallaway
CabCallaway10mo ago
Hello, I got it installed as well but can't figure out how to download the Twitch plugins as I can't find them on github. Would it be possible to share that script, or the method you used? Oh, I found all the links in your repo from the other thread - thanks for uploading that!
ninjadev64
ninjadev646mo ago
available on a proper site now! https://plugins.amansprojects.com/ @seffyroff too if they are unneeded, please could you remove them? I’m marking this as solved since there are now both opendeck and opendeck-git packages on the AUR @ΩмεցαЯοցυε the opendeck package is 2 important releases out of date, please could you bump the version
ΩмεցαЯοցυε
done
ninjadev64
ninjadev645mo ago
the release candidate uses Deno instead of npm and Node so you will need to adapt to that
ΩмεցαЯοցυε
how do you do stuff with deno?
ninjadev64
ninjadev645mo ago
not sure what you mean?
ninjadev64
ninjadev645mo ago
Deno
Deno, the next-generation JavaScript runtime
Deno features improved security, performance, and developer experience compared to its predecessor. It's a great time to upgrade your Node.js project to run on Deno.
ΩмεցαЯοցυε
ive never used deno, i dont know what commands to use instead of the npm ones
ninjadev64
ninjadev645mo ago
you shouldn’t need to invoke any, just like you didn’t need to invoke any npm commands (apart from install maybe which you can just remove) because the tauri cli does everything
ΩмεցαЯοցυε
how do i install the dependencies then? ah, i got it
error: the following required arguments were not provided:
<file>...

Usage: deno cache --reload[=<CACHE_BLOCKLIST>...] <file>...
error: the following required arguments were not provided:
<file>...

Usage: deno cache --reload[=<CACHE_BLOCKLIST>...] <file>...
huh
ΩмεցαЯοցυε
the docs say this
No description
ninjadev64
ninjadev645mo ago
don’t need to, as I said, you can just remove that command as the first invocation of vite build will do it
ΩмεցαЯοցυε
the purpose of the command was to install and cache the dependencies in a non-standard location to keep the package build cache seperate from the normal cache because thats what the guidelines say to do and the equivalent of that is deno cache
ninjadev64
ninjadev645mo ago
I don’t think you need that, to be honest
ΩмεցαЯοցυε
if the guidelines say to do it, then thats what should be done
ninjadev64
ninjadev645mo ago
otherwise the DENO_DIR env var can be set to change the cache location which guidelines? the packages in the user’s Deno cache shouldn’t have been modified and so it should be fine…
ΩмεցαЯοցυε
the closest thing there is to deno packaging guidelines
ninjadev64
ninjadev645mo ago
Deno is very different to Node
ΩмεցαЯοցυε
its a javascript runtime
ninjadev64
ninjadev645mo ago
if you really want to avoid making a folder in the user’s home directory, just do this ^
ΩмεցαЯοցυε
as far as i understand it, dependencies should be downloaded during the prepare step according to the deno docs, this should be working
ninjadev64
ninjadev645mo ago
deno doesn't have an install command, at least not one that should be used outside of obscure circumstances, it just downloads deps when the program runs so much so, in fact, that pure deno programs specify dependencies in the import statement with npm: to signify npm or otherwise URLs to modules - as in, there is no package.json file
ΩмεցαЯοցυε
then how can i vendor the dependencies?
ninjadev64
ninjadev645mo ago
cargo tauri build will invoke deno task build, which evaluates to deno run -A npm:vite build, which should install all of the dependencies from package.json/deno.lock automatically I'm not sure if Deno has a standalone command to install deps, if that's what you're looking for additionally, it seems that cargo-tauri (a dependency of both the AUR packages) from the arch main repos is outdated at 1.5.11-2 - it's been flagged as outdated from what I can tell but it does prevent building OpenDeck unless you run cargo install tauri-cli manually to update it to 1.6.x @ΩмεցαЯοցυε I've found that DENO_DIR=deno_cache deno cache --node-modules-dir npm:vite downloads all of the JS dependencies of OpenDeck to node_modules as expected without creating any folders in the user's home directory, so you could use that in place of npm install in the prepare step
ΩмεցαЯοցυε
==> Starting build()... Error tauri.conf.json error on tauri > bundle: Additional properties are not allowed ('rpm' was unexpected)
ΩмεցαЯοցυε
huh, how is there no cargo-tauri-git package ah, for some reason its called tauri-cli on the AUR
ninjadev64
ninjadev645mo ago
2 other things:
ninjadev64
ninjadev645mo ago
No description
ninjadev64
ninjadev645mo ago
1. the indentation in prepare has been annoying me for a long time 2. could you update the description to the more concise "OpenDeck is a cross-platform desktop application that provides functionality for stream controller devices." I'm using everywhere now
ΩмεցαЯοցυε
ah, didnt notice the indentation because ive got tab width set to 4 spaces
ninjadev64
ninjadev645mo ago
think it was mentioned before as well haha ^
ΩмεցαЯοցυε
ok, new pkgbuild is building rn, everything seems to be going well
ninjadev64
ninjadev645mo ago
FYI, the udev subsystem rules are included automatically in the .DEB now, so you don't need to include them yourself
ΩмεցαЯοցυε
ok, everything is updated now
ninjadev64
ninjadev645mo ago
awesome! you don't seem to have removed the udev rules install -Dm644 -t "$pkgdir/etc/udev/rules.d" 50-elgato.rules is still there I would also change deno cache npm:vite to deno cache --node-modules-dir npm:vite just to be safe
ΩмεցαЯοցυε
ah, forgot to remove udev from the git version
ninjadev64
ninjadev645mo ago
yeah, sources still in there in -git, and in the normal version the install command is still there as well
ΩмεցαЯοցυε
ok, now it should be correct
ninjadev64
ninjadev645mo ago
thanks! the AUR packages are now mentioned in the README as well I must say Arch looks enticing should I leave openSUSE (Tumbleweed) for it? the AUR and wiki mainly my question is how does stuff from the AUR get uninstalled cleanly without leaving everything behind?
Percy_Ikana
Percy_Ikana5mo ago
I need to switch to proper arch instead of Manjaro, I just really don't want to re setup. I absolutely cannot get the current version of opendeck-git to build, it fails on tauri-cli due to an outdated time library. Does this work for anyone else? Editing the pkgbuild of tauri-cli fixed this. I know this is not an opendeck issue, im just curous if anyone else has build it straight from ther AUR
Life_404
Life_4045mo ago
I had to cargo install and Unistall tauri-cli to get it to build on my system
tbmatuka
tbmatuka5mo ago
@ninjadev64 I'm getting a "Failed to create store for profile" error, but I see that the dir and the json file were created. how can I debug this? nevermind, I removed the whole config dir and it works now
ninjadev64
ninjadev645mo ago
either your file corrupted, or you haven't updated in a long, long time
tbmatuka
tbmatuka5mo ago
the second one 🙂 do you have a recommendation on how to set up plugin development? is there an easy way to restart a plugin? also, the icon on my steamdeck mini is displayed upside down for some reason, can I fix that somewhere? It's in the correct position, but upside down
Percy_Ikana
Percy_Ikana5mo ago
Is this all icons for any buttons?
tbmatuka
tbmatuka5mo ago
what do you mean? the content of each key individually is upside down, including the text, but the top left icon in the UI is top left on the stream deck
Percy_Ikana
Percy_Ikana5mo ago
I was just asking if it was happening with all the bttons, yes
tbmatuka
tbmatuka5mo ago
I don't know how it would happen on just one of the buttons 😄
Percy_Ikana
Percy_Ikana5mo ago
because asking for clarification is always a good way to start. This appears to be an issue that can occur even on the offical software, does it only display upside down for Opendeck for you?
tbmatuka
tbmatuka5mo ago
I'm on linux now, so I can't test with the official software, but it never happened before, including with the old version of opendeck
Percy_Ikana
Percy_Ikana5mo ago
Try streamdeck-ui Just to verify that if it happens there as well or not.
tbmatuka
tbmatuka5mo ago
streamdeck-ui is not upside down
Percy_Ikana
Percy_Ikana5mo ago
@ninjadev64 can tell you better than I, but perhaps a setting in the menu to allow for icon rotation, like the elgato software has? Rendering is done in renderhelper.rs, which is called by key.svelte.
ninjadev64
ninjadev645mo ago
can we discuss this in #general or a new thread? this should be just arch-related
ΩмεցαЯοցυε
the aur build script is run to make a tar.zst package file, which is then installed like normal
ninjadev64
ninjadev645mo ago
ah makes sense @𝕵𝖎𝖒𝖂𝖔𝖑𝖋 is this what you're experiencing? ^^
𝕵𝖎𝖒𝖂𝖔𝖑𝖋
Yeah that comment helped, thanks man @ninjadev64
ninjadev64
ninjadev645mo ago
awesome, does it install now?
𝕵𝖎𝖒𝖂𝖔𝖑𝖋
yh it's installed ty
ninjadev64
ninjadev645mo ago
@ΩмεցαЯοցυε please do bump to 2.0.0-rc.1 (and change the license to MIT) when you have time, thanks 👍
ΩмεցαЯοցυε
ill do that once my power is on again
ninjadev64
ninjadev645mo ago
cool, thanks
ΩмεցαЯοցυε
done
ninjadev64
ninjadev645mo ago
👍
Percy_Ikana
Percy_Ikana4mo ago
yay -S opendeck-git
No description
Percy_Ikana
Percy_Ikana4mo ago
Ive seen chatter in general about arch issues so figured id share what I get trying to update. Im on pure arch now.
ninjadev64
ninjadev644mo ago
Copy-paste:
yeah, a released version of OpenDeck that uses Tauri v2 isn't out yet because Tauri v2 isn't out yet, but the latest few commits migrate the codebase to v2 so if you're using the opendeck-git package you might get that
@Dem @Fl1tch if you want to continue the discussion, here is the arch thread
Percy_Ikana
Percy_Ikana3mo ago
Not sure what's going on, updated to the most recent opendeck-git And this is what I get The buttons work, and profiles will switch, but it displays nothing. Brightness control works though. There are no logs that are out of order on either the consoole or log file.
No description
Terrorwolf
TerrorwolfOP3mo ago
Hi, Do you know which Package I need to install Opendeck on Arch Linux? Since Tauri-v2 now oficially is released now, I can reinstall it again after I bricked my Computer about a week ago.
ninjadev64
ninjadev643mo ago
Someone else reported this today. So nothing in the terminal or in the devtools console? Could you try the 2.1.0-beta release from around a week ago You probably need to install from source right now as the maintainer of the tauri-cli package hasn't updated and @ΩмεցαЯοցυε doesn't want to install tauri-cli in the OpenDeck build script (even though it would make sense because different projects require different versions)
Terrorwolf
TerrorwolfOP3mo ago
I just saw that https://aur.archlinux.org/packages/tauri-cli has been updated to Version 2.0.1. Would it work when I install this?
ninjadev64
ninjadev643mo ago
It may well do, try the opendeck-git package
Terrorwolf
TerrorwolfOP3mo ago
I will try it in a few minutes
Percy_Ikana
Percy_Ikana3mo ago
I will try the other version probably tomorrow morning when have access to my computer again.
Terrorwolf
TerrorwolfOP3mo ago
got this Error with the Git Version.
No description
ninjadev64
ninjadev643mo ago
yeah, build from source, outdated cli you could try cargo install tauri-cli and then install the git package again
Terrorwolf
TerrorwolfOP3mo ago
I found the Problem. Somehow I had tauri installed in Version 1.6. I don't know where it came from but I removed it and now it works. Maybe somehow with my Backup the old Version got on my PC.
Terrorwolf
TerrorwolfOP3mo ago
Another thing: When I start opendeck, my Streamdeck goes black (elgato Logo Vanishes) and in Opendeck its just a white Window.
No description
ninjadev64
ninjadev643mo ago
Nvidia GPU? Use WEBKIT_DISABLE_DMABUF_RENDERER=1 opendeck That will fix the white screen but not the stream deck, other people are having issues with the stream deck being blank in 2.1.0
Terrorwolf
TerrorwolfOP3mo ago
As you said, it woks for the Withe Problem but not that the Streamdeck is not showing anything. You you need anything to Debug the Problem?
Terrorwolf
TerrorwolfOP3mo ago
Also I think I found a bug. If Opendeck is to small to show everything, and Dark Mode is enabled and you scroll to the right, its there not in dark mode anymore.
No description
ninjadev64
ninjadev643mo ago
yeah normally you would resize the window but I haven't updated to the version with the fix for the Tauri but that means you can't do that
ΩмεցαЯοցυε
does installing tauri-cli using cargo affect the host system in any way?
ninjadev64
ninjadev643mo ago
It's presumably installed globally but it's the same as installing the tauri-cli package, just that you get to specify the version
Percy_Ikana
Percy_Ikana3mo ago
I only tested the app image for 2.1.0-beta and the screen updates as expected for completeness, the appimage of the current version is broken in the same way as the opendeck-git package.
ninjadev64
ninjadev643mo ago
Alright thanks @Percy_Ikana or someone else could you try the latest commit?
Percy_Ikana
Percy_Ikana3mo ago
I already did, its the same. no screen
ninjadev64
ninjadev643mo ago
you mean the "Revert dependency updates" one?
Percy_Ikana
Percy_Ikana3mo ago
I pulled opendeck git again, let me try pulling from source No change. pulled fresh from git and built.
ninjadev64
ninjadev643mo ago
annoying the only other thing it could be is the update to tauri v2-stable from v2-rc? nothing else happened in between 2.1.0-beta and 2.1.0...
ΩмεցαЯοցυε
if its global then thats a no for package the PKGBUILD is theoretically never run on the target system and should be treated as such and the contents of a pkgbuild should not interact with the host system outside package dependencies
ninjadev64
ninjadev643mo ago
the tauri-cli is not a runtime dependency and so it does not matter if it is not run on the target system it is a package dependency
ninjadev64
ninjadev643mo ago
Stack Overflow
How do I change where cargo install places binaries?
I am installing racer, rustfmt & rustsym cargo install racer cargo install rustfmt cargo install rustsym The packages are being installed in C:\Users<UserName>.cargo, but I want it t...
ΩмεցαЯοցυε
yep, the problem still is that the package builder system is affected package dependency as in dependencies contained in other packages that can be removed after building the package using the package manager
Terrorwolf
TerrorwolfOP3mo ago
isn't that a build dependency?
ΩмεցαЯοցυε
build dependencies in packages the requirement is that the PKGBUILD does not have sideeffects on the system
ninjadev64
ninjadev643mo ago
@ΩмεցαЯοցυε ^
Terrorwolf
TerrorwolfOP3mo ago
Just for my understanding, what side effects does the tauri-cli package from aur have?
ninjadev64
ninjadev643mo ago
It probably just runs cargo install tauri-cli
Percy_Ikana
Percy_Ikana3mo ago
Does this (the screen not drawing) seem to be an arch only issue? or are most the users just using arch?
ninjadev64
ninjadev643mo ago
I think most of the users are arch lol most of the vocal ones / ones on the latest version at least my used stream deck mini is arriving in a few days so this shouldn't happen again at least @Percy_Ikana My Stream Deck Mini has just arrived, exciting! Bad news: the screen works in 2.1.0 oh hold on i've got the beta Ok I can repro this, I'm going to try and fix it now It seems it was my fault Alright @Percy_Ikana and @Terrorwolf it's now fixed in 2.1.1
Percy_Ikana
Percy_Ikana3mo ago
I'll try it when I get back home What was the issue?
ninjadev64
ninjadev643mo ago
I was enforcing that the serial number should only be alphabetic to fix this guy’s issue but forgot about the dash
Percy_Ikana
Percy_Ikana3mo ago
Ah, that explains why it made a new profile folder without the dash. You said the mini was 40 pounds?
ninjadev64
ninjadev643mo ago
Yep
Terrorwolf
TerrorwolfOP3mo ago
thanks for the Update. But everytime I start Opendeck, four Windows open together with the Main Opendeck Window:
No description
Terrorwolf
TerrorwolfOP3mo ago
What is the Best way to automaticlly add this to the Start Argument of Opendeck so I don't have to start Opendeck from the Terminal? And is there an official service File for Systemctl?
ninjadev64
ninjadev643mo ago
you have Developer Mode on and HTML5 plugins installed no, but there is an autostart option in settings which complies with the freedesktop autostart spec I believe you can add the variable to /etc/environment or something
Percy_Ikana
Percy_Ikana3mo ago
I can verify functionality is restored.
ninjadev64
ninjadev643mo ago
Good news Arch users! Soon, the Tauri CLI will have in-built support (it has been merged but not released) for the newly-released Deno v2. This means the Cargo CLI will no longer be needed and the headache of building OpenDeck on Arch will be resolved. @ΩмεցαЯοցυε I've already pushed a commit that migrates the project to Deno v2 - you can edit the PKGBUILD to this:
...
makedepends=(git deno dpkg hidapi webkit2gtk libappindicator-gtk3)
...

prepare() {
Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

...
...
makedepends=(git deno dpkg hidapi webkit2gtk libappindicator-gtk3)
...

prepare() {
Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

...
You probably need to wait for Deno in the Arch repositories to be v2 first though. The latest commit sets up the project for using the CLI through Deno (when installed with the JS package manager like npm or Deno the Tauri CLI is per-project as it should be, only through cargo is it system-wide), which should fix the tauri-cli package nightmare! You probably have to wait for Deno to be updated to v2 in the Arch repositories though.
Terrorwolf
TerrorwolfOP3mo ago
Since this is a Arch Package and not an AUR Package it should be updated very fast. (Last Update 7. October 2024)
ninjadev64
ninjadev643mo ago
it still isn't unfortunately
maxidaxi1676
maxidaxi16763mo ago
Hello, I have a SteamDeck (as you know with ArchLinux and KDE Plasma) and would like to use the Steam Deck+ from Elgato. The AppImage runs directly, the device is recognized, I can configure it, the device accepts the config, only outside the application (e.g. in the editor) nothing happens when I press the configured buttons. I suspect it has something to do with the AppImage, could that be the case?
ninjadev64
ninjadev643mo ago
What actions are you trying to use?
maxidaxi1676
maxidaxi16763mo ago
It feels like it doesn't matter which action I insert. Specifically, I have inserted "Run Command" and "Input Simulation" and also tried alternative text. The deck also takes over the icon cleanly. In the application the keystroke of the deck is also displayed, only outside e.g. in a text editor in KDE nothing happens when I press the keys. Do I have to do anything else apart from running the application in the background?
Terrorwolf
TerrorwolfOP3mo ago
I just tried this keys also Yesterday and the both didn't work for me either. Didn't had time to debug it further.
ninjadev64
ninjadev643mo ago
The input simulation is quite unreliable, I would try run command with xdg-open https://example.com
Terrorwolf
TerrorwolfOP3mo ago
Forgot to Mention, I am using Gnome.
maxidaxi1676
maxidaxi16763mo ago
I will try it out tonight. My target requirement is to use the SteamDeck in simulators. In the first step in MS FS2020, later in ETS2 under Proton.
Terrorwolf
TerrorwolfOP3mo ago
Is there a reason why you use ETS2 via Proton?
maxidaxi1676
maxidaxi16763mo ago
The ETS2 runs well on the SteamDeck under Proton. I love my SteamDeck as a gaming device and don't currently have a high-performance gaming PC.
Terrorwolf
TerrorwolfOP3mo ago
Okay. I must say I didn't try ETS2 via Proton since the Native Linux Version is pretty solid and also supports all of my used mods. (Mainly ProMods and a few custom cargo Mods and Environment Mods) And also my Driving Wheel works pretty well in the Native Linux Version. In my Proton Games I have some difficulties with my wheel.
maxidaxi1676
maxidaxi16763mo ago
Oh, I didn't realize there was a native Linux version of ETS2 with mod support and wheel support 🙂 I have a GeForce Wheel G920 which I would like to get running on the SteamDeck. Do you think my wheel will run out of the box, or do I need a special driver package? Something is happening 🙂 After the configuration and a keystroke on the deck, the mouse pointer changes and shows me that it wants to open Chrome, although I have set Firefox as the default browser in KDE. However, Chrome does not open and after a few flashes of the mouse icon, everything is over. If I explicitly change the default browser from Firefox to Chrome, Chrome does not open either. But this will be a problem with KDE, which I will probably have to solve myself. The question remains which calls do I have to use to use it in games/applications (e.g. FS2020) or to start applications?
Percy_Ikana
Percy_Ikana3mo ago
I have never had the app image work correctly, I had to install from the AUR (opendeck.git) for that to work, I have not tried the flatpak. For opening apps, either gtk-launch <app with desktopfile> or just the command needed in the terminal, such as "Firefox" For commands like macros, I have been using run command along with xdotool, since I dont think text input acts as pressing the keys (but also have no experimented much)
Terrorwolf
TerrorwolfOP3mo ago
I have the a bit newer Version of this. I had to install udev rules (mine were on the aur) and used oversteer to test it at first. If you want/need help to set it up, i can help you with that if you want to.
EagleEye
EagleEye3mo ago
Can you tell me how to solve this errors: Error tauri.conf.json error: "identifier" is a required property Error tauri.conf.json error on build: Additional properties are not allowed ('devPath', 'distDir' were unexpected) Error tauri.conf.json error: Additional properties are not allowed ('package', 'tauri' were unexpected) The installation always fails at this point. Thank you 🙂
ninjadev64
ninjadev643mo ago
the tauri-cli is outdated on the aur so it doesn't work currently, and Deno is out of date in the Arch repositories as well so we can't use that either install tauri-cli manually and build from source
Terrorwolf
TerrorwolfOP3mo ago
tauri-cli is already on the new version and works. I myself used it to install opendeck the last time.
ninjadev64
ninjadev643mo ago
hmm, seems it is actually at 2.0.3, maybe they just need to reinstall tauri-cli
Terrorwolf
TerrorwolfOP3mo ago
I needed to remove the tauri i installed via cargo to make it work. I think I had the same problem
EagleEye
EagleEye3mo ago
So, actual it is just buildable from source via tauri-cli atm?
ninjadev64
ninjadev643mo ago
Should be just do a clean build
EagleEye
EagleEye3mo ago
Okay, perfect. Thanks!
ninjadev64
ninjadev643mo ago
Actually, you can use the opendeck-git package in the meantime
that green neko
that green neko3mo ago
this is what happens if i try to install the git version
No description
that green neko
that green neko3mo ago
i'm just using the flatpak version now
ninjadev64
ninjadev643mo ago
outdated Deno it seems, shame so OpenDeck on arch is currently in limbo until arch updates deno
that green neko
that green neko3mo ago
well arch is rolling release, so it's more like until Deno updates
ninjadev64
ninjadev643mo ago
not sure what you mean, Deno 2 has been out for more than a week but the Deno package in the Arch repositories (not AUR) isn't updated
that green neko
that green neko3mo ago
that's exactly it actually
ninjadev64
ninjadev643mo ago
yes I'm confused lol
that green neko
that green neko3mo ago
...yeah arch is a bit confusing anyway i've attempted to install it from the AUR but it hasn't worked... and nobody's commented on the deno-git AUR page in 2 years so i think you might be right about OpenDeck on Arch being in limbo... a
ninjadev64
ninjadev643mo ago
I drive openSUSE Tumbleweed, perfectly familiar with rolling release, I'm just confused about this conversation not arch
that green neko
that green neko3mo ago
oh oh i misread your message completely missed the "deno" at the end of this message lol
ninjadev64
ninjadev643mo ago
that would clear things up lol
that green neko
that green neko3mo ago
i can upgrade deno, but when i do that, opendeck-git still doesn't install
No description
that green neko
that green neko3mo ago
and when i try to build it from source with the upgraded deno, this happens
No description
ninjadev64
ninjadev643mo ago
@ΩмεցαЯοցυε copy-pasting from a GitHub issue
OpenDeck on Arch is currently in limbo, the git package won't work until Deno is updated in the Arch repositories, and the non-git package won't work as it's too old. You just have to wait for the AUR maintainer to update the non-git package to 2.1.1, which is not the latest but also not the newest (it uses the new tauri-cli which Arch has but not the new Deno which Arch doesn't).
Percy_Ikana
Percy_Ikana3mo ago
Last night opendeck just stopped working, any attempt to open a profile fails
No description
No description
Percy_Ikana
Percy_Ikana3mo ago
For some reason copying the files out, launching clean, and putting the originals back in helped, it displays again, although the parsing errors remain.
ninjadev64
ninjadev643mo ago
Oh hey sorry didn't see your messages If you open the files does anything look abnormal? I've had my profiles have a load of weird characters at the end of them before and they were unwritable Try copying the contents (not the file), deleting the file and then making a new file with those contents (while OpenDeck is closed)
Percy_Ikana
Percy_Ikana3mo ago
It looks like the file just ends suddenly,
Percy_Ikana
Percy_Ikana3mo ago
The other one that was an issue seems to have just nuked itself from orbit? but I imagine it was a similar issue, but I have no idea what could have caused it.
ninjadev64
ninjadev643mo ago
weird, if it happens again I'll implement something where it keeps 2 versions of every file
Percy_Ikana
Percy_Ikana3mo ago
I have made backups so that if it happens again I should have the "correct" and borked files to compare.
ninjadev64
ninjadev643mo ago
👍 btw, I think we should just use this for issues related to compiling on arch, other things should be in separate threads or #general ;)
Terrorwolf
TerrorwolfOP2mo ago
Do you know the command to verify the installed deno version?
ninjadev64
ninjadev642mo ago
should be deno -v
Terrorwolf
TerrorwolfOP2mo ago
I installed deno-init and the ran sudo deno upgrade. Could I run the newest version of Opendeck-git now or do I need to change something in the PKGBUILD?
No description
ninjadev64
ninjadev642mo ago
certainly do try it what is deno-init? do you mean this curl -fsSL https://deno.land/install.sh | sh?
Terrorwolf
TerrorwolfOP2mo ago
got this error:
No description
Terrorwolf
TerrorwolfOP2mo ago
https://aur.archlinux.org/packages/deno-init this is deno-init Do you have an Idea?
ninjadev64
ninjadev642mo ago
try a clean build?
Terrorwolf
TerrorwolfOP2mo ago
you mean uninstall and reinstall opendeck?
ninjadev64
ninjadev642mo ago
I think you can pass --rebuild to yay when updating opendeck no need to uninstall
Terrorwolf
TerrorwolfOP2mo ago
same error with --rebuild
ninjadev64
ninjadev642mo ago
maybe try uninstalling and reinstalling, it shouldn't delete your configs but back them up anyway or wait try making the changes to the PKGBUILD I sent in that GitHub issue
Terrorwolf
TerrorwolfOP2mo ago
to late. Is already reinstalling
ninjadev64
ninjadev642mo ago
oh lol
Terrorwolf
TerrorwolfOP2mo ago
will try that. New installing didn't work with same error
ninjadev64
ninjadev642mo ago
yeah those are probably necessary
ninjadev64
ninjadev642mo ago
GitHub
Deno 2.x is not available in the Arch repositories · Issue #28 · ni...
Hello! When we try to build opendeck on Arch using the AUR package we're catching failures because tauri.conf.json was built using version 1.6.x standards but the Arch version of tauri-cli is n...
ninjadev64
ninjadev642mo ago
send over the whole thing once you've modified it so I can take a look ignore the change in the makedepends to deno-git, you can keep that as deno or make it deno-init, don't make it git
Terrorwolf
TerrorwolfOP2mo ago
should i remove this?
No description
ninjadev64
ninjadev642mo ago
replace it with the Deno one that looks similar in the patch I sent
# ...
makedepends=(git deno dpkg hidapi webkit2gtk libappindicator-gtk3)
# ...

prepare() {
# Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
# Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

# ...
# ...
makedepends=(git deno dpkg hidapi webkit2gtk libappindicator-gtk3)
# ...

prepare() {
# Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
# Rust stuff...
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

# ...
the one at the bottom
Terrorwolf
TerrorwolfOP2mo ago
..# Maintainer: OmegaRogue <[email protected]>
pkgname=opendeck-git
pkgver=r99.4bbd9f3
pkgrel=1
pkgdesc="A cross-platform desktop application that provides functionality for stream controller devices."
arch=('x86_64')
url="https://github.com/ninjadev64/OpenDeck"
license=('MIT')
makedepends=(git deno tauri-cli dpkg hidapi webkit2gtk libappindicator-gtk3)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!lto')
source=(
"${pkgname%-git}::git+https://github.com/ninjadev64/OpenDeck"
)

sha256sums=('SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
cd ..
export DENO_DIR="${srcdir}/deno-cache"
deno cache npm:vite
deno install
}

build() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

package() {
cd "$srcdir/${pkgname%-git}"
dpkg-deb -R $(find . -type f -name "*.deb") $pkgdir
rm -rf $pkgdir/DEBIAN
}
..# Maintainer: OmegaRogue <[email protected]>
pkgname=opendeck-git
pkgver=r99.4bbd9f3
pkgrel=1
pkgdesc="A cross-platform desktop application that provides functionality for stream controller devices."
arch=('x86_64')
url="https://github.com/ninjadev64/OpenDeck"
license=('MIT')
makedepends=(git deno tauri-cli dpkg hidapi webkit2gtk libappindicator-gtk3)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!lto')
source=(
"${pkgname%-git}::git+https://github.com/ninjadev64/OpenDeck"
)

sha256sums=('SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
cd ..
export DENO_DIR="${srcdir}/deno-cache"
deno cache npm:vite
deno install
}

build() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

package() {
cd "$srcdir/${pkgname%-git}"
dpkg-deb -R $(find . -type f -name "*.deb") $pkgdir
rm -rf $pkgdir/DEBIAN
}
does this seem right? okay. same problem
ninjadev64
ninjadev642mo ago
no need for the deno cache npm:vite it's not in the patch I sent
Terrorwolf
TerrorwolfOP2mo ago
this was already in the pkgbuild. just added the lines deno install and deno task tauri build --ci -b deb -- --frozen
Terrorwolf
TerrorwolfOP2mo ago
No description
Terrorwolf
TerrorwolfOP2mo ago
this is the now working PKGBUILD:
pkgname=opendeck-git
pkgver=r134.e9ea53e
pkgrel=1
pkgdesc="A cross-platform desktop application that provides functionality for stream controller devices."
arch=('x86_64')
url="https://github.com/ninjadev64/OpenDeck"
license=('MIT')
makedepends=(git deno tauri-cli dpkg hidapi webkit2gtk libappindicator-gtk3)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!lto')
source=(
"${pkgname%-git}::git+https://github.com/ninjadev64/OpenDeck"
)

sha256sums=('SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
cd ..
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

package() {
cd "$srcdir/${pkgname%-git}"
dpkg-deb -R $(find . -type f -name "*.deb") $pkgdir
rm -rf $pkgdir/DEBIAN
}
pkgname=opendeck-git
pkgver=r134.e9ea53e
pkgrel=1
pkgdesc="A cross-platform desktop application that provides functionality for stream controller devices."
arch=('x86_64')
url="https://github.com/ninjadev64/OpenDeck"
license=('MIT')
makedepends=(git deno tauri-cli dpkg hidapi webkit2gtk libappindicator-gtk3)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!lto')
source=(
"${pkgname%-git}::git+https://github.com/ninjadev64/OpenDeck"
)

sha256sums=('SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
cd ..
export DENO_DIR="${srcdir}/deno-cache"
deno install
}

build() {
cd "$srcdir/${pkgname%-git}/src-tauri"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export DENO_DIR="${srcdir}/deno-cache"
deno task tauri build --ci -b deb -- --frozen
}

package() {
cd "$srcdir/${pkgname%-git}"
dpkg-deb -R $(find . -type f -name "*.deb") $pkgdir
rm -rf $pkgdir/DEBIAN
}
with deno-init package and then the deno update command. @ΩмεցαЯοցυε FYI
ninjadev64
ninjadev642mo ago
I don't think omegarogue would want to use deno-init because it doesn't update with the system
Terrorwolf
TerrorwolfOP2mo ago
would at least be an workaround worth of mentioning as a pinned comment I think.
ninjadev64
ninjadev642mo ago
@ΩмεցαЯοցυε the opendeck package is still on 2.0.0 and doesn't build, whereas 2.2.1 is out and 2.1.1 should build, please could you update it to 2.1.1 at least so it builds if you don't have time to fix 2.2.1
ΩмεցαЯοցυε
what steps are needed to get 2.2.1 to build? im getting "unsupported lockfile version 4" from deno with this, im getting
error: the following required arguments were not provided:
<cmd>...

Usage: deno install <cmd>...
error: the following required arguments were not provided:
<cmd>...

Usage: deno install <cmd>...
ninjadev64
ninjadev642mo ago
I gave the answer to that issue here first then here
Terrorwolf
TerrorwolfOP2mo ago
try deno init package and then deno upgrade
ninjadev64
ninjadev642mo ago
then here then partially here actually it was here first @ΩмεցαЯοցυε
ΩмεցαЯοցυε
would deno-git work aswell?
Terrorwolf
TerrorwolfOP2mo ago
deno git is broken in the moment
ΩмεցαЯοցυε
this is gonna be ugly then...
Terrorwolf
TerrorwolfOP2mo ago
maybe would a pinned commend with the workaround the way to go until deno or deno-git are working with the new version?
Terrorwolf
TerrorwolfOP2mo ago
yes. If you install deno-init you need to run deno upgrade afterwards
ΩмεցαЯοցυε
yes, im putting the workaround notice into the PKGBUILD to be shown when it fails
Terrorwolf
TerrorwolfOP2mo ago
and hopefulle one of the other two will be functional soon
ninjadev64
ninjadev642mo ago
you could also just update to 2.1.1 until the deno package is v2
Terrorwolf
TerrorwolfOP2mo ago
the normal way for "git" packages is to update to latest.
ΩмεցαЯοցυε
git packages automatically target the latest commit
ninjadev64
ninjadev642mo ago
I mean for opendeck
ΩмεցαЯοցυε
im just gonna get that up to latest aswell
ninjadev64
ninjadev642mo ago
you could also make a -bin package that builds from the .deb so we never have these issues again basically
ΩмεցαЯοցυε
ill do that too
Terrorwolf
TerrorwolfOP2mo ago
not everyone is a fan of -bin packages build from .deb files. so its not an allround solution
ΩмεցαЯοցυε
i mean, the -git and opendeck packages do the same tho the best would be to have CI also build a generic tarball of each version
ninjadev64
ninjadev642mo ago
"also"
ΩмεցαЯοցυε
should be updated now, ill make the bin package tomorrow
Terrorwolf
TerrorwolfOP2mo ago
I don't know how long it should take to update in the Web, but there is still the old Version of the PKGBUILD at the git version.
ninjadev64
ninjadev642mo ago
yeah
ΩмεցαЯοցυε
ah, might have forgotten to push that one then
Terrorwolf
TerrorwolfOP2mo ago
Yeah. Propaply. Now it looks good to me.
ninjadev64
ninjadev642mo ago
thanks @ΩмεցαЯοցυε hmm, it still seems outdated on the -git package to me also on the non-git one you still have tauri-cli as a dependency but it's no longer needed
Terrorwolf
TerrorwolfOP2mo ago
for me the pkgbuild has updated to the one posted by me above.
ΩмεցαЯοցυε
weird, i didnt do anything since yesterday
Terrorwolf
TerrorwolfOP2mo ago
as I see it is at both versions still the dependency. @ninjadev64 Is the cargo fetch command still necessary?
Terrorwolf
TerrorwolfOP2mo ago
yeah sry. got the wrong tab.
ninjadev64
ninjadev642mo ago
not “necessary” as such as it will be done automatically when the rust binary is built but separation of processes is good in packaging scripts
Terrorwolf
TerrorwolfOP2mo ago
ok so cargo is a dependency then?
ninjadev64
ninjadev642mo ago
rust/cargo is yeah
ΩмεցαЯοցυε
ok, should be all up now then
Terrorwolf
TerrorwolfOP2mo ago
now it seems up to date. both
ninjadev64
ninjadev642mo ago
awesome thanks
Percy_Ikana
Percy_Ikana2mo ago
ANyone else on arch had this issue? yay -S opendeck-git
No description
ninjadev64
ninjadev642mo ago
it would seem like you have an outdated PKGBUILD that error is caused by the deno cache npm:vite line with deno versions newer than 2.0 but idk how you would have both that line and a 2.0 deno
Percy_Ikana
Percy_Ikana2mo ago
thanks, I got it fixed Apparently evben telling yay to clear its cache wasnt enough, I had to hunt it down and delete it
Terrorwolf
TerrorwolfOP2mo ago
Same for me. I had to manually clear the opendeck-git folder from yay cache.
ΩмεցαЯοցυε
thats why i recommend paru
ninjadev64
ninjadev643w ago
@ΩмεցαЯοցυε Deno v2 has been available on the official Arch repositories for about a month now, please could you update the OpenDeck build scripts to use it instead of deno-init
Dem
Dem3w ago
I'm kinda shocked tauri v2 is still not available through arch repos
ninjadev64
ninjadev643w ago
Tauri isn't packaged for distros, it's a rust crate
Dem
Dem3w ago
But there is the cargo-tauri package 🤔
Terrorwolf
TerrorwolfOP3w ago
that installs cargo and then via cargo tauri
ninjadev64
ninjadev643w ago
That's just the Tauri CLI from cargo install Most projects use the JS wrapper for it and so does OpenDeck now But OpenDeck didn't before because it didn't use to support Deno
Dem
Dem3w ago
I see I see
Terrorwolf
TerrorwolfOP2w ago
@ΩмεցαЯοցυε I will post it here also so it doesn't get lost in #general . Could you add git submodule update --init in the Prepare Section of the opendeck-git PKGBUILD? Then it can be updated automaticlly again.
ninjadev64
ninjadev642w ago
@Dem I was wondering if you could ask OmegaRogue to be added as a co-maintainer to the package as they don't seem to be very responsive which leads to the packages often being broken and/or out-of-date
Dem
Dem2w ago
Tbh I've never maintained an aur package
ninjadev64
ninjadev642w ago
@Percy_Ikana or @Terrorwolf then?
Terrorwolf
TerrorwolfOP2w ago
That would be a possibility. At least for the git package. @ΩмεցαЯοցυε would that also be OK with you?
Percy_Ikana
Percy_Ikana2w ago
Lol I can learn IG. I assume the AUR installs are both broken ATM?
ninjadev64
ninjadev642w ago
@Percy_Ikana applying this should fix opendeck-git ^
Percy_Ikana
Percy_Ikana2w ago
Oh hey the appimage finally seems to work!
ninjadev64
ninjadev642w ago
nice! the problem was with urls and stuff before right?
Percy_Ikana
Percy_Ikana2w ago
My issue was the app image could not open anything with run command Okay it still fails on a couple things for some reason but W/E (NVM, these commands are actually borken now)
Terrorwolf
TerrorwolfOP2w ago
Unfortunatly we can't fix the Packages unless @ΩмεցαЯοցυε fixes them or adds another person to the Packages.
Dem
Dem2w ago
I installed from aur with no issues just two or three days ago - the non-git version
Terrorwolf
TerrorwolfOP2w ago
I only know for sure that the git version is broken.
ninjadev64
ninjadev642w ago
yeah non-git should be fine rn, just out-of-date, it's still on 2.2.1
Dem
Dem2w ago
2.3 wasn out when I installed anyway
tbmatuka
tbmatuka7d ago
I just updated opendeck-git, the build works for me, but I had to run rustup update first because it's been a while
Terrorwolf
TerrorwolfOP7d ago
Interrestung. On what commit are you on now? Just saw, the missing git command is now added to the pkgbuild since yesterday.
ninjadev64
ninjadev647d ago
non -git still at 2.2.1
Terrorwolf
TerrorwolfOP7d ago
I now have marked the non git version as old. Maybe thats why the git version was updated now. (Marked as old a few days ago by me.)
ninjadev64
ninjadev647d ago
I think tbmatuka updated the package There are changelogs and it says his name
Terrorwolf
TerrorwolfOP7d ago
seems like it
ninjadev64
ninjadev647d ago
Thanks @tbmatuka btw @ΩмεցαЯοցυε please could you also add Tim to the non-git Lol typo from "him" but Tim isn't wrong either
tbmatuka
tbmatuka7d ago
yeah, I got an email for the out-of-date flag 😄
Percy_Ikana
Percy_Ikana7d ago
updating has somehow broken opendecks ability to find my streamdeck at all
Terrorwolf
TerrorwolfOP7d ago
what streamdeck do you have? Normal or git version?
Percy_Ikana
Percy_Ikana7d ago
git I have an XL for the hardware
Terrorwolf
TerrorwolfOP7d ago
what commit are you on?
Percy_Ikana
Percy_Ikana7d ago
how do I check? ¯\_(ツ)_/¯ I just ran yay -S opendeck-git
Terrorwolf
TerrorwolfOP7d ago
in the settings page there is the commit version
Terrorwolf
TerrorwolfOP7d ago
In the brackets
No description
Percy_Ikana
Percy_Ikana7d ago
OpenDeck v2.3.1 (525c9ea) on x86_64-unknown-linux-gnu
Terrorwolf
TerrorwolfOP7d ago
ok. thats the same as mine. Need to ask, did you restart your pc after the update?
Percy_Ikana
Percy_Ikana7d ago
aye reinstalled the udev when restarting didnt fix it, as well
Terrorwolf
TerrorwolfOP7d ago
did you unpluck your device and replugin it in?=
Percy_Ikana
Percy_Ikana7d ago
yes, several times Both before and after a reboot.
Terrorwolf
TerrorwolfOP7d ago
is there something in the logs? an error or so?
Percy_Ikana
Percy_Ikana7d ago
no logs, nothing in the terminal
Percy_Ikana
Percy_Ikana7d ago
No description
Percy_Ikana
Percy_Ikana7d ago
logs folder is empty, other than a file with a size of 0
Terrorwolf
TerrorwolfOP7d ago
is your device deteced by linux?
Percy_Ikana
Percy_Ikana7d ago
an old version of opendeck. 2.0 detects it via the app image so, yes
Terrorwolf
TerrorwolfOP7d ago
does "lsusb" detect it?
Percy_Ikana
Percy_Ikana7d ago
yes
Terrorwolf
TerrorwolfOP7d ago
I trie to debug it, since I also have a XL and its working fine right now. Could you try to reinstall opendeck-git?
Percy_Ikana
Percy_Ikana7d ago
Okay, assuming yay -rS opendeck-git counts as a uninstall
Terrorwolf
TerrorwolfOP7d ago
yes it should
Percy_Ikana
Percy_Ikana7d ago
and yay -S is an install if I make it cleanbuild there is no change
Terrorwolf
TerrorwolfOP7d ago
please delete the cache folder of opendeck and try again
Percy_Ikana
Percy_Ikana7d ago
Yay's open deck cache or .cache/opendeck? Ill do both
Terrorwolf
TerrorwolfOP7d ago
.chach/yay/opendeck-git
Percy_Ikana
Percy_Ikana7d ago
no change Ill try rebooting again later I cant RN Okay also didnt help
Terrorwolf
TerrorwolfOP7d ago
so the choose a device dropdown is empty?
Percy_Ikana
Percy_Ikana7d ago
I dont have a choose device dropdown
Percy_Ikana
Percy_Ikana7d ago
\
No description
Terrorwolf
TerrorwolfOP7d ago
Could you try to stop opendeck and try to start it as sudo? thats interresting
Percy_Ikana
Percy_Ikana7d ago
I should have tried that first, my B sudo works
Terrorwolf
TerrorwolfOP7d ago
after sudo, does it work with normal permissions?
Percy_Ikana
Percy_Ikana7d ago
nope
Terrorwolf
TerrorwolfOP7d ago
ok. is there any weird permission in the config dir of opendeck?
Percy_Ikana
Percy_Ikana7d ago
nope
ninjadev64
ninjadev647d ago
This is strange I didn’t change much regarding Elgato devices, and my stream deck was recognised too last time I checked
Percy_Ikana
Percy_Ikana7d ago
The current app image gives me this
No description
Percy_Ikana
Percy_Ikana7d ago
But I dont konw whats going on with the AUR
Percy_Ikana
Percy_Ikana7d ago
No description
Terrorwolf
TerrorwolfOP7d ago
could you try to move the folder of the starterpack plugin and try again? (Backup everything please)
Percy_Ikana
Percy_Ikana7d ago
crap
Percy_Ikana
Percy_Ikana7d ago
It will work without Material Deck, but not with it
No description
Percy_Ikana
Percy_Ikana7d ago
so any ideas what could have broken between releases? or way I can help, since there are no logs being made
Terrorwolf
TerrorwolfOP7d ago
do you have the link to materialdek for me? Then I can try it with my setup.
Percy_Ikana
Percy_Ikana7d ago
GitHub
Releases · MaterialFoundry/MaterialDeck_SD
Contribute to MaterialFoundry/MaterialDeck_SD development by creating an account on GitHub.
Percy_Ikana
Percy_Ikana7d ago
its in the plugin store in opendeck, apparently
Terrorwolf
TerrorwolfOP7d ago
thanks. Which version do you use? Opendeckstore or github newest? (Or are they the same?)
Percy_Ikana
Percy_Ikana7d ago
I just tested both, they show the same behavior they are the same version, iirc
Terrorwolf
TerrorwolfOP7d ago
I have now installed it, restartet opendeck and its still working.
Percy_Ikana
Percy_Ikana7d ago
dang Well, okay then, It refuses to work if its there for me.
Terrorwolf
TerrorwolfOP7d ago
I am sorry that its not reproducible. Is there anything in the materialdeck log?
Percy_Ikana
Percy_Ikana7d ago
there are no logs for it let me try just wiping the whole folder Okay, cleaing the whole config/opendeck folder and reinstalling material deck, it finds the device, lets try bringing my profiles back okay, importing my profiles breaks it
Terrorwolf
TerrorwolfOP7d ago
if you open the profile, is there anything that seems odd?
Percy_Ikana
Percy_Ikana7d ago
I have 32 profiles Im looking through them now
Terrorwolf
TerrorwolfOP7d ago
oh.
Percy_Ikana
Percy_Ikana7d ago
I have hundreds of configured buttons lol
Terrorwolf
TerrorwolfOP7d ago
Other Question. Do you know if there is a way to change to a specific profile when I click a button?
Percy_Ikana
Percy_Ikana7d ago
there should be a change profile action
Terrorwolf
TerrorwolfOP7d ago
Thanks. Just tried that. If I specify a non existing Profile, it creates it then.
Percy_Ikana
Percy_Ikana7d ago
Yhea Thats my lazy way of making new proifiles crap, several profiles make it break ffs. Okay, I guess I will slowly rebuild the broken ones. I have no idea what changed, or why this is tied to having materual deck installed with profiles that did use it Okay, this is worse Taking a working profile, adding a materialdeck plugin to it, and then reloading, its broken like button
Terrorwolf
TerrorwolfOP7d ago
just tried it with adding a materialdeck button and restarting opendeck, still working at mine
Percy_Ikana
Percy_Ikana7d ago
Okay I give up then. I dont know whats broken and updating was a mistake lol. wait okay, this isnt consistant
Percy_Ikana
Percy_Ikana7d ago
here is my whole opendeck folder
Percy_Ikana
Percy_Ikana7d ago
Also i only have 22 profiles, sorry i though I had more lol I dont know what to do other than try to rebuild things, IG
ninjadev64
ninjadev646d ago
I think time is better spent going back commits to see where it broke instead of rebuilding everything You should also just try 2.3.0 first, it's highly likely that this is caused by one of the bug "fixes" in 2.3.1 Restore your backup before using 2.3.0 in case 2.3.1 broke things in your profiles I'm sorry about this
Percy_Ikana
Percy_Ikana6d ago
No worries, at worst, I have a lot of boring meetings. =)
ninjadev64
ninjadev646d ago
If I was at home I would ask you for your backup dir and test it myself
Percy_Ikana
Percy_Ikana6d ago
Yhea, I'll see what happens trying old versions when I have time tomorrow or something. If you want my directory later, I sent it above.
ninjadev64
ninjadev646d ago
I saw you sent it, but it looks like a 2.3.1 dir Because all the font size properties have changed themselves to numbers and not strings (by at home, I meant in London/UK/Europe even)
Percy_Ikana
Percy_Ikana6d ago
Huh, okay I'll look into what I actually sent later. For now, enjoy your vacation and the holidays! I won't be using my computer much for a while anyways. Your holiday and the holidays? At least I think y'all typically say holiday over there instead of vacation. Or I'm making things up.
ninjadev64
ninjadev646d ago
Yeah I don't hear vacation used much
Percy_Ikana
Percy_Ikana6d ago
Vacation or leave over here, based on if you are military adjacent or not. Do you hear y'all much or is that just an American Southerner thing? Not important really, have a good weekend!
ninjadev64
ninjadev646d ago
Y'all is definitely an Americanism I think once you send over your profiles I'll test them before every release, since yours seem like a good baseline for more powerful usage of the software Especially now that I'll hopefully be shipping something based on it with commercial hardware, it shouldn't keep breaking this implies that the 2.3.0 AppImage didn't have this issue? So it was introduced in 2.3.1? I guess you can use 2.3.0 in the meantime while we sort this out then (downgrade profiles first, 2.3.0 won't understand the numeric font sizes) Actually scratch that, seems like the numeric font sizes is from just before the release of 2.3.0, so it has it I have no idea why 2.3.1 wouldn't work while 2.3.0 does then, I can only see bug fixes and nowhere where this bug could have been introduced Please check to see if 2.3.0 really does actually work Afaict the numeric font size "fix" must be hanging up somewhere with material deck actions? Cause if loading a profile hangs up then the device won't register as they are all loaded during the device registration process But I can't figure out why on earth that would happen with material deck specifically, it doesn't even specify font sizes in the manifest, and it works for terrorwolf
Terrorwolf
TerrorwolfOP6d ago
@ninjadev64 i will try tomorrow the profiles of Percy_Ikana if his Profiles work at my Setup.
ninjadev64
ninjadev646d ago
Thanks I guess this is what happens when you've never developed software professionally and learnt to code on your own without any QA/QC or unit testing training Maybe I should learn how to write some unit tests
ninjadev64
ninjadev646d ago
Tauri
Tests
Techniques for testing inside and outside the Tauri runtime
Terrorwolf
TerrorwolfOP6d ago
Do I need to do anything after copying the config folder? (Except for changing the Profile name?)
ninjadev64
ninjadev646d ago
I think you might have to find and replace /home/percy/ with /home/jan/ in all the profiles
Terrorwolf
TerrorwolfOP6d ago
Ok
ninjadev64
ninjadev646d ago
I should get around to removing that at some point, like how I removed the profile name and device id from profiles Then profiles can be copied around everywhere, for example across dual boots in a shared partition and stuff
Percy_Ikana
Percy_Ikana6d ago
the app image that worked was apparently 2.0.0 lol, ill try other releases soon
Percy_Ikana
Percy_Ikana6d ago
Okay, 2.0 works, 2.1 works, anything newer wont even load properly, for the app image Im on arch, KDE, up to date, and have an AMD GPU
No description
Terrorwolf
TerrorwolfOP6d ago
could you send us a list with ports your pc is listening to?
Percy_Ikana
Percy_Ikana6d ago
if you remind me how to show that =)
Terrorwolf
TerrorwolfOP6d ago
I mostly use this. If it doesn't work i have a few others you can try. No need to install something extra. sudo netstat -tulpn | grep LISTEN
Percy_Ikana
Percy_Ikana6d ago
No description
Percy_Ikana
Percy_Ikana6d ago
Open deck is not currently open
No description
Percy_Ikana
Percy_Ikana6d ago
With a non-working 2.21 app image
No description
Percy_Ikana
Percy_Ikana6d ago
its the same with a working AUR install of 2.2.1 from opendeck
Terrorwolf
TerrorwolfOP6d ago
ok. the same ports as mine. Let me pull the newest app image and try it. I have more or less bad news for you, its working on my pc. Also Arch, Gnome, up-to-date, NVIDIA GPU -> Set environment Variable
Percy_Ikana
Percy_Ikana6d ago
Gah lol. the AUR version works, as in loads, so lets just focus on that, there should not be any funcitonal difference between versions IG.
Terrorwolf
TerrorwolfOP6d ago
If you want, I can spin up a manjaro VM with KDE today or tomorrow and try it there.
Percy_Ikana
Percy_Ikana6d ago
I will leave that up to you, Im not going to impose on more time than you want to spend.
Terrorwolf
TerrorwolfOP6d ago
I do it if you want.
Percy_Ikana
Percy_Ikana6d ago
Endevour OS is what I am actually running, so that would be the VM you want
Terrorwolf
TerrorwolfOP6d ago
I either setup a windows VM (need it to modify an streamdeckplugin) or setup a linux vm to test opendeck.
Percy_Ikana
Percy_Ikana6d ago
can you have opendeck and opendeck git both installed?
Terrorwolf
TerrorwolfOP6d ago
i don't know that, but I think it won't work.
Percy_Ikana
Percy_Ikana6d ago
I dont think it willl either since they are the same destination
Terrorwolf
TerrorwolfOP6d ago
i will try it. always wanted to try endevouros
Percy_Ikana
Percy_Ikana6d ago
So far I have liked it, I also have found KDE runs games better than Gnome but I havent tested that a ton nor do I actually play many games
Terrorwolf
TerrorwolfOP6d ago
I'm not a fan of the looks of KDE. Thats why I am on gnome
Percy_Ikana
Percy_Ikana6d ago
I like how both look ffs the zipped prfile folder is barely too large for discord
Terrorwolf
TerrorwolfOP6d ago
prfile?
Percy_Ikana
Percy_Ikana6d ago
profile Assume I just cant type and dont proofread Becasue both are true
Percy_Ikana
Percy_Ikana6d ago
Okay, there is a mostly working 2.2.1 set of profiles
Percy_Ikana
Percy_Ikana6d ago
Some of them are corrupt, but W/E they mostly work
No description
Percy_Ikana
Percy_Ikana6d ago
Okay, I am now upgrading to opendeck-git
Terrorwolf
TerrorwolfOP6d ago
did you have the non git version installed?
Percy_Ikana
Percy_Ikana6d ago
Yes, for this test
Terrorwolf
TerrorwolfOP6d ago
ok. please try git version
Percy_Ikana
Percy_Ikana6d ago
Its building now
Percy_Ikana
Percy_Ikana6d ago
Okay, here is the result of running it
No description
No description
Percy_Ikana
Percy_Ikana6d ago
here is the resulting profile folder
Percy_Ikana
Percy_Ikana6d ago
okay the display cant load on the only version of 2.3.0 i have easy access to, but here the profile folder when it runs
Percy_Ikana
Percy_Ikana6d ago
Okay im building 2.3.0 from source OKay i tfailed and im out of time to mess with this any more today If yall need anything else, let me now and ill try when I have time
Terrorwolf
TerrorwolfOP6d ago
I will try tomorrow to setup a vm and try it. did you upload a working profile?
Percy_Ikana
Percy_Ikana6d ago
I feel the need to point out that professional software engineering is also a disaster, so I have 0 blame for something falling through, lol. this one I hesitate to call myself a real power user, I have a lot of profiles, but I only use two plugins, and one is the starter pack.
Terrorwolf
TerrorwolfOP6d ago
Actually Opendeck seems better than some professionals.
Percy_Ikana
Percy_Ikana6d ago
I agree with Terrorwolf, I've seen some really, really bad code from contractors that were paid tens of millions
ninjadev64
ninjadev646d ago
So this is what I've understood: - 2.whatever you were on before works - 2.2.1 from AUR is working fine - 2.3.0 AppImage is blank (could you try the steps in #25?) - 2.3.1/-git device does not register
Terrorwolf
TerrorwolfOP6d ago
thats also what I understood. Tomorrow I will try to setup a system similar to percys. to rule out its something with his distro
ninjadev64
ninjadev646d ago
If I recall correctly, you also tried the -git version somewhere between 2.2.1 and 2.3.0, so we can rule out some of the commits Yeah, it's here: https://discord.com/channels/1143819637897834571/1143819638732505130/1306023316959789117 Seems 13860cd and below are safe, bug introduced somewhere later than that I'm going to move some of this discussion to another thread, it is not Arch related
Terrorwolf
TerrorwolfOP6d ago
I almost tried all commits in between
ninjadev64
ninjadev6422h ago
@tbmatuka maybe you could look into adopting the opendeck package?

Did you find this page helpful?