GNOME Bugzilla – Bug 602932
gedit can not run if filesystem path contains spaces
Last modified: 2009-11-28 18:22:29 UTC
If the path to the gedit application bundle contains spaces, gedit fails to launch. Running gedit from the command line in Terminal.app produces the following if the path to gedit contains a space: /Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 14: cd: /Applications/Additional: No such file or directory /Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 56: /Contents/MacOS/gedit-bin: No such file or directory /Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 56: exec: /Contents/MacOS/gedit-bin: cannot execute: No such file or directory /Applications/Additional Applications/gedit.app/Contents/MacOS/gedit: line 54: /Contents/Resources/libexec/gconfd-2: No such file or directory When gedit is launched from the Finder in this case, the MacOS visibly launches gedit (the icon does the launch thing), but gedit silently fails and never appears in the Dock. Moving gedit to a folder that does not have any spaces in its path allows gedit to work as expected.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.