llanitedave
January 30th, 2013, 03:28 AM
I have a Python program that I run at various times from three different desktops: Windows 7, Xubuntu, and Kubuntu. It resides on a common NTFS partition accessible from all three.
In Windows 7 and Xubuntu, I need only double click on the program icon or shortcut, and it opens with no issues. On KDE, though, it insists on opening up into the default programming editor nd being run from there.
Checking the Properties of the file, the executable bit is not set on KDE, and it doesn't want to set manually. If I set it manually, it goes back to unset as soon as I leave the window. It IS set when I look at it through Xfce, though.
I really thought this was a file property, not a DE property. Why is it set on one environment but not the other? I should have the same privileges on each, unless KDE has a different privilege system.
And in case anyone asks, yes the "#!/usr/bin/env python" shebang line is in place.
In Windows 7 and Xubuntu, I need only double click on the program icon or shortcut, and it opens with no issues. On KDE, though, it insists on opening up into the default programming editor nd being run from there.
Checking the Properties of the file, the executable bit is not set on KDE, and it doesn't want to set manually. If I set it manually, it goes back to unset as soon as I leave the window. It IS set when I look at it through Xfce, though.
I really thought this was a file property, not a DE property. Why is it set on one environment but not the other? I should have the same privileges on each, unless KDE has a different privilege system.
And in case anyone asks, yes the "#!/usr/bin/env python" shebang line is in place.