villatank.blogg.se

Open terminal ubuntu shortcut
Open terminal ubuntu shortcut












open terminal ubuntu shortcut

#Open terminal ubuntu shortcut how to

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.

open terminal ubuntu shortcut

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

open terminal ubuntu shortcut

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














Open terminal ubuntu shortcut