timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.12k stars 240 forks source link

Double installation of Streamdeck? #307

Open oparada1988 opened 1 year ago

oparada1988 commented 1 year ago

The best way to describe it is that I might have a "double" installation of streamdeck. When i login to my session at a fresh boot I have streadeck 2.0.15 with the old UI, and very large cursor. When I close this then the normal, or preferred installation loads immedietly. Please see attached video

A clear and concise description of what the bug is: Im not really sure tbh

To Reproduce set streamdeck to load on start up make sure streamdeck is set in systemctl close streamdeck

Expected behavior Preferred installation to load with dark ui etc

Screenshots

https://user-images.githubusercontent.com/4031078/224548771-a9080b0f-22b7-4589-a738-5c8a6ae3ac83.mp4

Operating system (please complete the following information)

Stream Deck Version -XL

dodgyrabbit commented 1 year ago

FYI the entry you see for streamdeck 0.9.3 is for the library called streamdeck, that streamdeck_ui uses. This is normal and expected.

image

Was a bit hard to see in the video (but very useful, thanks), it appears that in both instances it launches the latest, 2.0.15, which is correct. So I think in light of the library and versions, you're definitely do not have a double install.

The one difference is the way "it looks". The first instance does not appear to honor the light/dark theme, the second does. I think this may depend on how you have configured streamdeck_ui to launch. Did you use the systemd approach or are you doing something else? My guess is that it could be initializing the streamdeck_ui software before your desktop software is fully ready or something. That was why the second time when you launch it from the shell, it picks up the correct theme from your desktop environment.

oparada1988 commented 1 year ago

Hi,

Doing further testing yes it appears this happens when using the systemd approach:

Screenshot from 2023-03-12 10-01-57

But when I disable the systemd and just add it to the session startup this does not occur:

Screenshot from 2023-03-12 10-03-36

so yes, your guess _"My guess is that it could be initializing the streamdeckui software before your desktop software is fully ready or something. That was why the second time when you launch it from the shell, it picks up the correct theme from your desktop environment." is accurate

dodgyrabbit commented 1 year ago

You could try adding the following 2 lines to your unit section of $HOME/.local/share/systemd/user/streamdeck.service

[Unit]
Description=A Linux compatible UI for the Elgato Stream Deck.
Wants=graphical.target
After=graphical.target

In theory, this should make the streamdeck service wait until your desktop environment is started.

After saving the file, restart your system. Let us know if this works. I can update the docs if it does. Thanks!

oparada1988 commented 1 year ago

You could try adding the following 2 lines to your unit section of $HOME/.local/share/systemd/user/streamdeck.service

[Unit]
Description=A Linux compatible UI for the Elgato Stream Deck.
Wants=graphical.target
After=graphical.target

In theory, this should make the streamdeck service wait until your desktop environment is started.

After saving the file, restart your system. Let us know if this works. I can update the docs if it does. Thanks!

I added the additional lines per your instructions but it made no difference :-(. Its probably not a big deal, and might be my OCD that i want everything to match, and look uniformed lol

coolapso commented 1 year ago

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.

if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui