Results 1 to 9 of 9

Thread: Where is the Okular executable located on my drive?

  1. #1

    Default Where is the Okular executable located on my drive?

    I'm trying to find Okular, so that I can make it the default for PDFs for Firefox (which defaults to GIMP).

    I'm running Suse 11.4.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Where is the Okular executable located on my drive?

    On 02/08/2012 11:16 PM, WantOS2Back wrote:
    > I'm trying to find Okular


    -open a terminal
    -type
    Code:
    which okular
    -you answer will be returned


    --
    DD http://tinyurl.com/DD-Caveat
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

  3. #3

    Default Re: Where is the Okular executable located on my drive?

    Thanks! I'll remember that trick! "Find" didn't find it for me, but this worked perfectly.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Where is the Okular executable located on my drive?

    On 2012-02-08 23:16, WantOS2Back wrote:
    > for Firefox (which defaults to GIMP).


    It doesn't, unless you happen to have certain setup which I don't remember
    right now. There was a long thread about this perhaps years ago. Maybe even
    a bugzilla.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5
    Taki NNTP User

    Default Re: Where is the Okular executable located on my drive?

    On 02/08/2012 02:16 PM, WantOS2Back wrote:
    >
    > I'm trying to find Okular, so that I can make it the default for PDFs
    > for Firefox (which defaults to GIMP).
    >
    > I'm running Suse 11.4.
    >
    >

    You can try, within the Firefox:

    Edit > Preferences > Applications: go down the list of 'Content Type',
    pick 'PDF document', click on the 'Action' box, select 'use okular'
    (assuming 'Okular' is installed).


  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: Where is the Okular executable located on my drive?

    Quote Originally Posted by WantOS2Back View Post
    Thanks! I'll remember that trick! "Find" didn't find it for me, but this worked perfectly.


    find will find all files with the name ocular (in your case), from the startpoint of the search downward in the directory tree. Thus when you start searching from the root / that file must be found (if on the system):
    Code:
    find / -name ocular
    The result could be many files of that name (though this is not likely) and amongst them is the one you are looking for. Thus when ocular is on your system (very likely), you did something wrong with your find command.

    which will tell you which (if found) executable file is found with the name ocular when the contents of the PATH environment variable is used as intended. There will be at he most one answer (because searching through the different patthes is stopped on the first match). This is of course different from find, but in your case, exactly what you want.

    Read
    Code:
    man witch
    and
    Code:
    man find
    and you may come to the conclusion that it is not a trick, but just plain sober knowledge.
    Henk van Velden

  7. #7
    Join Date
    Mar 2009
    Location
    sri mayapur, west bengal, india
    Posts
    958

    Default Re: Where is the Okular executable located on my drive?

    On Thu, 09 Feb 2012 16:26:03 +0530, hcvv <hcvv@no-mx.forums.opensuse.org>
    wrote:

    > Code:
    > --------------------
    > man witch
    > --------------------



    i don't know about any witch-management or -hunting programs in openSUSE.
    what you meant is, i believe, "man which".

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: Where is the Okular executable located on my drive?

    Quote Originally Posted by phanisvara View Post
    On Thu, 09 Feb 2012 16:26:03 +0530, hcvv <hcvv@no-mx.forums.opensuse.org>
    wrote:

    > Code:
    > --------------------
    > man witch
    > --------------------



    i don't know about any witch-management or -hunting programs in openSUSE.
    what you meant is, i believe, "man which".

    You are correct. I do mean
    Code:
    man which
    But I would like to have a program witch (of course inclusing a man page), though my fantasy runs riot now about what it should do
    Henk van Velden

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Where is the Okular executable located on my drive?

    On 02/09/2012 12:06 PM, phanisvara das wrote:
    > i don't know about any witch-management or -hunting programs in
    > openSUSE. what you meant is, i believe, "man which".


    Code:
    denverd@linux-os114:~> which witch
    /home/denverd/bin/witch
    denverd@linux-os114:~>man witch
    No manual entry for witch
    denverd@linux-os114:~>
    so, no control of witch here!

    --
    DD

Posting Permissions

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