Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: ubuntu terminal login script?!?
  

Results 1 to 4 of 4
  1. #1 ubuntu terminal login script?!? 
    Simon66 is offline Member
    Join Date
    Aug 2010
    Posts
    255
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    3
    ok. Im trying to install the ps3 toolchain by oopo on my ubuntu PC and when he says

    "Add the following to your login script:

    export PS3DEV=/usr/local/ps3dev
    export PATH=$PATH:$PS3DEV/bin
    export PATH=$PATH:$PS3DEV/ppu/bin
    export PATH=$PATH:$PS3DEV/spu/bin"

    Where is my login script? I searched and i couldn't find nothing.

    I know where it is on Cygwin. But not in terminal
    Reply With Quote  

  2. #2  
    RatAndDragon is offline Member
    Join Date
    Sep 2010
    Posts
    348
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    4
    In your home dir on the ubuntu system you should have a .bashrc, a .profile file or both.

    Add these lines to one of those and then start a new terminal window, see if the settings too hold by typing "echo $PS3DEV". If not, you chose badly, try the other one!
    Reply With Quote  

  3. #3  
    chocobo is offline Member
    Join Date
    Sep 2010
    Posts
    198
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by Simon66 View Post
    ok. Im trying to install the ps3 toolchain by oopo on my ubuntu PC and when he says

    "Add the following to your login script:

    export PS3DEV=/usr/local/ps3dev
    export PATH=$PATH:$PS3DEV/bin
    export PATH=$PATH:$PS3DEV/ppu/bin
    export PATH=$PATH:$PS3DEV/spu/bin"

    Where is my login script? I searched and i couldn't find nothing.

    I know where it is on Cygwin. But not in terminal
    Add those lines to ~/.bashrc.

    # nano -w ~/.bashrc
    <add lines, CTRL+O to save, ENTER, CTRL+X to exit>

    ~ means 'home directory'.
    Reply With Quote  

  4. #4  
    Simon66 is offline Member
    Join Date
    Aug 2010
    Posts
    255
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    3
    Quote Originally Posted by chocobo View Post
    Add those lines to ~/.bashrc.

    # nano -w ~/.bashrc
    <add lines, CTRL+O to save, ENTER, CTRL+X to exit>

    ~ means 'home directory'.
    Thanks.. I knew it had to do with bash, but I was thinking that the file was called ".bash_login".... Silly me :P
    Reply With Quote  

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