-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deckmaster #9
Comments
Hey @rastarr I'm glad these could be helpful for you. I really don't heavily use the stream deck. I did some testing and removed some lines from my config that are not working under Wayland at the moment and causing a lot of logs. You can see the changes 0302fb2 after applying these changes it seem to work better for me. Let me know if that helps if not i would be happy to help you out some more. |
So your exec commands actually work then? Here's my config. I'm new to nix and this deckmaster repo so maybe something jumps out at you why my system isn't functioning as it should. Grepping the journalctl logs also give the following errors -
My config currently- { config, pkgs, ... }:
{
config = {
home-manager.users.martin = { config, ... }: {
home.file."${config.xdg.configHome}/deckmaster" = {
source = ./files;
recursive = true;
onChange = "${pkgs.systemd}/bin/systemctl --user restart deckmaster.service";
};
home.packages = [
pkgs.deckmaster
pkgs.wl-clipboard
];
systemd.user = {
paths = {
deckmaster = {
Unit.Description = "Stream Deck Device Path";
Path = {
PathExists = "/dev/streamdeck-xl"; #look in /dev for the proper device name
Unit = "deckmaster.service";
};
Install.WantedBy = [ "default.target" ];
};
};
services = {
deckmaster = {
Unit.Description = "Deckmaster Service";
Service = {
ExecStartPre = "${pkgs.coreutils}/bin/sleep 10";
ExecStart = "${pkgs.deckmaster}/bin/deckmaster --deck ${config.xdg.configHome}/deckmaster/replies.deck";
Restart = "on-failure";
ExecReload = "kill -HUP $MAINPID";
};
};
};
};
};
};
} As I said previously the deckmaster service loads and i'm able to switch between decks, with these issues-
|
The logged errors You can see my config for that here https://github.com/BCNelson/nix-config/blob/de55daeed23f25e7a91ab88e77765a255f6a9d18/nixos/_mixins/hardware/streamdeck.nix I have update main to include the necessary config in the streamdeck nixos config. |
yep - i'd already made the udev changes, to no affect. What I'd really like to know is if the 'paste', 'exec' and 'command' functions of Deckmaster are actually working with your installation. |
Could you share the udev changes that you made? Yes I can confirm that exec and paste are working for me. |
sure _:
{
services.udev = {
enable = true;
extraRules = ''
# Deckmaster needs write access to uinput to simulate keypresses.
# Users wanting to use Deckmaster should be added to the input group.
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0063", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck-mini"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0090", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck-mini"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0060", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="006d", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0080", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="006c", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck-xl"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="008f", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck-xl"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0086", TAG+="uaccess", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck-pedal"
'';
};
} |
Have you rebooted after making these changes? |
rebooted many times lol I've switched to autostarting the command line with parameters in my sway config and that will be good enough until I find time about the service stuff. I can only thank you for taking the time in trying to help. very much appreciated indeed Only been using nixos for a little over a week, coming from many years with macOS, so there's a number of things I'm looking at. Need to get my Davinci Resolve working next haha Thanks again |
Hi and thank you for sharing your repo - especially Deckmaster for Streamdeck
I'm running Sway and Wayland and using the bones of your home-manager deckmaster files.
Is this working for you currently?
While the deckmaster service loads and i'm able to switch between decks, I do have a few issues-
Is this happening with your config or do you have any insights that might help me get going?
Thanks for any thoughts
The text was updated successfully, but these errors were encountered: