-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Gabisonfire/0.3
0.3
- Loading branch information
Showing
9 changed files
with
96 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
# Deckster | ||
### A service to manage your Streamdeck easily on Linux | ||
### A service to manage your Stream Deck easily on Linux | ||
--- | ||
|
||
## Documentation | ||
|
||
[Online](https://deckster-sd.readthedocs.io/en/latest/) | ||
|
||
Offline: | ||
```bash | ||
pip install mkdocs | ||
mkdocs serve | ||
``` | ||
Then navigate to http://localhost:8000 | ||
[Online Documentation](https://deckster-sd.readthedocs.io/en/latest/) | ||
|
||
## Quickstart | ||
``` | ||
pip install deckster-sd | ||
``` | ||
The install process will create a default `config.json` to your /`home`/`.config`/`deckster` folder. Then just run `deckster`. | ||
The install process will create a default `config.json` to your /`~/`/`.config`/`deckster` folder. Then just run `deckster`. | ||
|
||
Install dependencies and add permissions: | ||
```bash | ||
# Install system packages needed for the default LibUSB HIDAPI backend | ||
sudo apt install -y libudev-dev libusb-1.0-0-dev libhidapi-libusb0 | ||
|
||
# Install system packages needed for the Python Pillow package installation | ||
sudo apt install -y libjpeg-dev zlib1g-dev libopenjp2-7 libtiff5 | ||
|
||
# Add udev rule to allow all users non-root access to Elgato StreamDeck devices: | ||
sudo tee /etc/udev/rules.d/10-streamdeck.rules << EOF | ||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", GROUP="users", TAG+="uaccess" | ||
EOF | ||
# Reload udev rules to ensure the new permissions take effect | ||
sudo udevadm control --reload-rules | ||
``` | ||
# Service | ||
You can have deckster run as a service by using the service file template in the repository. Replace "myusername" with your linux user and then run: | ||
You can have deckster run as a service by using the service file template in the repository. | ||
```bash | ||
sudo cp deckster.service /etc/systemd/system/ | ||
sudo systemctl daemon-reload | ||
sudo systemctl start deckster | ||
mkdir -p $HOME/.local/share/systemd/user | ||
cp deckster.service $HOME/.local/share/systemd/user | ||
systemctl --user daemon-reload | ||
systemctl --user enable | ||
systemctl --user start deckster | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.2.0" | ||
__version__ = "0.3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters