-   Linux - Software (
-   -   Open ANY file - BBEdit equivalent on Linux? (

KonfuseKitty 07-26-2010 01:31 AM

Open ANY file - BBEdit equivalent on Linux?
I'm using Ubuntu 10.04 and Gedit isn't able to open every possible file thrown at it, it often complains about not being able to find the right encoding. I miss BBEdit on the Mac, which opened any file. Is there a Linux equivalent?

TheIndependentAquarius 07-26-2010 02:09 AM

See if the following link helps you somehow:

KonfuseKitty 07-26-2010 06:13 AM

Thanks, that's an interesting link, worth exploring. At first glance, there isn't an editor listed that would open any file, I will need to look deeper. A specific recommendation from a happy user would be most welcome, though. :)

TheIndependentAquarius 07-26-2010 06:16 AM

Would you specify the extensions of "any file" ?



i92guboj 07-26-2010 06:32 AM

As long as you mean "plain text files" with different encodings you should be able to handle them right with something like bluefish or kate. Kate even lets you choose the encoding manually from the open file dialog as far as I remember.

I am sure emacs and vim will do as well, but I am not too wise about these two.

acvoight 07-26-2010 08:46 AM

Assuming you mean text files, I have noticed gedit sometimes fails to automatically detect encoding with large ones (not sure why, it loads partially then when complete, fails). What usually works for me is to select Western (ISO-something) encoding from the menu (that and UFT-8 are what is usually present).

KonfuseKitty 07-26-2010 10:03 AM

By any file I mean any extension, a JPEG, a binary, anything. This is what BBEdit provides, it opens absolutely any file. It's a very useful feature to have and I would be shocked to learn there isn't a Linux equivalent.

GrapefruiTgirl 07-26-2010 10:26 AM

It depends exactly what you want to do to this opened file, once you have it open! Sure, you can open all sorts of files, using applications that are not natively able to do much with the file once it's open..

I just read the Wiki page & some of the BBEdit website, and I don't see much (if any) mention of JPEG files. The thing appears to be an advanced text editor (but NOT a word processor). Perhaps you might look at SciTE and Scintilla and see if they are approaching anything like what you are looking for.

I'd also look at KDE's various components (and perhaps GNOME equivalent though I don't know what that is..), which are really well integrated, with Konqueror being the main ingredient, and loads of plugins & other KDE apps tied into it..

If nothing I've written helps at all, please tell us what you want to do with this application that can open anything - i.e. are you doing web development, text processing, image editing....? And maybe then we can suggest what you're looking for.

GrapefruiTgirl 07-26-2010 10:34 AM

Plus, look here:

djsmiley2k 07-26-2010 10:34 AM

I'm personally doubting it opens "any" file. I'm thinking infact it may examine the fine and pass it to the relevent decoder based on MIME type.

What I dont understand is the point of this - my underlying windowing system does this for me. I click a jpeg it opens up in picture viewer, I click a .avi and it opens in xine, if I click .html it opens in firefox....

Checked the linked site (linked above and below!) - "BBEdit is the leading professional HTML and text editor for the Macintosh. Specifically crafted in response to the needs of Web authors and software developers, this award-winning product provides an abundance of high-performance features for editing, searching, and manipulation of text"

Doesn't say anything about handling images etc.

djsmiley2k 07-26-2010 10:35 AM


Originally Posted by GrapefruiTgirl (Post 4045841)

Erm, check post #2? ;)

GrapefruiTgirl 07-26-2010 10:36 AM


Originally Posted by djsmiley2k (Post 4045844)
Erm, check post #2? ;)

:confused: lol - thanks!

KonfuseKitty 07-26-2010 11:36 AM

I see I still haven't been clear enough: upon opening of the file, I want to see it as text. Sure, a lot of non-text files such as images and binaries will be opened as 'garbage', unrecognised characters and such. But other times the info you're looking for is in un-encoded ASCII and then having the ability to view it is useful.

I hope that's made the question clearer. :)

GrapefruiTgirl 07-26-2010 11:40 AM

You're looking for HexEdit by the sounds of it. There are likely several (or many!) so look around for more if you don't like the looks of this one. :)
EDIT: And, they come in both GUI and console versions - just look around a bit.

b0uncer 07-26-2010 12:28 PM

Well one the simplest you could get is cat I suppose, and if you want, something like less to page it unless you chop the output down somehow. That will (try) to open any file you want, the results depending on what is inside and how your terminal reacts to the data (some binary content could possibly mess your terminal session, so be prepared to open a new instance). I don't think the program you mentioned, or any other for that matter, has "editing capabilities" aimed specifically at every possible file type, given that new types, proprietary and open, pop up and get pushed down all the time. If you only want to read and write text (as in ASCII), then about every text editor ought to do, if they're written such that they don't choke on a huge amount of data (i.e. do not try to slurp the whole file at once, if it's not possible due to the way the program is built).

If you're not afraid of jungle, try Emacs. When you start wondering how many days it was since you jumped in, it'll give you a calendar (M-x calendar RET) to check the day from, among other things. And when you're ready, there's always the psychoterapist (M-x doctor RET) :)

All times are GMT -5. The time now is 03:02 AM.