
- Add open in terminal to nautilus un ubuntu 16.04 how to#
- Add open in terminal to nautilus un ubuntu 16.04 install#
Load up Terminal and run the following command: xev | grep ', button' This code will vary based upon the model of mouse you have and how many buttons it has. Finding the Mouse Button CodesĮach mouse button has a specific code. If you get errors, leave a comment with the errors you received, and I’ll see if I can help you out.
Add open in terminal to nautilus un ubuntu 16.04 install#
If the packages install successfully, you’re ready for the next step. The xev program provided by the x11-utils package will be used in the next step to find out your individual mouse button codes for use later. Note: In Ubuntu versions before 9.04 (Jaunty Jackalope), the x11-utils package needs to be swapped for xev. To install the packages in Ubuntu (or other APT-based distros such as Linux Mint, Debian, etc), simply run the following command in Terminal (Applications > Accessories > Terminal): sudo apt-get install xvkbd xbindkeys x11-utils

Combining the two gives us the functionality we are looking for. xvkbd is a command line program that can emulate key presses. xbindkeys is a program that can be configured to run commands when certain key events are seen. To add this functionality, we’re going to use xvkbd and xbindkeys. The solution is to add software that can listen for the mouse buttons and send the corresponding keystrokes when a button is pressed. You can use Alt+Left to go back and Alt+Right to go forward.

Just like Firefox and many other applications, Nautilus has keyboard shortcuts that can be used to navigate backwards and forward through your directory path navigation. I have also discovered that there is a way to add this functionality.
Add open in terminal to nautilus un ubuntu 16.04 how to#
On the Ubuntu Brainstorm site where people share ideas on how to improve Ubuntu, there is an idea topic and three duplicate topics all talking about adding this feature. I found out that I’m not the only one who is irritated by the lack of back/forward navigation via the mouse. Naturally, I started to dig into the problem. However, this function doesn’t work in Nautilus for Gnome, which is the default file browser for Ubuntu. I’m used to my back and forward buttons on my mice being able to move backwards and forwards through file browsers.
