home | list info | list archive | date index | thread index

Re: launching python3 script in Linux Mint etc.

To follow up, it appears that Caja, the file manager for Linux-Mint
MATE, may be the culprit here, as Thunar seems to work fine. Nautilus
also seems to give the same problems as Caja on my Linux Mint 20
setups (reproduced on 2 machines). I've no idea what is going wrong,
and why particularly on my script but not other apps. Maybe some back
and forth discussion with one or two other users may reveal what is
going on. Since Thunar works, I have a work around, but it would be
nice to know the source of this glitch.

JN




On 2020-10-13 7:59 p.m., Rick Leir wrote:
> John
> Please post the script.
> --Rick
> 
> On October 13, 2020 12:25:40 p.m. EDT, J C Nash <profjcnash [ at ] gmail [ dot ] com>
> wrote:
> 
>     I've a small script I wrote in Python / tkinter to caption jpeg files.
> 
>     I'd like to have Nautilus/Caja (both seem to give similar issues) launch this
>     under "open with". Looking at some web postings, there are different recommendations,
>     such as creating a shell script first. And it seems I need to look in the mimetypes.list
>     file and point to an appropriate .desktop file.
> 
>     The usual Right-Click / (File) Properties / Open With  allows me to add a pointer to either
>     my script or a bash script that calls it. But when I try "open with other application" and
>     choose one of these, nothing happens. I suspect I've not got an appropriate .desktop file,
>     and/or not included it correctly in the mimetypes.
> 
>     Can anyone point me to a good reference or tutorial on this. I can get my script to
>     run under Double Commander, but would like to be able to run it under the "standard"
>     file manager(s). I suspect a lot of web postings are incomplete.
> 
>     Best,
> 
>     John Nash
> 
>     To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
>     To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
>     To visit the archives: https://lists.linux-ottawa.org
> 
> 
> -- 
> Sorry for being brief. Alternate email is rickleir at yahoo dot com

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org

message navigation