Extract And Compress KDE4

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

4
Score 85%
Description:

This is a Service Menu to compress and extract files and folders.

After a long period of not maintaining this servicemenu (Sorry, sorry, sorry!), I'm back to fix some bugs and add translations.
Because of having Ark and it's Service Menu back, I won't add new features or make a huge rework of this one.

Thanks for your appreciation.


Installation:
1. Download and extract
2. go inside the extracted folder
3. execute the install-script (install.sh) and follow the dialogs
4. enjoy:-)

NOTE: The programs p7zip, bunzip2, bzip2, gzip, rar, unrar, tar, zip, unzip and unace must be installed.

Supported languages:
German, English, French, Italian, Spanish, Chinese Simplified, Portuguese (Brazilian), Czech, Polish, Turkish, Danish, Russian and Catalan.

NOTE:
If your language isn't supported yet then just do this:
- add your language strings to the .desktop-files
- go inside the dialogs-folder
- add your language strings to the dialog-scripts
- send me a message
Last changelog:

9 years ago

v1.4.4

- added detectection for local servicemenu-folder inside install-script (thanks to bitcrazy)
- fixed bug in root-uninstallation
- fixed corupted translation files (thanks to rakekniven)
- fixed non-XDG-Standard desktop-files (thaks to sarhugo)
- fixed bug that doesn't istalled "extrac_7zip_pw_to_folder" as root (thanks to superandrzej)
- added catalan translation (thanks to lesergi)

--------------------------------
v1.4.3

- added russian translation (thanks to peabody for the translation!)

---------------------
v1.4.2

- added danish translation (thanks to cb400f for the translation!)

---------------------
v1.4.1

- added uninstall-script (uninstall/uninstall.sh)

---------------------
v1.4

- added support for compressing multiple files to one archive (by choosing more than one file/folder a dialog appears and asks for a nome of the archive - NOTE: If you choose bz2 or gz and you selected more than one file, a tar.bz2 or tar.gz archive will be created)
- renamed INSTALL.sh to install.sh

-------------------------------

You will find a complete changelog inside the archive.

devdol

2 years ago

* on line 128 in install.sh "kdesu --noignorebutton" is replaced by "gksu "
* When asked for "Service Menu Path" enter "/usr/share/kde4/services/"



Report

TheUserK

8 years ago

Hi!

Your service-menu is very popular, so I think it would not be too bad, if it would be possible to install it with Dolphin's KHNS-dialog.
The best way would be to create two scripts, install-it.sh and deinstall.sh, installing/deinstalling the menu locally without any user-interaction.
I tried to make it working with as many service-menus as possible, but of course the installation-routine cannot handle interactive install-scripts.

Regards
The User

Report

FrostBlue

9 years ago

Hi I have used this service menu on Jaunty beta very nicely but it gives me an error on the Jaunty final release...Cant find the sh files...Can u please help,I am hating to use Winrar whenever there's a password.

Thankyou

Report

ricnar456

9 years ago

In ubuntu kde 4.2.1 only COMPRESS MENU is showed, the extract options don't appear at all.(when you right click in a compressed file)

ricnar

Report

ricnar456

9 years ago

yes changing the F and typing U is solved.

ricnar

Report

FrozenFox

9 years ago

Hello,

Thanks for the great servicemenus.

On kde 4.2.1 (specifically, kdemod 4.2.1 on arch linux), the servicemenu seemed to refuse to show "extract" menu entries (oddly, it showed some/all of the "compress" entries) from right clicking an icon directly on the desktop/folderview. I think it did work properly within konqueror, but I'm not 100% sure on that. Reboot, login/logout, kbuildsycoca didn't help. Upon switching %F with %U in extract menus, it worked fine. I'm not sure what the difference is between the two and if this -should- be changed to be quite honest, but this problem and fix were repeatable for me (I had done it on an earlier non-kdemod setup in comparing a working menu vs a non-working one, kde 4.1), so perhaps worth looking into.

Report

C

painkiller101

9 years ago

Hi and thank you for your comment.

First of all, I've tested it several times here and couldn't reproduce this behaviour on my machine (openSUSE 11.1, KDE 4.2.1).
Even though the variables %F and %U should do nearly the same, because they take the list of files(urls) including their full path. I'll look if everything's going well with the %F variable and update it.

Thanks again.

Report

Musikolo

9 years ago

Hi,

I like a lot your service menu, but there is single thing I don't like that much: the pop up window saying "Extraction done!". I don't like it because it disturbs you all the time waiting for you to click on the the "OK" button. Instead, I think it would be much less invassive to show an message in the status bar of Dolphin, something like "Somefilecompressed.tar.gz has been extracted successfully!" The current way it's a bit chaotic when you uncompress several files quickly all in a row. Suddenly, you have an avalanche of pop up windows on your screen.

Well, I hope you find interesting this idea. Whatever you think about it, thanks a lot for your time and effort.

Regards! :-)

Report

C

painkiller101

9 years ago

Hi and thanks for your comment!

I know that the popip dialog isn't the nicest way for that, but i don't see an equivalent way to inform the user that the operation is done.

