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.
I am attempting to modify some Thunderbird .jar files in Slackware 10.2 and KDE 3.4. I need to modify the .jar files then zip them but with no compression. I have done this in the past using FileRoller in Gnome, but I can't seem to find a setting in Ark to zip files with no compression. I also couldn't figure how to do this with the command line.
How do I modify these files and reinclude them in the .jar with no compression? Does anyone know how to do this with Ark or the command line? How about another KDE application that can do this?
I'll give it a try. Yes, it does need to be zipped, I think. The Thunderbird .jar files are just zipped files with the .jar extension. If any compression is used, Thunderbird won't work. I assume, this to be the case if I use tar, but I never tried it.
I couldn't do it. I don't know if it was my syntax or what, but I was able to find a zip program that would work for me, karchiever. Thanks for the help.
I'll give it a try. Yes, it does need to be zipped, I think. The Thunderbird .jar files are just zipped files with the .jar extension. If any compression is used, Thunderbird won't work. I assume, this to be the case if I use tar, but I never tried it.
You're just trying to re-package a theme file, right? I assume it's the same with Thunderbird as it is with Firefox. You should just be able to zip it up again using "zip." At least that's what I've been doing myself.
Aren't these archives real "jar" files? There is a "jar" tool (which works like tar) that comes with Sun JDK. There is also a free tool called "fastjar" that does the same thing.
Hmmm, I am not too familiar with the zip command, had to do some reading up on it. But, since I had karchiever, I kind of stopped worrying about it, but I will keep this in mind for the next time I need to do this.
Daihard, no it isn't a theme file, it is actually mail.jar. I want to remove the extra "To:" fields, I don't need four of them.
ataraxia, you are probably correct. I have not heard of the jar tool, but kind of makes sense now that you mention it. It probably does work like tar where it just puts all the files in one file with no compression. I will have to take a look at fastjar.
I use ark to update .xpi add-on files all the time. Just open the archive up, drag&drop the file you want out of it, edit it as you wish, and drag&drop it back into the archive. The file should be automatically updated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.