"Open Terminal" in my (Gnome) desktop's context menu opens a terminal in /home/marcus/
not /home/marcus/Desktop
. How can I fix change that?
2 Answers
You can just cd
into the desktop, i.e. cd Desktop/
. It only takes a couple of seconds to type.
-
1This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review Jan 22, 2019 at 9:57
-
It should let me post in the comments then rather than having to post a comment as an answer. I'm aware it's not a correct answer but it might be some help to someone new reading this who just want's a quick work-around.– JonJan 22, 2019 at 10:26
-
-
One could, if one wanted to or one could just use the name one's mother gave them.– JonJan 23, 2019 at 15:12
UPDATE:
Type the code bellow in your terminal:
echo "cd ~/Desktop" >> ~/.bashrc
Once that is done, press Ctrl+Alt+T. Now the terminal opens in ~/Desktop. In this case, we changed your default working directory in ~/.bashrc to ~/Desktop instead of ~.
Use:
echo "cd ~" >> ~/.bashrc
to restore back to default.
-
I think the OP wants the terminal to be opened in the Desktop folder or, more generally, in the folder where she opened the context menu. Also, changing the value of
$HOME
is not a good idea; there are better ways to open a terminal in a different folder.– danzelJan 21, 2019 at 16:37 -
Agreed, changing the $HOME value is a bad idea, that is why I suggested further reading on the matter before acting. Concerning better ways to open a terminal in a custom directory, right-clicking inside a directory of your choice and selecting "open in terminal" would do the job. Also the OP says specifically the need is to open Terminal in "Home", not "Desktop".– nic3tsJan 21, 2019 at 16:54
-
I understand the question as follows: ""Open Terminal" in my (Gnome) desktop's context menu opens a terminal in /home/marcus/..." (<-current behaviour) "... not /home/marcus/Desktop" (<- desired behaviour).– danzelJan 21, 2019 at 17:11
-
OP changed his question from "fix" to "change", so, right you are sir. I updated my answer :)– nic3tsJan 26, 2019 at 15:37
nautilus-extension-gnome-terminal
do that. But when same is done at desktop that extension doesn't work.~
when it should have been opened in~/Desktop
.~/Desktop
) it says "Open Terminal". So, "open terminal" just opens terminal where it is intended to be, i.e.~
. Moreover I don't see this as a problem but "a customization"Open in terminal
, but that's what I'd like to have. To open in$HOME
I, of course, use Ctrl+Alt+T.