Well, after using google for a bit, i found the solution for my problem, it's not exactly what I've wanted, but it works well enough
So here is how it's done:
First i opened Thunar and opened Custom actions configuration tool:
Quote:
Edit --> Configure custom actions...
|
Then little window appeared:
Custom_actions.png
Here it is possible to add custom actions for various files, so first I'll create action for adding files to archive by pressing that big + on the top right corner, and then select "Appearance Conditions" tab. Here i have selected all the file types, as i am occasionally creating archives of various files:
Appearance_conditions.png
Then select "Basic" tab and fill it with descriptions and commands, select the icon (7zip icon is in /usr/share/icons/hicolor/16x16/apps/) i have used this 7zip command:
Quote:
p7zipForFilemanager ad -t7z %U
|
All should look like this:
Basic_tab.png
Now close Custom actions window and right click on any of you files, there is new option "7zip: Create Archive", select it and you get this nice 7zip Gui:
7zip_create_archive_gui.png
Now for archive extraction
Again open the "Configure custom actions" window, press big + and select "Appearance Conditions" tab, and fill it like this:
Appearance_conditions2.png
All the formats 7zip can handle should be entered in "File Pattern" section, i have entered these:
Code:
*.tar.gz;*.zip;*.tgz;*.tar;*.tar.bz2;*.rar
Once again, fill the "Basic" tab with commands, icon, descriptions like this. i have used 7zip's extract to command:
Code:
p7zipForFilemanager xd %U
Basic_tab2.png
Now close the "Custom actions" window and right click on any archive, you should see "7zip: Extract To" option, if you select it, you get this nice 7zip GUI tool for archive extraction:
7zip_extract_to.png
And that is it! Who said Linux was not user friendly?
Hopefully this little How To will prove it self useful.
P.S.
Although i am happy enough with the outcome, but please, do not remain silent, if you have something to add or some better ideas,
Thank You