GNOME Bugzilla – Bug 601742
A certain file is executed when pressing "View", gedit isn't opened
Last modified: 2009-11-13 13:40:53 UTC
When double-clicking files that have the +x bit and can be executed you get a dialogue prompting you if you want to execute, execute in terminal or view the file. If you press view and the file has the content of what I'm going to provide it will be executed still. You have to create an executable file with this content: #!/bin/bash for x in `find . -type f`; do new=`echo $x | tr '[A-Z]' '[a-z]'`; mv $x $new; done Other files are opened with the default text editor, as they should be. This bug was originally reported by yetanotherhandle in Ubuntu on Launchpad, https://launchpad.net/bugs/364376
Downstream reports this bug has been fixed during the life of 2.27, so I'm marking this bug as resolved. Please reopen it if it does turn up again.