Re: [Ebib-users] configure external PDF viewer
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2017-01-10 11:22:00
|
Hi Iliya, Yeah, MacOS is a bit different in that respect. I don't have access to a Mac, so I can't test my suggestion, but I believe the correct way to do it would be to use the 'open' command. If you simply specify the 'open' command in 'ebib-file-associations', then the pdf file will be opened with the default pdf reader on your system. If that is set to Skim, then Skim will be used. If you want to use Skim, even though it is not set as your default pdf reader, then you'll need the latest version of Ebib (2.9, which I pushed to Github just last night) and specify the following as the command to execute: open /Applications/Skim.app --args %s Substitute the path to Skim.app with the actual location, of course. The '%s' will be replaced with the path of the file you want to open. Note that on MacOS, /Applications/Skim.app is not actually an executable file. It's actually a directory containing all the files of the relevant program, so using that as the command to execute won't work. You can open such applications from the command line with 'open', however. Hope this helps! Best, Joost On Sat, Jan 07 2017, Iliya Lefterov wrote: > Good morning, > > I found Ebib extremely helpful and easy to configure on a > Linux machine; on a Mac platform, however I have a configuration > problem: i couldn't find a way to point to Skim as an external > PDF viewer… in Ubuntu or Mint it is very easy - evince or okular > are found immediately and they work perfectly fine. > > I know the problems with the Application folder in MacOS / > command line/path, but whatever i do with the location of > Skim.app i always get the error message, that “Specified program > for new process is a directory” > > any idea how to fix it? > > Thanks, and Happy New Year > > -I. -- Joost Kremers Life has its moments |