Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This is a KDE4 Service Menu to Search directories for RAR archive files.
- #Created by Xplorer4x4 with help from OneLine who provided the syntax for the exec line.
- #make a searchforarchives.desktop file in /home/$USER/.kde/share/kde4/services/ServiceMenus/
- #when executing the command make sure you execute this by clicking on the relevant parent
- #folder to avoid launching multiple instances of konsole.
- #
- [Desktop Entry]
- Type=Service
- ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked,,all/allfiles
- MimeType=all/all;
- Actions=SearchForArchives;
- X-KDE-Priority=TopLevel
- X-KDE-StartupNotify=false
- #StartupNotify=false
- X-KDE-Submenu=Extract
- [Desktop Action SearchForArchives]
- Icon=utilities-file-archiver
- Name=Search for archives...
- Exec=konsole --hold --workdir %f -e find -type f -name '*.rar' -exec unrar e '{}' ';'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement