When Xfce is the only other DE installed (e.g. on the Xfce Live DVDs), the editor button in IceWM tries to run vi in a terminal. It would be nicer if it used mousepad (the default GUI-based editor for Xfce). This can be easily implemented by modifying /usr/bin/xeditor like so: --- xeditor.orig 2017-02-13 20:34:49.674630555 +0000 +++ xeditor 2017-02-13 20:35:09.378353022 +0000 @@ -36,6 +36,7 @@ [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which kwrite 2> /dev/null` [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which gedit 2> /dev/null` + [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which mousepad 2> /dev/null` if [[ -z "$TEXTEDITOR" ]]; then EMACS=`readlink /etc/alternatives/emacs`
(In reply to Martin Whitaker from comment #0) > When Xfce is the only other DE installed (e.g. on the Xfce Live DVDs), the > editor button in IceWM tries to run vi in a terminal. It would be nicer if > it used mousepad (the default GUI-based editor for Xfce). This can be easily > implemented by modifying /usr/bin/xeditor like so: > > --- xeditor.orig 2017-02-13 20:34:49.674630555 +0000 > +++ xeditor 2017-02-13 20:35:09.378353022 +0000 > @@ -36,6 +36,7 @@ > > [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which kwrite 2> /dev/null` > [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which gedit 2> /dev/null` > + [[ -z "$TEXTEDITOR" ]] && TEXTEDITOR=`which mousepad 2> /dev/null` > > if [[ -z "$TEXTEDITOR" ]]; then > EMACS=`readlink /etc/alternatives/emacs` Assigning to the registered maintainer.
Keywords: (none) => PATCHCC: (none) => marja11Assignee: bugsquad => shlomif
Reassigning to me, since I wrote xeditor.
Assignee: shlomif => luigiwalser
Fixed in icewm-1.3.12-12.mga6.
Status: NEW => RESOLVEDCC: (none) => jani.valimaaResolution: (none) => FIXED