Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to find out the command line of a program?

  1. #1
    Join Date
    Apr 2014
    Beans
    88

    How to find out the command line of a program?

    Hello,

    I would like to set a program up as autostart, namely overdrive. But I need the terminal command line. I only know how to start it from the dashboard, how to find out the line?

    Thanks!

  2. #2
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to find out the command line of a program?

    For Gnome DT under 14.04: Applications->System Tools->Preferences->Startup Applications. A cron job could be setup on the terminal if this doesn't work for you. BTW you should always specify your release and version, preferably so that it reads under your bean count like mine. Knowing something of your configuration helps us work with you.
    Last edited by whitesmith; August 12th, 2014 at 03:42 PM.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  3. #3

    Re: How to find out the command line of a program?

    terminal >
    Code:
    whereis overdrive
    Windows assumes the user is an idiot.
    Linux demands proof.

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to find out the command line of a program?

    Many programs are in /usr/bin:

    Code:
    which overdrive
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Dec 2007
    Beans
    12,521

    Re: How to find out the command line of a program?

    Does "overdrive" need Wine?

  6. #6
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to find out the command line of a program?

    @Habitual:
    @tgalati4:

    I think we read the OP's question differently. He states, "I would like to set a program up as autostart..." I interpret that to mean he wants an installed program to run automatically when the OS starts. I don't think he wants to find out where the program lives. But of course his posting is hardly an exemplar of clarity, so perhaps I am wrong.

    @vasa1:

    If it does, we're all wrong!
    Last edited by whitesmith; August 12th, 2014 at 05:42 PM. Reason: clarity
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  7. #7
    Join Date
    Dec 2007
    Beans
    12,521

    Re: How to find out the command line of a program?

    Quote Originally Posted by whitesmith View Post
    ...
    @vasa1:

    If it does, we're all wrong!
    I didn't know of a program called "overdrive" and the top few Google hits involved Wine. So I asked. I don't know whether programs run through Wine would be in /usr/bin. I'm sure OP will clarify unless ...

  8. #8
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to find out the command line of a program?

    @vasa1: Good call! You were the only one who thought he might be talking about a Windows program. I wasn't even thinking of that. But now I'll stop cluttering up the thread with personal opinion and speculation.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  9. #9
    Join Date
    Oct 2007
    Beans
    1,832

    Re: How to find out the command line of a program?

    Overdrive will not run in linux. It is a drm to manage things like library books, and audible downloads, adobe epub books, and things. It appears that it may work with wine:

    http://blogs.overdrive.com/devices/2...r-linux-users/

    But wine is rarely the correct solution. Try buying products from a company that respects open source software, and if you like that company, call them and tell them that they're neglecting a large constituent of clients.

  10. #10
    Join Date
    Apr 2014
    Beans
    88

    Re: How to find out the command line of a program?

    Hello,

    sorry, I misspelled: its overgrive. Furthermore I have got ubuntu 14.4lts. It does not need wine. I know where the startup window is, but my question is what the command is that has to be typed in the second column of the sartup window to make a program run at startup. Just writing overgrive does not workl. But he solutions do not work as well :

    o@o-HP-Compaq-6910p-KL536AV:~$ which overgrive
    o@o-HP-Compaq-6910p-KL536AV:~$ what overgrive
    No command 'what' found, did you mean:
    Command 'wcat' from package 'sac' (universe)
    Command 'chat' from package 'ppp' (main)
    Command 'jhat' from package 'openjdk-6-jdk' (universe)
    Command 'jhat' from package 'openjdk-7-jdk' (main)
    what: command not found
    o@o-HP-Compaq-6910p-KL536AV:~$ whereis overgrive
    overgrive:
    o@o-HP-Compaq-6910p-KL536AV:~$



    Any other ideas?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •