LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 06:38 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 154

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, 07: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, 02:24 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958
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


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 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 02:34 PM
[SOLVED] Howto set default download directory to one on the network? hdp160 Linux - Newbie 2 08-27-2012 10:24 AM
Set default file/directory permissions replica88 Linux - Newbie 2 04-04-2010 11:12 AM
set default umask to a directory or a group luvlinux2009 Linux - Security 4 09-17-2009 09:54 PM
How do I set a default directory upon login with Samba? frentzel Linux - Networking 2 07-20-2006 07:42 AM


All times are GMT -5. The time now is 01:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration