12

In vanilla Ubuntu, there is a quite useful application called Nautilus-open-terminal, which allows the user to open the terminal in any folder by simply right-clicking and selecting "Open in terminal".

Lubuntu uses PCManFM, not Nautilus, so installing this program would be useless. Is there another way to achieve this right-click option?

11

Well, given that Lubuntu is thought of as a "lighter" distro, we'll find quite a few favorite features totally missing or not where we'd expect them to be. In this specific case, if you navigate to a particular folder in PCManFM, please press F4 to open a terminal in the current folder. (You can see the F4 option and others such as "Open Current Folder as Root" in the Menu, Tools dropdown of PCManFM.)

This doesn't mean that there isn't a way to add the "open terminal here" to PCManFM's right-click menu. But I don't know of one. Instead, I've installed Thunar, the file manager by default in Xubuntu, and that does have the option you want along with useful things like Custom actions.

8

Edit (2015-05-06): Technically, as of when this answer was originally answered, the answer is "No, you cannot add this functionality in any way". However, this may mean I simply do not know if there is a way.

Ah, I finally noticed how PCManFM does it while watching a video review of said OS.

To open a terminal in a folder, simply move "outside" the folder, right-click on said folder, and the option to open folder in terminal will be in the right-click menu.

For example, say I want to open a terminal in my "Downloads" folder:

  1. Move "outside" or "above" the folder, which in this case would be my home folder, /home/lubuntuUsername
  2. Right-click on the "Downloads" folder
  3. Select "Open in Terminal"

After following these steps, a terminal should open, with the path set as lubuntuUsername@computerName:~/Downloads$

  • This is not an answer for "Can I add “open in terminal” to the right-click mouse menu in Lubuntu?" .. For example when you need it, when you right click on desktop its a pain.. you have to open desktop folder from navingating to / ---> home--> user name ---> desktop and rightclick – Aravinda May 6 '15 at 9:33
  • Then, arguably, the answer is "No", as far as I or the poster of the other answer knows. If someone posts a solution here that is closer to the desired effect, then I would accept it; as it stands, however, this is the best solution. – DaimyoKirby May 6 '15 at 11:37
  • @Aravinda also, technically this answer implies that it is indeed already in the right-click menu, it just has to be accessed in a different way than how other distros do it. I will revise my answer to fit the exact question I posed. – DaimyoKirby May 7 '15 at 2:42
2

According to Add Open Folder as Root to PCMan File Manager's context menu , you can create terminal.desktop in ~/.local/share/file-manager/actions/

And add content like this

[Desktop Entry]
Type=Action
Tooltip=Open Terminal
Name=Open Terminal
Profiles=profile-one;
Icon=utilities-terminal


[X-Action-Profile profile-one]
MimeTypes=inode/directory;
Exec=deepin-terminal -w %f
Name=Default profile

I use Deepin Terminal so my Exec is deepin-terminal -w %f. You should change this if you use other terminal. For example, you can use gnome-terminal --working-directory %f for Gnome Terminal.

1

No you cannot access it via right click method. Alternative approach is to:

  • Go to that folder you want to open

    • click on the 'Tools' menu.

    • There is an option to 'Open Current Folder In Terminal'

alternatively you can go to that directory and use f4

i assume you are using PcManFM, the default FM

  • 1
    How is your answer any different from the top answer? – user68186 Oct 28 '17 at 12:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.