/usr/games not in PATH (i3wm, BASH as default, using fish shell)

Hörmetjan Yiltiz hyiltiz at gmail.com
Fri Sep 11 15:23:07 UTC 2015

Thank you Tom!

Did it via ~/.xseesionrc, which I preferred. Never liked the idea of
setting it directly at /etc/.

He who is worthy to receive his days and nights is worthy to receive all
else from you (and me).
                                                 -- The Prophet, Gibran

On Sat, Sep 5, 2015 at 4:19 AM, Tom H <tomh0665 at gmail.com> wrote:

> On Fri, Sep 4, 2015 at 6:31 PM, Hörmetjan Yiltiz <hyiltiz at gmail.com>
> wrote:
> >
> > I have previously reinstalled my system using the live images, and kept
> my
> > system updated with the US main FTP archive with `apt-get update` and
> > `apt-get upgrade` and `apt-get dist-upgrade`. I installed KDE as my
> default
> > desktop, installed i3wm which I am using it mainly now since it is quick
> and
> > fast and using SSCM as my login manager. My default shell is /bin/bash.
> >
> > The problem is, when logged in using SSCM, the PATH is only /bin /usr/bin
> > /usr/local/bin. Seemingly, my /etc/profile, ~/.profile has not been run
> by
> > the login program. I hate to set the PATH in the .bashrc or fish.config
> > (which I mainly use), but I am not sure where to look at: whether it is
> an
> > i3wm specific issue (KDE also could not find /usr/games among others in
> the
> > PATH), or SSCM issue. I tried logging in using TTY1 or su - command, and
> > they include all the PATH as expected.
> PATH is set via pam and "/etc/environment". Since you're getting it
> for a non-DM login, all's well there (although su to root shouldn't
> have any games path so I hope that you mean "su -l" to a non-root
> user).
> IF YOU MEAN SDDM, read on... (A big if it seems to me!)
> I don't use sddm but you should be able to set PATH via "~/.xsession"
> or "~/.xsessionrc".
> But if you need the above, you might want to file a bug report. sddm
> must have a compile-time default or an sddm.conf-type file (or both)
> to set a default PATH.
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150911/af301def/attachment.html>

More information about the ubuntu-users mailing list