If you’re on Ubuntu and you have PyPi set-up you can install this Nautilus extension on Ubuntu quite easily.įirst install the dependencies: sudo apt install python-nautilus There you can find full install instructions covering a raft of Linux distros and setups, including Arch and Fedora. But it should prove to be a time saver or a convenience maker.Ĭheck the extension out on Github to learn more. I won’t pretend that having right-click access to open a folder in one of these apps is a life changing experience. This is a fairly expansive list that covers a wide array of terminal apps, from power-user tools like terminology to the super streamlined stars like st. If you’re reading from the future and a new one has been added do let me know via the tip form) can be gleaned below: This succinctly-titled extension for the Nautilus file manager allows you to specify which terminal app is launched.Ī full list of terminal emulators supported (at the time of writing the app continues to be developed and maintained. Which is presumably why “Nautilus Open Any Terminal” was created. There’s no way to configure the package to launch a different terminal app - not out of the box, and not easily. But that shortcut only works with GNOME Terminal. Ubuntu has a handy “Open in Terminal” option present in the right-click context menu of Nautilus default. running commands in the directory I intended and not one I mistyped! Plus (more importantly for a typo-prone input merchant like me) it ensures I end up in right place, i.e. It saves time you don’t need to navigate to a folder in the terminal using the cd command. So, I went straight back to the file '.Being able to instantly open a folder in a terminal on Ubuntu straight from the file manager has its advantages. Then I checked top to see what program is running while my terminal is open and it says it was mate-terminal. It was telling me can't find 'gnome-terminal'! It tried to run it, but showed an error which became the final solution to my problem. So, I have the executable 'open-terminal-here' in the folder '.config/caja/scripts/'. Now, just for curiosity I tried to run this executable from my home folder from the terminal. However, I forced to make it an executable again by running the command chmod +x. I realized that the file we made in the scripts folder 'open-terminal-here' is supposed to be an executable initially. Now, technically the shortcut is written and it should work, but it was not :( At some point, I think I have also used it, in the beginning, I was able to save changes properly. In that case, try to follow the steps explained here in this page. However, from the previous post I mentioned it seems like some people will still have problems editing the file, it gets rewritten automatically. I used both since I was not sure which will work better. But I kept caja all processes killed while doing this using the commands pkill -KILL caja While saving this file, I had no problem. Now, the line looks like this: (gtk_accel_path "/ScriptsGroup/script_file:\\s\\s\\shome\\sUSERNAME\\s.config\\scaja\\sscripts\\sopen-terminal-here" "F4") I used "F4" (this is because I am used with it from Opensuse) Now, inside the bracket in the second quote, I put the shortcut I needed. So I found this line (gtk_accel_path "/ScriptsGroup/script_file:\\s\\s\\shome\\sUSERNAME\\s.config\\scaja\\sscripts\\sopen-terminal-here" " ")Īnd removed the ':' and space at the end of the line Here in this file all lines starts with a semicolon( ), and I learnt that that means it is a commented line. Then as suggested in the next step I went to folder '.config/caja/' and opened the file named 'accels' using vim(or any other editor) in this file I could see the line about making a shortcut to open terminal in current directory and I was surprized. # You need to have caja-actions installed to use scripts. # Put this file in your ~/.config/caja/scripts/ directory. # Distributed under the terms of GNU GPL version 2 or later # This script opens a gnome-terminal in the current directory. But I saw that this folder is already there in my computer and the same text they asked me to write is written there too. In this website I found them asking me to make a file named 'open-terminal-here' in the folder '.config/caja/scripts/'. My file manager is Caja, and I am running Ubuntu-Mate. I found a solution to my problem, posting it here!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |