I have written a python wrapper for vlc that sits as an appindicator and monitors keystrokes to vlc and loads next/prev files in folder. I have the script working from nautilus scripts. Now I need this script to be the default opening program for video files. How do I have achieve this?
I have already made a .desktop file and put it in
This is the contents of the desktop file.
[Desktop Entry] Name=vlcwrapy-nix Icon=vlc Type=Application Exec=/home/thekindlyone/projects/vlcwrapy-nix/vlcwrapy-nix.py
The desktop file shows up on Dash fine.
But in the
open with context menu of nautilus of a file, vlcwrapy-nix does not show up.
PS: I need my script to get the name of the file that was double clicked as argument.. and the working directory to be the directory the double clicked file is in(just like nautilus-scripts behaves)