Comment # 28 on bug 841070 from
So has anyone actually looked what the string 'xterm' is supposed to do in the
individual files? Try this:

view -bn `rpm -ql xinit xdm xdg-menu |xargs grep -wl xterm 2>/dev/null | sort`

Some places want to run a terminal in case the windowmanager does not start.
Some places just set the TERM variable, nothing wrong with that. Needs some
checking why it has to be done in that place.
startx seems to need just some $terminal
xdg_menu seems to need just some $terminal
xdg_menu_su seems to need just some $terminal
The various binary files have xterm hardcoded, I'm sure the just need some
$terminal.

So if it all is just about $terminal, just go ahead and provide a smart wrapper
to start such $terminal. I think similar functionality exists for web broswer,
email and likely more.

Let all pkgs have a "Provides $terminalapp", let the three pkgs above "Require
$terminalapp", replace the usage of "xterm" in the pkgs above with
"$runterminal --set-title $title --set-geometry $geo --set-bg $bg --set-fg $fg
--cmd $cmd". And that $runterminal thing is just a wrapper around
xterm|gnome-term|kde-term|xfce-term|mate-term|twm-term|rxvt-term|whatever-term
which translates the passed options to the installed terminal app. All options
are: optional. Make it so that it works also with just twm.

I think you get the idea.


You are receiving this mail because: