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

Keyboard shortcuts #3

Open
j4-m opened this issue Jul 15, 2015 · 8 comments
Open

Keyboard shortcuts #3

j4-m opened this issue Jul 15, 2015 · 8 comments

Comments

@j4-m
Copy link

j4-m commented Jul 15, 2015

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

@sunmockyang
Copy link
Owner

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.

@nullset2
Copy link

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.

@sunmockyang
Copy link
Owner

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?

@agpar
Copy link

agpar commented Oct 22, 2015

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!

@sunmockyang
Copy link
Owner

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

@agpar
Copy link

agpar commented Oct 22, 2015

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.

@inlart
Copy link

inlart commented Feb 2, 2016

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

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

5 participants