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

streamdeck -n still launches the full UI in Fedora 37 #279

Closed tdcam closed 1 year ago

tdcam commented 1 year ago

Describe the bug I have reinstalled streamdeck-ui, and added a startup command to launch streamdeck without the UI. I added /home/thomas.cameron/.local/bin/streamdeck -n to my session and startup tool under Xfce.

When I log in, it launches the full UI. I'd like it to only launch the app so that it's minimized in the tool bar.

To Reproduce Steps to reproduce the behavior:

  1. Install streamdeck-ui
  2. launch streamdeck -n from the command line or from autostart
  3. The full UI is launched
  4. I expect the UI to NOT be launched

Expected behavior Launch streamdeck-ui without the configuration UI, just minimized to the system tray.

Screenshots Screenshot_2022-11-29_10-06-19

Operating system (please complete the following information)

Stream Deck Version

Data-007 commented 1 year ago

Hi If memory servers streamdeck command should be on your path So try making small script or alter your command to "streamdeck -n" minus the "".

A simple test quit streamdeck from the tray. Launch cli type streamdeck -n and press enter.

If that works just alter your script/program kickoff.

HIH if you have further problems or need a script Ile post mine.

-- Steve

Data-007 commented 1 year ago

!/usr/bin/zsh

PATH=$PATH:$HOME/.local/bin python ~/.local/bin/streamdeck -n

Data-007 commented 1 year ago

Hi Just been trying to recreate your issue, and I failed to install fedora. Ive ended up with Gnome I think, how anyone can use deal with that I don't know. Sorry, I can't do it. IT being recreated the problem.

-- Steve

tdcam commented 1 year ago

Thanks, Steve. I created a script called streamdeck.local and added it to my Xfce startup. The contents of the script are exactly what you posted, above. Same issue. When I log in, the Streamdeck UI is open as in this picture: Screenshot_2022-12-05_09-19-25

This is really odd. I should note that this machine has been upgraded from Fedora 33 through Fedora 37, but I've never had such issues before.

I'l spin up a new VM with F37 and see if I can replicate it.

xvelasqu commented 1 year ago

Same situation here with Fedora 37, Gnome, X.org

andersonid commented 1 year ago

Same here. Fedora 37, gnome, X11. I cant install pyside2, and shiboken2 versions 5.15. PIP only installs 5.13... Maybe something related to it.

dodgyrabbit commented 1 year ago

@tdcam and others - from the screenshot I can tell that you have an old version installed which does not support the -n option. The solution is to get to the latest version 2.0.13.

Have a look here: https://timothycrosley.github.io/streamdeck-ui/docs/installation/fedora/

tdcam commented 1 year ago

For what it's worth, I re-ran setup a couple of different times and never got it to work. So instead, what I did was to run:

pip uninstall streamdeck-ui hidapi pillow pynput pyside2 streamdeck evdev shiboken2

That uninstalled all the stuff under ~/.local, and then I was able to re-run

python -m pip install streamdeck-ui --user

Now, it's working as expected. I can pass the -n argument to streamdeck and it pops up in my system tray as expected, without having to close the window.

Thanks for the pointer!