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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2017, 11:55 AM
|
#1
|
Member
Registered: Aug 2012
Posts: 316
Rep: 
|
open home instead of Desktop when I log in?
instead of Desktop is there a way to set home as my default directory whenever i open a terminal? Just my own user preference
Thanks,
Todd
|
|
|
01-24-2017, 12:10 PM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
It probably already is. How are you opening the terminal?
|
|
|
01-24-2017, 12:21 PM
|
#3
|
Member
Registered: Aug 2012
Posts: 316
Original Poster
Rep: 
|
mouse right click on the screen, choose "Open Terminal" from the gui
|
|
|
01-24-2017, 12:28 PM
|
#4
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
On most systems that option is labeled "Open Terminal Here". It's going to the Desktop because that's where you right clicked. If you had a file browser open in another directory, right clicked, and picked that option it would likely open it in that directory instead. Opening the terminal through the applications menu or with a keyboard shortcut should open it up in your home directory.
|
|
|
01-24-2017, 12:41 PM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Todd:
Back in the day, gnome-terminal had just such an option.
Code:
gnome-terminal --working-directory=my/path/
So what terminal are we talking about please, or the OS version/"name"?
Please try to be specific. 
Thanks.
|
|
|
01-24-2017, 12:52 PM
|
#6
|
Member
Registered: Aug 2012
Posts: 316
Original Poster
Rep: 
|
suicidaleggroll - the "Open Terminal Here" option does not show up on the gui when I right click, only "Open in Terminal"
Habitual - I am running (it's my work machine so I am not able to change)
GNOME 2.28.2
Release 6.8
Kernel Linux 2.6.32-573.22.1.el6.x86_64
hopefully that's enough info on the system?
it seems to me that I should be able to put some sort of command in my .bashrc file to open the terminal in my home directory, but idk
|
|
|
01-24-2017, 01:46 PM
|
#7
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by atjurhs
suicidaleggroll - the "Open Terminal Here" option does not show up on the gui when I right click, only "Open in Terminal"
Habitual - I am running (it's my work machine so I am not able to change)
GNOME 2.28.2
Release 6.8
Kernel Linux 2.6.32-573.22.1.el6.x86_64
hopefully that's enough info on the system?
it seems to me that I should be able to put some sort of command in my .bashrc file to open the terminal in my home directory, but idk
|
suicidaleggroll is correct. The reason that it is opening up the terminal in your Desktop directory is because you are launching the terminal by right-clicking on the desktop (the same would apply for another directory where you right-clicked within that directory, Desktop is no different).
Depending on your distribution, you should have a terminal icon somewhere on your system panel - click on that instead to open the terminal. You should find that it opens in your home folder e.g. /home/atjurhs.
|
|
|
01-24-2017, 02:01 PM
|
#8
|
Member
Registered: Aug 2012
Posts: 316
Original Poster
Rep: 
|
that worked
I do have a "atjurhs Home" icon/link/shortcut on my desktop and right clicking on that does give me a terminal at my /home/atjurhs
I also put a "Terminal" icon/link/shortcut copied from the "Aplications/System Tools/Terminal" drop down and double clicking on that also gives me a terminal at the /home/atjurhs level.
Thanks!
|
|
|
All times are GMT -5. The time now is 03:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|