gyazo / Gyazo-for-Linux

Gyazo for Linux
http://gyazo.com
352 stars 105 forks source link

How do I stop this program from automatically opening the image in my web browser after capture? #130

Open ghost opened 5 years ago

ghost commented 5 years ago

I assume it is already possible however I do not know the config command.

hiroshi commented 5 years ago

You may find a hint here :-) https://github.com/gyazo/Gyazo-for-Linux/pull/127

ghost commented 5 years ago

You may find a hint here :-)

127

So it isn't currently possible?

hiroshi commented 5 years ago

I think it is possible. You can try it. (Sorry, I'm a member of gyazo org, but not a linux desktop user, so I didn't test it yet.)

hiroshi commented 5 years ago

I forgot to tell you something. By auto-opening image pages in browser just after upload, Gyazo can bind your images (and upload client) to your account in browser If you have trouble like this, https://github.com/gyazo/Gyazo-for-Linux/issues/89, you should revert the configuration.

benjbrandall commented 4 years ago

I commented out this line: system "#{browser_cmd} '#{openUrl}'"

Works but unsure if there's negative side effects

ghost commented 4 years ago

I'd love the option to disable this as well. Really slows down the copy/paste process by opening the window by default.

ghost commented 4 years ago

I commented out this line: system "#{browser_cmd} '#{openUrl}'"

Works but unsure if there's negative side effects

would you mind telling which directory to edit the system "#{browser_cmd} '#{openUrl}'" line out at?

ghost commented 4 years ago

I commented out this line: system "#{browser_cmd} '#{openUrl}'"

Works but unsure if there's negative side effects

sorry to keep bothering. Downloaded the file from the github's zip file, opened up the gyazo.rb file under src, and commented out the system "#{browser_cmd} '#{openUrl}'" line https://gyazo.com/5194211f87688170de9bfe93601b4cd5

still having no luck in getting the browser to pop up to disable however

RuthlessDrixx commented 3 years ago

Sorry for a really late reply, although, I believe I've figured it out.

1- Click the windows button and search for "Gyazo Settings" | OR: On your taskbar, open your hidden icons and right click on Gyazo and then click "Settings..."

2- Uncheck "Open tab in browser after capture"

3- Click "OK"

And you should be good to go. There are also different shortcuts to capture an image without opening a browser. You can see more details on that in the same Settings page.

I think Gyazo released this feature after you created this post. Anyhow, I hope it works for you.

Cheers -RuthlessDrixx

pastak commented 3 years ago

@RuthlessDrixx Thanks for your comment. This repository issue is only for Gyazo-for-Linux. Please ask us on https://gyazo.com/contact about Gyazo for Windows