launchy icon indicating copy to clipboard operation
launchy copied to clipboard

Ubuntu 14.04

Open greeneca opened this issue 12 years ago • 7 comments

By default looks for gnome-open which doesn't exist in 14.04. Should also look for xdg-open before looking for firefox etc,

greeneca avatar Jul 24 '14 18:07 greeneca

NVM just took a look at the code and I must have an old version.

greeneca avatar Jul 24 '14 18:07 greeneca

Hi, I'm having the same issue on Ubuntu 14.04 (actually Elementary OS) while using Launchy from heroku (heroku open) how did you solve this?

suarezjulian avatar Oct 02 '14 15:10 suarezjulian

@TechFreak I'm guessing @greeneca updated their version of launchy. What error are you seeing?

copiousfreetime avatar Oct 02 '14 15:10 copiousfreetime

Actually I fixed the issue before I posted this. I just created an symlink at /usr/bin/gnome-open that pointed to /usr/bin/xdg-open.

greeneca avatar Oct 02 '14 16:10 greeneca

Hi the exact issue is this one:

Opening demo... failed ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       Unable to find a browser command. If this is unexpected, Please rerun with environment variable LAUNCHY_DEBUG=true or the '-d' commandline option and file a bug at https://github.com/copiousfreetime/launchy/issues/new (Launchy::CommandNotFoundError)
Backtrace:   /usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:63:in `browser_cmdline'
             /usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:67:in `cmd_and_args'
             /usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:78:in `open'
             /usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy.rb:29:in `open'
             /usr/local/heroku/lib/heroku/helpers.rb:328:in `block in launchy'
             /usr/local/heroku/lib/heroku/helpers.rb:227:in `action'
             /usr/local/heroku/lib/heroku/helpers.rb:326:in `launchy'
             /usr/local/heroku/lib/heroku/command/apps.rb:335:in `open'
             /usr/local/heroku/lib/heroku/command.rb:217:in `run'
             /usr/local/heroku/lib/heroku/cli.rb:33:in `start'
             /usr/local/heroku/bin/heroku:25:in `<main>'

Command:     heroku open
Version:     heroku-toolbelt/3.10.5 (x86_64-linux) ruby/1.9.3

The issue might be that the heroku tool is using an outdated version of Launchy

@greeneca I'll try that seems like a solid workaround.

suarezjulian avatar Oct 02 '14 16:10 suarezjulian

Oh, my apologies, that is actually issue #91 and I just merged the fix for that. a new release will be out soon, I may bundle another bugfix in

copiousfreetime avatar Oct 02 '14 16:10 copiousfreetime

@copiousfreetime great to hear thanks!

suarezjulian avatar Oct 02 '14 16:10 suarezjulian