Difference between revisions of "PCmanFM-Qt"
→“Compress” custom action
imported>Qanjaro |
imported>Qanjaro |
||
Line 62: | Line 62: | ||
= “Compress” custom action = | = “Compress” custom action = | ||
If you don't have one of those archive applications listed in pcmanfm-qt's Preferences>Advanced, you can use a commandline archive utility like <code>atool</code> with custom actions. First install <code>atool</code> from the repo: | |||
sudo pacman -S atool | |||
Create and edit the action file (compress.desktop) either by using file manager or by issuing these terminal commands one at a time (replace <code>juffed</code> with your text editor if it’s different): | Create and edit the action file (compress.desktop) either by using file manager or by issuing these terminal commands one at a time (replace <code>juffed</code> with your text editor if it’s different): | ||
Line 83: | Line 87: | ||
This will create a YOUR_USERNAME.tar.gz archive from the selected files/folders in the current directory. (You may need to change the icon in the above code if you don't have oxygen icons.) | This will create a YOUR_USERNAME.tar.gz archive from the selected files/folders in the current directory. (You may need to change the icon in the above code if you don't have oxygen icons.) | ||
= “Extract” custom action = | = “Extract” custom action = |