Find the answer to your Linux question:
Results 1 to 4 of 4
Hello all, When I log in as my main user account (the one I created first) all the folders, files, etc. have nice colours to them. However, when I log ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    59

    Colour on terminals

    Hello all,

    When I log in as my main user account (the one I created first) all the folders, files, etc. have nice colours to them.

    However, when I log in as another user, or use "su" to switch users, the colours go away... Any idea how to apply terminal colours to all users?.. Or more importantly, any idea why this is the default setting? Maybe it's like a notice to tell you that you are not logged on as the main user? I dunno...

    Thanks!

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Posts
    12
    I am not sure as to if you can apply the same theme to all users just by installing it in one users desktop. You can manually download and apply your desired theme or if its a preloaded theme you can just apply it and if required customize it the way you want it.

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    There are a variety of possible configuration files used for the shell, but since this seems user specific, you'll want to look at ~/.bashrc and ~/.bash_profile. Copy these files to the other user's home directory and you will have the same configuration.

  4. #4
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    If you look in your .bashrc, you'll probably find the instruction "alias ls ls --color". This treats any call to ls as if you had asked for a coloured listing. Put this command into any user's .bashrc and they will get the colour effects.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

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