puush-linux
puush-linux copied to clipboard
Keyboard shortcuts
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
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.
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.
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?
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!
http://askubuntu.com/questions/406543/unable-to-set-a-shortcut-to-grab-screenshot-area
Oh does this mean you guys possibly have a keyboard conflict?
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.
I also had the same issues with puush -b
and keyboard shortcuts. I used shutter instead of gnome-screenshot and everything worked fine.