Comment 21 for bug 778900

Revision history for this message
23dornot23d (keithaerospace92) wrote :

I did it like this - is this the correct way to do it ?

_________________________________________________

What did you change in here to make it work ok (please) ?
(but editing the .profile file worked)

Needs to do - if it does not exist then add it - otherwise ignore it ......

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

_________________________

so I suppose you could say

# set PATH so it includes /usr/games
if [ -d "/usr/games" ] ; then
PATH="/usr/games:$PATH"
fi

____________________
- will this work ok .... ?

JUST TRIED IT AND IT WORKS SO GUESS SO

Now Alt+F2 works .... gbrainy ...... not that I use it .... but who knows - I might now,

keith@keith-MS-7181:~$ gbrainy
gbrainy 1.65 (built on 2011-04-11 01:01:38 UTC)
Extensions database: /home/keith/.config/gbrainy
Games registered: 157: 60 logic puzzles, 11 calculation trainers, 10 memory trainers, 76 verbal analogies
Startup time 00:00:00.5510620