Originally posted by wojcieche
View Post
Code:
Exec=./zip.sh %U
Exec=zip.sh %U
Exec=[B]sh[/B] zip.sh %U
Exec=./zip.sh %U
Exec=./zip.sh %U
# set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi
[Desktop Action move-file] Exec=/usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu mv "%U" /usr/share/applications Name=Move file Icon=document-send [Desktop Entry] Actions=move-file MimeType=application/x-desktop; ServiceTypes=KonqPopupMenu/Plugin Type=Service X-KDE-Priority=TopLevel
Exec=printf %U | xsel -b -i && /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu mv "%U" ...
sudo chown root:root basename
Exec=printf %U | xsel -b -i && /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu mv "%U" /usr/share/applications && cd /usr/share/applications && /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu chown root:root $( basename $(xsel -b -o) )
[Desktop Entry] Type=Service ServiceTypes=KonqPopupMenu/Plugin,all/allfiles MimeType=Application/octet-stream;inode/directory Actions=NFFS [Desktop Action NFFS] Name=New Folder with Selection Icon=folder-download Exec=sh /$HOME/bin/new_folder_with_selection.sh %U
#!/bin/sh dirname="$(kdialog \ --inputbox "Folder to be created" "New Folder" \ )" && mkdir -p -- "$dirname" && mv --target-directory="$dirname" -- "$@" || kdialog --error "Something went wrong"
Comment