| Summary: | No working terminal in IceWM when Xfce is the only other DE installed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Martin Whitaker <mageia> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11 |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | desktop-common-data-6.4-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
Assigning to all packagers collectively, since there is no registered maintainer for this package. The suggested patch is in comment 0 Keywords:
(none) =>
PATCH commit 8db32886dbb09c88d8364568aaf443389d7a4abc
Author: Martin Whitaker <mageia@...>
Date: Wed Feb 15 20:21:10 2017 +0000
Raise precedence of xfce4-terminal in /usr/bin/xvt.
This ensures a working terminal in IceWM when Xfce is the only
other DE installed (mga#20278). Needed for the Xfce Live DVDs.
---
Commit Link:
http://gitweb.mageia.org/software/desktop/common-data/commit/?id=8db32886dbb09c88d8364568aaf443389d7a4abc
Tested on a Live DVD build. Status:
NEW =>
RESOLVED |
IceWM selects the terminal program to use via the /usr/bin/xvt script. When Xfce is the only other DE installed (e.g. on the Xfce Live DVDs, the first terminal program the xvt script finds is multixterm (which is installed by the expect package). However multixterm requires xterm to be installed, and the expect package neither requires nor recommends the xterm package. I suggest the best fix is to increase the priority of xfce4-terminal in /usr/bin/xvt, e.g --- xvt.orig 2017-02-13 20:36:37.121119887 +0000 +++ xvt 2017-02-13 20:37:09.711744777 +0000 @@ -52,12 +52,12 @@ [[ -z "$TERMINAL" ]] && TERMINAL=`which konsole 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which kterm 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which lxterminal 2> /dev/null` + [[ -z "$TERMINAL" ]] && TERMINAL=`which xfce4-terminal 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which multi-gnome-terminal 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which multixterm 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which rxvt 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which terminal 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which terminator 2> /dev/null` - [[ -z "$TERMINAL" ]] && TERMINAL=`which xfce4-terminal 2> /dev/null` [[ -z "$TERMINAL" ]] && TERMINAL=`which xterm 2> /dev/null` fi