puush-linux icon indicating copy to clipboard operation
puush-linux copied to clipboard

Keyboard shortcuts

Open j4-m opened this issue 9 years ago • 8 comments

Hi

Thanks so much for this. I love puush and had really missed it since moving to Ubuntu.

Unfortunately, I'm struggling to get the command to work with the keyboars shortcuts. Using it manually in the terminal works pefectly but no matter what I try I can't get the command to fire via a shortcut. See the link below for a screenshot of the config. Any ideas what I might be doing wrong?

http://puu.sh/j0vBN/2c7c3cd29f.png

Thanks

j4-m avatar Jul 15 '15 20:07 j4-m

Did you put the puush file into the bin folder? If puush -b works from the command line, maybe you don't have permissions or something. Try debugging by placing commands that you know would work in the keyboard shortcut and seeing if they work. I'm not 100% sure.. For my config, I just run it straight off of my working directory and do /home/username/workdirectory/puush -b or something like that.

sunmockyang avatar Jul 15 '15 21:07 sunmockyang

First off, sunmockyang, awesome script, it's just bang-up awesome and a very viable puush client on linux.

I'm running into this issue as well on linux mint 17 with Cinnamon (GNOME 2).

puush -a, -c and -d are perfectly usable with shortcuts, yet puush -b is finnicky sometimes. Launching puush -b from a launcher on desktop or from terminal works perfectly.

strangely, puush -b will work correctly when you use a keyboard shortcut to run it around... say, 10% of the time. I've tried several different shortcuts on the keyboard for puush -b and they all run other binaries and all the other invocations for puush except for puush -b

This is what 'which puush' brings up on my system http://puu.sh/kLf3X/176a5dd0e2.png and puush has been chmod 777: http://puu.sh/kLfaA/4a44a9d6f8.png

I'm going to try to debug this a bit in my spare time.

nullset2 avatar Oct 15 '15 16:10 nullset2

Have you guys tried putting the script into a local folder? Instead of putting it in the system folders, I put it into a folder in my home directory. So the command looks kinda like /home/users/sunmock/work/puush -b. Maybe give that a try?

sunmockyang avatar Oct 15 '15 16:10 sunmockyang

I have the same issue - I put the script in a local directory, but no luck. It's only the -b argument that fails, and only when mapped to a custom keyboard shortcut.

Weird!

agpar avatar Oct 22 '15 02:10 agpar

http://askubuntu.com/questions/406543/unable-to-set-a-shortcut-to-grab-screenshot-area

agpar avatar Oct 22 '15 02:10 agpar

Oh does this mean you guys possibly have a keyboard conflict?

sunmockyang avatar Oct 22 '15 02:10 sunmockyang

I thought that might be the case - but I fooled around with it some more and I still wasn't able to get the -b argument working in a keyboard short cut. I've looked over you're source though, and I can't imagine it's anything about how this script is written - it's far more likely that its a bug in Mint or with Mint and gnome-screenshot.

agpar avatar Oct 22 '15 13:10 agpar

I also had the same issues with puush -b and keyboard shortcuts. I used shutter instead of gnome-screenshot and everything worked fine.

inlart avatar Feb 02 '16 18:02 inlart