Hi, i wish if it possible, to get an option on right click of Script, i mean when you create a script, you can execute directly of script mouse menu.
"$HOME/.gnome2/nautilus-scripts/Add to Audacious Queue"
Thanks
"Scripts" option with right click
Re: "Scripts" option with right click
Hi
Why are you starting a new thread for nearly the same future request? Is it important for you, that you can use your nautilus scrips? Or only to be able to run a script? The second future is exactly what the future request is about. If it's more important for you, that you can use your nautilus scripts in PCManFM leave a comment on the future request
maces
Why are you starting a new thread for nearly the same future request? Is it important for you, that you can use your nautilus scrips? Or only to be able to run a script? The second future is exactly what the future request is about. If it's more important for you, that you can use your nautilus scripts in PCManFM leave a comment on the future request
maces
Re: "Scripts" option with right click
why you don't create a *.desktop file, which calls your script? You select the mimetype of files which use your script.
Example:
After perhaps it's useless to use a script for that
is enough
Example:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=enqueue to Audacious
Exec=$HOME/.gnome2/nautilus-scripts/Add to Audacious Queue
Icon=Audacious
Terminal=false
Type=Application
StartupNotify=false
Categories=GTK;AudioVideo;Video;Audio;Player;
MimeType=application/ogg;application/ram;application/smil;application/vnd.rn-realmedia;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-ogg;application/x-quicktime-media-link;application/x-quicktimeplayer;application/x-shorten;application/x-smil;application/xspf+xml;audio/3gpp;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/x-ape;audio/x-flac;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-sbc;audio/x-scpls;audio/x-tta;audio/x-vorbis;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/google-video-pointer;text/x-google-video-pointer;video/3gpp;video/dv;video/fli;video/flv;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/quicktime;video/vivo;video/vnd.divx;video/vnd.rn-realvideo;video/vnd.vivo;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-ms-asf;video/x-msvideo;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;audio/mp3;
Code: Select all
Exec=audacious -e %U
Re: "Scripts" option with right click
This is an easy way . Never thought about that, thx for that nice tip. Would you add this to the Wiki?
maces
maces
Re: "Scripts" option with right click
It's really nice idea, but I didn't understand it quite clear. After I create a *.desktop file, where I have to put it?Corto wrote:why you don't create a *.desktop file, which calls your script? You select the mimetype of files which use your script.
In /usr/share/applications ?
As I understood I had to see my option (ex. "enqueue to Audacious") in right-click "Open with..." menu branch in PCmanFM? Or not?
I'll be very glad to you, if you explain it more clear.
Thanks.
Re: "Scripts" option with right click
Just try, what you have described. This would be the right way
maces
maces
Re: "Scripts" option with right click
Tried, nothing changed in right-click menu of PCmanFM
Version of PCmanFM 0.5
Version of PCmanFM 0.5
Re: "Scripts" option with right click
Please post your *.desktop here.
maces
maces
Re: "Scripts" option with right click
the same was posted in message earlier:
But in LXDE panel menu topic "enqueue to Audacious" appeared.
On mp3 (for example) files right-click menu doesn't have any changes.[Desktop Entry]
Encoding=UTF-8
Name=enqueue to Audacious
Exec=audacious -e %U
Icon=audacious2
Terminal=false
Type=Application
StartupNotify=false
Categories=GTK;AudioVideo;Video;Audio;Player;
MimeType=application/ogg;application/ram;application/smil;application/vnd.rn-realmedia;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-ogg;application/x-quicktime-media-link;application/x-quicktimeplayer;application/x-shorten;application/x-smil;application/xspf+xml;audio/3gpp;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/x-ape;audio/x-flac;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-sbc;audio/x-scpls;audio/x-tta;audio/x-vorbis;audio/x-wav;audio/x-wavpack;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/google-video-pointer;text/x-google-video-pointer;video/3gpp;video/dv;video/fli;video/flv;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/quicktime;video/vivo;video/vnd.divx;video/vnd.rn-realvideo;video/vnd.vivo;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-ms-asf;video/x-msvideo;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;audio/mp3;
But in LXDE panel menu topic "enqueue to Audacious" appeared.
Re: "Scripts" option with right click
Have a look at the "open with" menu and it last menu item, click on it and you will find your *.dektop file.
maces
maces