hezral / clips

Multi format clipboard manager with extra features
GNU General Public License v3.0
39 stars 1 forks source link

How to setup shortcut? #11

Closed Hedronmx closed 3 years ago

Hedronmx commented 3 years ago

I thought super + ctrl + C was the shortcut but I cant seem to open it via shortcut.

hezral commented 3 years ago

Hi, due to the app is now in Flatpak, shortcuts will have to be done manually. There is a button that will take you to the Settings page for the OS to set it up. Let me know.

here's a sample from my end, do note my app is using python so i had to do gtk-launch appname for it to show the dock icon properly

Screenshot from 2021-09-02 15 26 39

Hedronmx commented 3 years ago

Got it working thank you!

ckruse commented 3 years ago

Setting it up this way (custom shortcut with gtk-launch com.github.hezral.clips) does not focus the application. Can this be circumvented?

hezral commented 3 years ago

it's not actually related to the shortcut. it's how the GTK code works, in the docs it says that it brings it to focus but it doesn't really do that. I haven't found a method that works, but i'll revisit it.

hezral commented 3 years ago

Well this was lucky, i had this fix already, i'll push a new release soon.

ckruse commented 3 years ago

Great news!