Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Launching apps from terminal

  1. #11
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Launching apps from terminal

    Quote Originally Posted by ViliX64 View Post
    stinkeye.. nice tip! I thought about that, but I could not find any menu editor, with whole commands..
    I don't understand what you mean here.

    Do you mean the exec line doesn't always show the full path?
    If so then, use the exec line with the "which" command.
    eg
    Code:
    glen@Raring:~$ which thunderbird
    /usr/bin/thunderbird
    There's also this command I came across in an earlier thread to list all the exec commands from the .desktop files in /usr/share/applications...
    Code:
    sed -nrs '/^(Name|Exec)=/p;${g;p}' /usr/share/applications/*.desktop
    Last edited by stinkeye; March 13th, 2013 at 07:18 PM.

  2. #12
    Join Date
    Mar 2013
    Beans
    8

    Re: Launching apps from terminal

    There is also a way to add applications that don't come with Ubuntu (or any other Linux distro for that matter) so that you can start them with sudo or gksudo. You would follow instructions similar to those found on https://gist.github.com/olivierlacan/1195304 depending on the exact file structure of the distro that you are running. I hope that that helps.

Page 2 of 2 FirstFirst 12

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
  •