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

[Guide] Using Flatpak version of CopyQ #33

Open
zoenglinghou opened this issue Mar 7, 2022 · 2 comments
Open

[Guide] Using Flatpak version of CopyQ #33

zoenglinghou opened this issue Mar 7, 2022 · 2 comments

Comments

@zoenglinghou
Copy link

I use the Flatpak version of CopyQ, and to make it work with the extension, I wrote the following shell script named copyq and put it in my PATH:

#!/bin/bash
flatpak run com.github.hluk.copyq "$@"

Since copyq command is not directly available as a CLI command, we need such a wrapper.

@carmen-gh
Copy link

carmen-gh commented May 20, 2024

does not work for me

Gtk-Message: 11:33:52.912: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:33:52.912: Failed to load module "pk-gtk-module"
Gtk-Message: 11:33:52.912: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:33:52.912: Failed to load module "pk-gtk-module"
Warning: [qt.qpa.qgnomeplatform] QtWarning: Could not find color scheme ""
Warning: [default] QtWarning: Qt: Session management error: Could not open network socket

If I start it from Gnome Application starter, it copyq starts, but the integration does not work with Ulauncher

@hedgieinsocks
Copy link

@carmen-gh Most likely you are on wayland, try this:

❯ cat /usr/local/bin/copyq
#!/usr/bin/env sh
flatpak run --env=QT_QPA_PLATFORM=xcb com.github.hluk.copyq "$@"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants