Results 1 to 7 of 7

Thread: KDM not recognizing that /usr/games is in my path

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    KDM not recognizing that /usr/games is in my path

    If i log in a console, /usr/games is in my path, but when I log into KDM it is not. My kdm-config file has /usr/games in it, and it is the only path there that doesn't work. Any ideas?

    Mike

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    From konsole in KDE
    bash-2.05b$ echo $PATH
    /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin

    Then when I hit ctrl+alt+f1 and log in
    bash-2.05b$ echo $PATH
    /usr/local/bin:/usr/bin:/usr/games:/bin:/usr/bin/X11

  3. #3

    Re:KDM not recognizing that /usr/games is in my path

    hello mike,
    the path really should be the same for both, i would edit my ~/.bashrc file or ~/.bash_profile and see what the path is getting set to. I am not a kde user - but i gott assume they ar enot messing with environment varibles.

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Actually I don't have a .bashrc or bash_profile, however, I do have an /etc/bash.bashrc.

    # System-wide .bashrc file for interactive bash(1) shells.

    shopt -s checkwinsize

  5. #5
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Well, I figured it out, but it still doesn't make sense to me. I had to add --login after the #!/bin/sh at the beginning of my kde2.sh startup script. What I don't understand is without the --login, it set every directory in my /etc/profile except the /usr/games dir.

  6. #6

    Re:KDM not recognizing that /usr/games is in my path

    edit!

    wow - good find mike!

  7. #7
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Thanks, I just got desperate and started reading the bash man page LOL. Once I seen the --login oprion I did a google search and eventually it led me to a gentoo linux faq, where I found the answer
    .

Similar Threads

  1. setting PATH environment variable
    By omidkamangar in forum Linux - General Topics
    Replies: 2
    Last Post: 04-20-2007, 11:10 PM
  2. Upgrading and setting PATH
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-01-2002, 05:45 PM
  3. Superuser Path
    By WarLockLord in forum Linux - Software, Applications & Programming
    Replies: 30
    Last Post: 07-20-2002, 02:39 AM
  4. Path question
    By PatC in forum Redhat / Fedora
    Replies: 3
    Last Post: 07-10-2002, 11:14 PM
  5. Font problem?
    By Black666 in forum Linux - General Topics
    Replies: 2
    Last Post: 05-12-2002, 02:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •