LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-16-2006, 06:09 AM   #1
mareid
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Changing default terminal login directory


Much as I love Mandriva, it has one maddening feature: when I start a terminal, it drops me into ~/Desktop, whereas I'd prefer to start in ~/ as on most other distributions. I know there's a cleverer fix for this than simply adding "cd ~/" to my .cshrc file or something similar. This behaviour is governed by some parameter somewhere. Can anyone help me figure this out, please?
 
Old 06-17-2006, 10:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Hi,

And welcome to LQ!

I can't understand why anyone would want to use csh these
days, but ... ;}

Have a look at all of the following files:
Code:
FILES
       /etc/csh.cshrc  Read  first  by  every  shell.   ConvexOS,
                       Stellix and Intel use /etc/cshrc and NeXTs
                       use /etc/cshrc.std.  A/UX, AMIX, Cray  and
                       IRIX  have  no  equivalent  in csh(1), but
                       read this file in  tcsh  anyway.   Solaris
                       2.x  does  not  have  it  either, but tcsh
                       reads /etc/.cshrc.  (+)
       /etc/csh.login  Read by login shells after /etc/csh.cshrc.
                       ConvexOS,    Stellix    and    Intel   use
                       /etc/login,  NeXTs   use   /etc/login.std,
                       Solaris  2.x  uses  /etc/.login  and A/UX,
                       AMIX, Cray and IRIX use /etc/cshrc.
       ~/.tcshrc (+)   Read by every shell  after  /etc/csh.cshrc
                       or its equivalent.
       ~/.cshrc        Read  by every shell, if ~/.tcshrc doesn't
                       exist, after /etc/csh.cshrc or its equiva-
                       lent.   This  manual  uses  `~/.tcshrc' to
                       mean `~/.tcshrc or, if  ~/.tcshrc  is  not
                       found, ~/.cshrc'.
       ~/.history      Read  by  login  shells after ~/.tcshrc if
                       savehist is set, but see also histfile.
       ~/.login        Read by login shells  after  ~/.tcshrc  or
                       ~/.history.   The shell may be compiled to
                       read  ~/.login  before  instead  of  after
                       ~/.tcshrc  and ~/.history; see the version
                       shell variable.
       ~/.cshdirs (+)  Read by login  shells  after  ~/.login  if
                       savedirs is set, but see also dirsfile

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change default bash directory in gnome-terminal ming0 Linux - Software 5 10-01-2009 06:54 PM
changing the default language for a terminal paranoid times Linux - Software 3 04-03-2006 03:25 AM
Changing directory color in terminal...evading me. Reefcrazed Linux - Newbie 0 07-04-2004 10:01 AM
changing Up2date default installation directory ! mchenrytl Red Hat 1 09-25-2003 07:27 AM
Changing default directory / vsftpd chrisknight Linux - Software 5 03-27-2003 06:16 AM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration