How do I write a bash script so that when I right click on an icon for a normal file in dolphin and select Open With my script, my script gets the file name that the icon represents?
E.g. The icon shows "somefile.txt" and that gets passed to my script so I can process the file "somefile.txt".
I'm using kubuntu 16.04 with KDE 5.18.0, dolphin 15.12.3.
E.g. The icon shows "somefile.txt" and that gets passed to my script so I can process the file "somefile.txt".
I'm using kubuntu 16.04 with KDE 5.18.0, dolphin 15.12.3.
Comment