0

Hello I would like to find a file called lyxpipe (which is used by the program lyx). However, I don't have a idea where the program is installed.

I typed

locate lyx
lyx: /usr/bin/lyx2.0 /usr/bin/X11/lyx2.0 /usr/share/lyx2.0

However, when I try to navigate to the folders I can type

pwd
home/Theodor

where Theodor is my username.

But there is no other folder bin in this directory. Can somebody tell me how to access these paths?

Tim
  • 32,861
  • 27
  • 118
  • 178
user3069326
  • 716
  • 5
  • 10
  • 18

2 Answers2

3

The location of the pipe is set in "Edit→Preferences→Inputs→Paths". Most likely the default is:

~/.lyx/lyxpipe

(so that is your home dir and then hidden directory .lyx; if you do ls -a|more in you home dir it will show all hidden files including .lyx).

LyX adds the '.in' and '.out' suffixes while creating the pipes so the names are going to be lyxpipe.in and lyxpipe.out.


Regarding lyx itself.

 which lyx

will show you the place of the executable and it will show:

/usr/bin/lyx2.0

That is not a directory in your home but in the /usr/ directory. This directory is in your PATH so you can execute it from anywhere on your system by typing "lyx2.0".

Rinzwind
  • 299,756
0

To change directory to /usr/bin/

cd /usr/bin

To execute binary file /usr/bin/lyx2.0

/usr/bin/lyx2.0

Back.Slash
  • 2,166
  • 2
  • 17
  • 22