/usr/share/nemo/actions/myaction.py is in nemo-data 3.6.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #! /usr/bin/python3 -OOt
import sys
command = sys.argv[0]
print("Running " + command)
print("With the following arguments:")
for arg in sys.argv:
if command == arg:
continue
else:
print(arg)
|