![]() ![]() Significantly, shortcuts can improve our skills and save our time. The command-line and terminal evidently play an important role for almost all Linux users. Linux operating system is very flexible that we often can get the similar output in many different ways. In Linux, there are several shortcuts of the terminal that all users should practice and know. This method will not override existing combos.Shortcut helps us to be more efficient and productive with whatever tool we use. Note that you shouldn't set it to an existing combo such as the default Ctrl-Alt-T to open a terminal at your ~ directory. ![]() ![]() Now you should see that button combination on the drop-down menu, and should be able to use it. Except this time, gently move your mouse (or keyboard scope) over to that option, and press a button combination (I like to use Ctrl-Alt-H meaning "open terminal HERE"). Go to the alt-menu at the top, look under "Files", and spot the option "Open in terminal" as always. Navigate to and observe a checkbox with description "Can Change Accels". So for those of you who may be looking for a way to do this in Caja on the MATE Desktop, here's something that may work (it worked for me):įire up dconf-editor from your start menu (or alternatively, from the terminal). I understand that an answer is already provided and accepted, but I stumbled across this from my Ubuntu MATE configuration using the caja file manager, and naturally, couldn't readily apply any of these solutions. However, there exists an additionally installable package to extend Nautilus' capabilities to open a folder in a terminal (see the answer of I know that "Open as root" was not a feature requested by the OP, but I think it's related and not less useful than "Open in a terminal". The file manager Nautilus (part of the Unity DE, default for normal Ubuntu) provides neither of the two features built in nor the possibility to create custom context menu entries. Please leave me a comment if anybody is interested. I can expand my answer and add a more detailed explanation on how to create a custom context menu entry in Thunar. You can specify the command to execute, which parameters to give it and on which kinds of files/directories to show it. I added an "Open as root" for directories myself. As an example, there is "Open a terminal here" included. The file manager Thunar (part of the Xubuntu/XFCE DE) even provides a feature to simply create user defined tasks that appear in the context menu. ![]() The file manager Nemo (part of the Cinnamon DE) has a built-in context menu option to both "Open as root" and "Open in a terminal". Here is a small overview about the three file managers I know: Next, add cd, so that the whole line is cd '/home/serg/bin'. Drag and drop the folder you want to access into terminal, and add cd to the path.įor instance, if I want to access bin directory in my /home/serg/ directory, i would drag that directory to terminal and it would appear as '/home/serg/bin'. Alternative, use run dialog to launch gnome-terminal -working-directory= and paste whatever you copied after = sign.ĭrag and drop: Drag the button/tab (not sure how it's called) into terminal, add cd in frontĪnother way: Open the file manager and terminal. Cut that out with Ctrl X, and paste into terminal with Ctrl Shift V or right click. You might be more interested in other file managers that support this option out of the boxĪs a workaround you could try the following:Ĭtrl+ L willopen the text filed for entering address, with the current working directory highlighted. Technically nautilus, the default file manager, doesnt have open terminal here option, but there is a plug in for that in the repositories. Will work for other file managers that don't support this option,too Sure, it is not a right click type of thing, but it works and can be implemented quickly. IMHO, this is as "native" as it gets and doesn't require additional installation. Terminal should pop-up with the directory that you told the dialog to open. Lauch the shortcut you just created and paste the address with Ctrl+ V in to the dialog. Copy the address of your current directory with Ctrl+ X. Now, when you are in some directory in nautilus, press Ctrl+ L to open address bar. OPENDIR=$(zenity -entry -text="Type or paste address") gnome-terminal -working-directory="$OPENDIR" &īind that script to a shortcut, for instance Ctrl+ Alt Create a simple script opendirectory.sh with the following contents #!/bin/sh ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |