Skip to content
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

Flatpak does not auto-start minimized #2706

Open
gituser823 opened this issue May 3, 2024 · 3 comments
Open

Flatpak does not auto-start minimized #2706

gituser823 opened this issue May 3, 2024 · 3 comments
Labels
help wanted Needs a volunteer to investigate/implement the issue

Comments

@gituser823
Copy link

Describe the bug
I want copyq to start minimized in system tray.

To Reproduce
I found an older bug about this that said to:

  1. delete ~/.config/autostart/copyq.desktop
  2. run "copyq config autostart true"

I deleted the desktop file and then ran
flatpak run --command="bash" com.github.hluk.copyq
Inside I ran
/app/bin/copyq config autostart true

It said "true", but now it doesnt start at all anymore after a reboot.

Expected behavior
Copyq started in maximized mode before, I just want it to start minimized

Screenshots

Version, OS and Environment

CopyQ Clipboard Manager 8.0.0
Qt: 5.15.10
KNotifications: 5.115.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: KDE Flatpak runtime

  • OS
    LMDE 6
  • Desktop environment, window manager
    Cinnamon, X11
@gituser823 gituser823 added the bug label May 3, 2024
@hluk
Copy link
Owner

hluk commented May 6, 2024

Flatpak version of the app does not support the autostart option. This functionality should be provided by the desktop environment instead. See #2517.

@gituser823
Copy link
Author

Well, I have the autostart option already configured in my Desktop environment, that's how it was set up before.

But I can not tell it to start minimized, because there is no command line option I can set in the start command line parameters executed by the DE.

If you could add a command line option to start minimized, that works with the Flatpak version my issue would be solved.

@hluk hluk reopened this May 13, 2024
@hluk
Copy link
Owner

hluk commented May 13, 2024

Hmm, the app uses different desktop file when started explicitly from menu or launcher (it basically triggers copyq --start-server show) and when auto-started which is runs copyq without any arguments (which does not show the main window).

Not sure if I can define different desktop files (or commands) for the flatpak or handle it somehow in the app itself. 🤔

@hluk hluk added the help wanted Needs a volunteer to investigate/implement the issue label May 13, 2024
@hluk hluk changed the title flatpak copyq doesnt start minimized Flatpak does not auto-start minimized May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs a volunteer to investigate/implement the issue
Projects
None yet
Development

No branches or pull requests

2 participants