albar
albar

Reputation: 3100

How to open a project from geany command line

I want to open an existing project when I invoke geany at command line. It seems to be an obvious need, but I don't see any command line option that allow that.

Somebody knows?

Upvotes: 3

Views: 2623

Answers (2)

albar
albar

Reputation: 3100

To open a geany project from command line, simply give the project file as argument, e.g.

geany ~/projects/my_project.geany

Upvotes: 3

David Jenkins
David Jenkins

Reputation: 471

After initially saving the project from within geany, all you need to do is put the directory name after the geany command. For example, the following is a directory listing with the geany project 'test' saved to it. (notice the test.geany file):

lenovo:davidj ~/projects >  ls
test  test.geany

To open the the 'test' project on the commandline, do the following:

lenovo:davidj ~/projects > geany test

Upvotes: 0

Related Questions