Coder Social home page Coder Social logo

Comments (7)

oestoer avatar oestoer commented on April 19, 2024 1
whereis pstorm
pstorm: /usr/local/bin/pstorm
whereis phpstorm
phpstorm:

Where pstorm executable is coming from?
In the menu Tools > Create Command-line Launcher... and pstorm is the deafult suggestion (at least for me in 2017.1 on Ubuntu)

from phpstorm-url-handler.

sanduhrs avatar sanduhrs commented on April 19, 2024 1

So what I found is, that PhpStorm creates a executable /usr/local/bin/pstorm, when instructed via the Tools menu. That file knows where the PhpStorm installation is located at and executes bin/phpstorm.sh from there.

Thanks for reporting, your patch has been merged.

from phpstorm-url-handler.

sanduhrs avatar sanduhrs commented on April 19, 2024

Hi leogout, on what distribution are you?
Thanks for contributing!

from phpstorm-url-handler.

leogout avatar leogout commented on April 19, 2024

Hi, your welcome !

I'm on ubuntu 16.04, it's a fresh install on VMware.
I installed phpStorm from the archive available here and I ran the installation script (I think it was /opt/phpStorm/bin/phpstorm.sh).

In the PR I added an notify-send because I thougnt it was useful, but I dont know if it is really cross platform. Feel free to remove it.

Cheers.

from phpstorm-url-handler.

oestoer avatar oestoer commented on April 19, 2024

Hi, I had the same issue, the fix by @leogout solved it for me. Thanks

from phpstorm-url-handler.

sanduhrs avatar sanduhrs commented on April 19, 2024

What I don't understand is, where the pstorm executable is coming from.
Looking into the archive, there is no pstorm.sh in /bin.
And the installation instructions do not mention a pstorm.sh either, in fact no mention of pstrom across all the distributed files.

Could it be you symlinked bin/phpstorm.sh to /bin/pstorm manually?

Can you please issue:
whereis pstorm
and
whereis phpstorm
and post the results in here?

from phpstorm-url-handler.

leogout avatar leogout commented on April 19, 2024

Same as @oestoer :

whereis pstorm
pstorm: /usr/local/bin/pstorm

whereis phpstorm
phpstorm: /opt/phpStorm/bin/phpstorm.sh /opt/phpStorm/bin/phpstorm.vmoptions /opt/phpStorm/bin/phpstorm.png /opt/phpStorm/bin/phpstorm64.vmoptions

I also tried on another computer at work with Ubuntu 16.04 and it produced the same kind of output.

from phpstorm-url-handler.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.