Programs run from terminal but not from menu
jan.listbox at belvento.org
Tue Oct 2 08:10:30 PDT 2001
Steve Bougerolle wrote:
> Either with startx or GDM, the problem is the same. Is there a particular
> place to set a path for the GNOME menu? If there is, it must be different
> from the Run command in the menu, because that works...
I don't want to dive in too deep here since I don't use GNOME. But
first off, I use startx mostly. I used to use KDM and/or XDM ...
Regardless, here is my setup. We use the same system-wide equivalents
of ~/.xinitrc and ~/.xsession.
/etc/X11/xinit/xinitrc -> xsession
==== for XDM and friends ====
/etc/X11/xdm/Xsession contains the following at the top:
# set the general environment
[ -r /etc/profile ] && source /etc/profile
if [ -r $HOME/.bash_profile ]; then
and it finishes off by pointing to:
==== /etc/X11/xinit/xsession ====
if [ -f $PRI_ENVKDE ]; then
echo "source $PRI_ENVKDE"
elif [ -f $ALT_ENVKDE ]; then
echo "source $ALT_ENVKDE"
The echo and printenv are the for diagnostic purposes. If needed, all
relevant info is now in x-$USER.log if $USER wants a log kept... I just
put the kde-related environment stuff in a separate file because if
X is not running we don't want our environment polluted with extra crap.
And besides, the three humans using this machine all use blackbox.
I don't know if any of this will help, but here it is anyway.
Of course, translate the above as appropriate for your system.
Especially if you use ~/.xinitrc and/or ~/.xsession instead of
the system-wide approach.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support