How do I make my application startable from the terminal?

Posted by Ralf Hersel on Ask Ubuntu See other posts from Ask Ubuntu or by Ralf Hersel
Published on 2012-03-29T18:47:45Z Indexed on 2012/03/30 17:43 UTC
Read the original article Hit count: 270

Filed under:
|
|
|
|

I've created several Python applications wherefore I know how to create a DEB and how to push an application into my PPA in Launchpad. What I never found out is how to make the application startable from the terminal by just entering its name like you use to do with any other Linux application. I guess that I have to create a link to the application's shell script in /usr/bin/ but I don't know how to do this in my rules file which looks like this:

#!/usr/bin/make -f
# -*- makefile -*-

%:
    dh $@

override_dh_install:
    dh_install nota/* /usr/share/nota/
    dh_install applications/nota.desktop /usr/share/applications/

© Ask Ubuntu or respective owner

Related posts about terminal

Related posts about PPA