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

-- 
You received this bug notification because you are a member of Team UGR,
which is subscribed to ugr-meta.
https://bugs.launchpad.net/bugs/778900

Title:
  Cannot start games, wrong $PATH

Status in Ubuntu Gnome Remix Metapackages:
  Confirmed

Bug description:
  can't start foobillard or any other game that is located in /usr/games
  ,from the menu or from any location Inside a terminal  because
  /usr/games isnt't in the Environment Variable Path.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ugr-meta/+bug/778900/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntugnometeam
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntugnometeam
More help   : https://help.launchpad.net/ListHelp

Reply via email to