[forge-issues] [JBoss JIRA] (FORGE-466) Use "gnome-open" instead of "gedit" for edit command on Linux
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Wed Aug 22 13:17:15 EDT 2012
[ https://issues.jboss.org/browse/FORGE-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi closed FORGE-466.
---------------------------------
Resolution: Won't Fix
Check description above
> Use "gnome-open" instead of "gedit" for edit command on Linux
> -------------------------------------------------------------
>
> Key: FORGE-466
> URL: https://issues.jboss.org/browse/FORGE-466
> Project: Forge
> Issue Type: Enhancement
> Components: Builtin Plugins
> Affects Versions: 1.0.7.Final
> Reporter: Dan Allen
> Priority: Minor
>
> Use the more generic "gnome-open" to edit a file rather than "gedit". This is a very simple, one-line fix that can provide the ability to use an alternate editor in the short term until a formal configuration solution is implemented.
> sed -i 's/gedit/gnome-open/' shell/src/main/java/org/jboss/forge/shell/plugins/builtin/EditPlugin.java
> You may want to take it one step further and check if gnome-open is there. If not, try kde-open. As a last resort, you can just open the file normally (like the view plugin).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list