LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 07-02-2013, 05:38 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Rep: Reputation: Disabled
Can I set terminals' default directory to each different ones?


I have 3 terminals on my Debian wheezy.
they are Gnome Terminal, Terminator and Guake.

Can I set their default directories to each different ones.
Eg:
I want to set Gnome Terminal's default directory to ~/Desktop ,
Terminator default directory to ~/Download and
Guake's default directory to ~/mybin .

how can I do it?
 
Old 07-02-2013, 06:02 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Just some ideas.

Maybe the $0 variable could help. Dunno if it will be set different but worth a try. Or check out the $SHELL enviroment variable. Just check out the output of the env command and see where the three differ.
Then edit your .bashrc or .profile file inside your home directory.
 
Old 07-03-2013, 01:24 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Please post your questions only once. If you make a mistake and double post or put it in the wrong place, just use the "report" button and ask a moderator to correct it for you.

http://www.linuxquestions.org/questi...es-4175468139/

I'm reporting this thread for closure, since the other has more replies.
 
  


Closed Thread



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I set terminals' default directory to each different ones? mshlinux Linux - Newbie 4 07-03-2013 01:34 PM
[SOLVED] Howto set default download directory to one on the network? hdp160 Linux - Newbie 2 08-27-2012 09:24 AM
Set default file/directory permissions replica88 Linux - Newbie 2 04-04-2010 10:12 AM
set default umask to a directory or a group luvlinux2009 Linux - Security 4 09-17-2009 08:54 PM
How do I set a default directory upon login with Samba? frentzel Linux - Networking 2 07-20-2006 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration