MiniMe
June 6th, 2008, 03:03 AM
Hello,
I've written a very small script.
I gave it execute permissions under the file properties -> permissions tab. Whenever I click on the file I'm prompted "Do you want to run "filename", or display its contents?" I'd like to always run the file. Is there a way I can avoid clicking "run" when prompted and have the file always run when I click it?
I doubt the specifics of the script matters just in case: I created the script to kill wineserver because sometimes it consumes 100% of my cpu.
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/205895
The file contains:
#!/bin/bash
kill -9 `pidof wineserver`
kill -9 `pidof IEXPLORE.EXE`
Any help would be appreciated. Thank you in advance.
I've written a very small script.
I gave it execute permissions under the file properties -> permissions tab. Whenever I click on the file I'm prompted "Do you want to run "filename", or display its contents?" I'd like to always run the file. Is there a way I can avoid clicking "run" when prompted and have the file always run when I click it?
I doubt the specifics of the script matters just in case: I created the script to kill wineserver because sometimes it consumes 100% of my cpu.
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/205895
The file contains:
#!/bin/bash
kill -9 `pidof wineserver`
kill -9 `pidof IEXPLORE.EXE`
Any help would be appreciated. Thank you in advance.