-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

Compress and Attach

   1.1  

KDE Service Menu

Score 67%
Compress and Attach
zoom


Compress and Attach
zoom


Depends on  KDE 4.x
Downloads:  397
Submitted:  Apr 14 2009
Updated:  Sep 17 2010

Description:

It's a simple script that allows you to right-click on any file, group of files or directory to compress it and send it by email. I used zip rather than gzip or bz, because it's more MS familiar (if you send mails to MS users). It is configured for it's use WITH THUNDERBIRD ONLY. Maybe in future versions (with help of somebody) I can add more mail clients but I don't know how to look for the default mail client.
I'm accepting more translations too (now it comes in Spanish, German, Polish, Czech, French, Russian and English).


Se trata de un script muy sencillo que te permitirá comprimir un archivo, un grupo de archivos o un directorio y enviarlo por correo electrónico. Usé el compresor zip porque es más universal (sobre todo si tienes contactos de usuarios de MS). Está configurado para funcionar únicamente con THUNDERBIRD. Talvez añada algunos otros clientes a futuro (si alguien me ayuda), sobre todo a saber como hacer un script que reconozca el cliente de mail predeterminado.
También estoy aceptando más traducciones (por ahora se encuentra sólo en inglés, alemán, polaco, checo, francés, ruso y castellano).




Instalation:
on shell run "kde4-config --path services"

Put the .desktop file in this directory and restart Dolphin or Konqueror

Fully tested to work under TB 3.0.7, KDE 4.5, Mandriva 2010.1, 64bits architecture. If you use other systems and architectures, please report if it succeeded!




Changelog:

From version 0.8 to 1.0:
- Fixed the folder issue. Now it compress the files without the folders from the root.
- Change rar compression method to zip (=moore compatibility)
- Added translations to French (thank you Okanda) and to German, Polish and Czech (thank you poppei)
- Changed the temporary directory from ~/tmp to /tmp (wich should be present and writable in most distros). This makes the script a bit moore distro compatible.

From version 1.0 to 1.0.1:
- Removed some tildes
- Added russian translation

From version 1.0.1 to 1.2:
- Moved to Thunderbird 64 bits.
- Changed icon




LicenseGPL
Source(Compress and Attach)
Send to a friend
Subscribe
Other  Apps  from danux
Report inappropriate content



-
.

 Useful but nothing happen

 
 by Okanda on: Apr 14 2009
 
Score 50%

Hello.
This service-menu could be very useful to me.
I install it in ~/.kde/share/kde4/services/
But when I choose "Compress and Send" in the menu nothing happen!

Any idea about the problem?


Reply to this

-

 Re: Useful but nothing happen

 
 by danux on: Apr 14 2009
 
Score 50%

Maybe you haven't RAR installed? Be sure to install it first (attention: be sure you have rar, because unrar is only to decompress)




Daniel
http://www.danux.inet.cl

Reply to this

-

 Great idea, but...

 
 by Contrast on: Apr 15 2009
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit 12 hours ago
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Tying it down to only use RAR is quite limiting. Most of the people I would be e-mailing attachments to use Linux, and even those still on Windows will have just as easy a time opening a .zip or .7z file (both Free formats) as they would a .rar (which is proprietary).


Reply to this

-

 Re: Great idea, but...

 
 by danux on: Apr 16 2009
 
Score 50%

So you suggest using zip? It's a good idea, but I will have to explore it (never used zip compression, never needed it)... Maybe next version comes with both rar or zip compression. If you could help me with some zip compression commands, it would be great.

Thank you all for your ideas...



danux
http://www.danux.inet.cl

Reply to this

-

 some errors in .desktop

 
 by taelas on: Apr 29 2009
 
Score 50%

please, remove tildas not only from english version
russian translation:
Name[ru]=Упаковать и отослать
Exec[ru]=zip -rDj /tmp/attach.zip %U && kmail --composer --subject="Высылаю вложенный файл" --attach /tmp/attach.zip && kdialog --msgbox Готово && rm -f /tmp/attach.zip


Reply to this

-

 Re: some errors in .desktop

 
 by danux on: Apr 29 2009
 
Score 50%

Thank you for the translation. I have corrected de tildes problem, tnx...


Reply to this

-

 Polish translation

 
 by nusch on: Dec 2 2010
 
Score 50%

is also wrong:
it should be:

-Kompresować a posłać
+Kompresuj i wyślij

-Gotowy
+Gotowe

I would also suggest instead
kdialog --mesagebox Ready
use of:
kdialog --title 'Compress and attach' --passivepopup "%U\nCompression finished" 3

Also I removed the sed in my version, I don't know what it should do at all because now it returns error, while whole script work without it:

nusch@novopad:~/tmp$ echo ~/tmp/attach.zip | sed 's/\\ \\//,file:\\/\\//g'
sed: -e expression #1, char 10: unknown option for `s'


Reply to this

-

 Re: Polish translation

 
 by danux on: Dec 2 2010
 
Score 50%

Ok, thank you for the corrections...

I had to add the sed command to allow multiple files selection for the compression. If it works in your box, it's fine!


Reply to this

-

 Re: Re: Polish translation

 
 by nusch on: Dec 2 2010
 
Score 50%

It works fine for both single file/directory and multiple. But with sed parsing it throws error mentioned and doesn't pass further to 'thunderbird --attach..'
I'm also wondering why did you used -D option passed to zip - if we compress e.g. source code of program organized into directories, after this all files will come to one. I think better solution to not include root directory will be something like this inside script:

#!/bin/bash
echo "%U"
to_compress=%U;
if [ -d $to_compress ]; then
to_compress=`ls`
fi
echo $to_compress


Reply to this

-

 Re: Re: Re: Polish translation

 
 by nusch on: Dec 2 2010
 
Score 50%

also it would be great if archive could be named after files - like filename.zip, dir name if dir selected or parent dir name if multiple file selected, I think it's already implemented in:
/usr/local/bin/compress_ZIP.sh
from http://kde-look.org/content/show.php?content=84206


Reply to this

-

 Re: Re: Re: Polish translation

 
 by danux on: Dec 2 2010
 
Score 50%

You have good ideas but I was really looking for a simple solution to this task, so if possible, I'll avoid the use of a second file containing the script.

The filename is a challenge, because you can do it by use ark and the parameter --autofilename. The problem is make the servicemenu find the file to attach it... I guess I'll have to do some trys ;)


Reply to this

-
.

 Not working...

 
 by itsjustarumour2 on: Mar 12 2012
 
Score 50%

Not working for me on Ubuntu 12.04 KDE 4.8.1 (32-bit) with Thunderbird 11.0.

I have rar, unrar, zip, unzip, g7zip etc installed.


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.