Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You need the Linux "macutils" package. Google for a download
appropriate to your Linux distribution. For example, if you're running
RedHat, you probably want: http://www.redhat.com/swr/i386/macut...2.i386_dl.html
In there, you'll find the "binhex" program. You can use that to decode the Mac binhex compressed files into whatever they really are. Binhex is just a file compression format, like PKZIP. You can probably configure your mailer to automatically run binhex to uncompress these kinds of attachments. How to do that depends on what mailer you use.
I've installed macutils on my RH9. I'm assuming they are jpeg files, but there is nothing which opens in any graphic software I have, the error in Gimp is 'unknown file type'.
Could this Mac be so old it's transferring something unique to Macs?
It could be that it's just missing the file suffix, but the GIMP should be smarter than that. Try running file(1) on it at see what it thinks the file is. It examines the contents of the file to attempt to determine its type. If it just says "data", then you're SOL.
Another possibility is that you could be looking at the wrong branch. I don't know MacOS at all, but I recall that files have various "branches", which let you encapsulate data, resources, properties, and what-not all in one file. Binhex should let you select which branch to extract. You want the "data" branch, I'm pretty sure. I haven't had to deal with MacOS files in years, so I'm fuzzy on this.
I haven't done much on Macs myself, but I have successfully done conversions like you're attempting. But that was years ago so my memory is vague. The only other thing I can think of is that binhex thinks that's a text file, and is converting the Mac line termination character (carriage-return) to the UNIX one (line-feed). That would mess up any binary file, and perhaps mess up a JPEG enough to make it unrecognizable. Look for a binhex option that makes it assume the file is binary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.