friday / ulauncher-clipboard

Ulauncher clipboard management with Clipman, Clipster, CopyQ or GPaste
MIT License
76 stars 9 forks source link

[Guide] Using Flatpak version of CopyQ #33

Open zoenglinghou opened 2 years ago

zoenglinghou commented 2 years ago

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 commented 1 month ago

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 commented 2 weeks ago

@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 "$@"