#!/bin/sh
mkdir -p $HOME/.gnome2/nautilus-scripts
echo -e '#!/bin/bash\ngedit "$NAUTILUS_SCRIPT_CURRENT_URI/$@.txt"' > \
$HOME/.gnome2/nautilus-scripts/file-note
echo -e '#!/bin/sh\nhere=\
`echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`\
\ngnome-terminal --working-directory="$here"' > \
$HOME/.gnome2/nautilus-scripts/terminal-here
chmod +x $HOME/.gnome2/nautilus-scripts/*
Комментариев нет:
Отправить комментарий