Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Moving from OS X & Textmate to Ubuntu & gedit, the one feature of Textmate I am missing is it's command line tool.

With mate I was able to open a folder as a Textmate project using mate . from within the required directory. This is enormously useful as it speeds up my system navigation considerably.

Is there a way of doing the same or similar with gedit?

share|improve this question
Did you check this yet http://live.gnome.org/Gedit/Plugins/FileBrowser – warl0ck May 13 '12 at 1:27
up vote 1 down vote accepted

This was answered on Superuser, Gedit open current directory from terminal - Ubuntu 10.10. Looks like the answers are still relevant.

share|improve this answer

Isn't this as simple as

$ cd /directory/whose/files/you/need/to/open
$ gedit *

I just tried that with geany and it's working.

share|improve this answer

As @kra3 said before you can open everything in one window with gedit *.

But be careful as this opens everything in the folder, including non-text files and folders so I suggest using a more specific glob pattern instead, such as gedit *.cpp(for all cpp files).

More on glob patterns.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.