The solution you gave sounds really nice, but isn't (as far as I know) possible with servicemenus.
If I'm wrong with this tell me, but I think it has to be coded into the application.

Sorry.

Report

bitcrazy

9 years ago

Thanks for the script. But it doesn't work if the local folder 'Servicemenus' doesn't exist upon installation. In this case all desktop files will be copy to file! Servicemenus. Better check if folder exists (like $HOME/bin) and create it, if necessary.

Greetings
m0nk

Report

C

painkiller101

9 years ago

Thanks for this hint!

I've uploaded it again and it should work now.

Thank you again.

Report

sarhugo

9 years ago

Thanks for bringing back this options.
Just an observation:
On the desktop files after the Actions add a trailing semicolon (following the standars). Otherway you will get a notice:
"List entry Actions in "ServiceMenus/ZZZ.desktop" is not compliant with XDG standard (missing trailing semicolon)."

Regards

Report

C

painkiller101

9 years ago

Hi and thanks for your comment!

A little bit late, but I've uploaded it again with trailing semicolons.

Thank you again!

Report

linpete

9 years ago

Thx a lot for this very use full menus.
I really missed this functionality under KDE 4.
Worked out of the box for me (openSuse 10.3 x64/KDE 4.1).

Suggestions for new features in next versions:
- A progress bar or some kind of status indicator
-Some nice Icons

Thx
ed

Report

rakekniven

9 years ago

Something is wrong with encoding of german umlaute.

e.g. compress_dialog.sh line 19:
Current value:
"Komprimierung wurde durchgefГјhrt!"

Should be:
"Komprimierung wurde durchgeführt!"

There are more problems for more languages like fr or da in other files.

Report

rwishart

9 years ago

First, this is a great little helper. I too missed the compress and extract servicemenu.

For those who are having trouble with the install scripts. Remember this is Linux!!! If you cd to the extracted directory containing the install script you must use "./install.sh" Linux assumes that commands are in your path the, ./ specifies to use the command in the current directory. Also the script will ask where your kde services directory is. It is located in your kde4/services in SuSE 11.1 it is in /usr/share/kde4/services

Report

rubyinthedust

9 years ago

I'd like to suggest you write a proper install script or at least post a sticky here with an installation routine i.e. where to manually copy the scripts so that they can be found!
It appears that too many of us can't execute any scripts. I myself have gone through all the posts and possible solutions (installed as root, installed as user, copied to usr/local/bin/ copied to ~/bin) and all I ever see is a lame message the nothing is ever found.

Report

angelaka14

10 years ago

I have a problem when I remove a file I get this:
could not find the program <<extract_TAR.sh>>
someone can help me I have kubuntu 8.10 kde4.1.3 and installed unrar rar p7zip-full UnAce unzip

Report

slv

10 years ago

Well, I made the translation so if anyone wants to see russian dialogs can download my file. I changed only .desktop files, so just replace the old ones.

И привет всем из россии)))))

Report

slv

10 years ago

Link http://www.mediafire.com/?niamgqmhm2i

Report

slv

10 years ago

I've solved the problem. The directory for your service menus in gentoo 2008.0 with KDE 4.1.3 was /usr/kde/4.1/share/kde4/services/ServiceMenus. Now I'm working on full russian translating. After I finish, I'll post the link.

Report

slv

10 years ago

Are these menus for Dolphin or for Konqueror? (Though I don't see them anywhere)

Report

slv

10 years ago

Still no success. To get successful installation I had to edit your last install.sh script manualy. After installation I still get no menus. And for some reasons I don't have kde4-config. Where is my mistake? I suppose you made this scripts work somehow, but I can't. But these menus are musthave. So, anyone help, please!

Report

lesergi

10 years ago

I think you have kde-config instead of kde4-config???

Report

lesergi

10 years ago

Hi all,

I've created a new install and uninstall script. Also, I've included catalan translation.

You can get it from:
http://www.mediafire.com/download.php?cmlomhgx0m3

Report

9 years ago

v1.4.4

- added detectection for local servicemenu-folder inside install-script (thanks to bitcrazy)
- fixed bug in root-uninstallation
- fixed corupted translation files (thanks to rakekniven)
- fixed non-XDG-Standard desktop-files (thaks to sarhugo)
- fixed bug that doesn't istalled "extrac_7zip_pw_to_folder" as root (thanks to superandrzej)
- added catalan translation (thanks to lesergi)

--------------------------------
v1.4.3

- added russian translation (thanks to peabody for the translation!)

---------------------
v1.4.2

- added danish translation (thanks to cb400f for the translation!)

---------------------
v1.4.1

- added uninstall-script (uninstall/uninstall.sh)

---------------------
v1.4

- added support for compressing multiple files to one archive (by choosing more than one file/folder a dialog appears and asks for a nome of the archive - NOTE: If you choose bz2 or gz and you selected more than one file, a tar.bz2 or tar.gz archive will be created)
- renamed INSTALL.sh to install.sh

-------------------------------

You will find a complete changelog inside the archive.

product-maker devdol Dec 29 2015

product-maker 51 321

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.4.4
updated Mar 12 2009
added Jun 28 2008
downloads today
0
page views today 31
System Tags addon