![]() ![]() # Note that you need to have caja-actions installed to use scripts. # This script opens a mate-terminal window in the current directory. Paste the following code into it: #!/bin/sh When it comes to creating scripts, most guides out there err on the side of caution and instruct you to create file-names all in lower-case, and with dashes replacing spaces, like open-terminal-here, but there is absolutely no reason for this – your scripts will work just fine with names like Open Terminal Here, and will look nicer in the Scripts sub-menu:Ĭreate a text file called Open Terminal Here for the script in ~/.config/caja/scripts/ with: pluma ~/.config/caja/"Open Terminal Here" Note that you can use another function key, or assign a key-combo, as long as it isn’t already being used for another task, but the F4 is a great choice, as it isn’t already used by Caja or the system. For me, hitting the F4 key is quicker and easier than clicking a toolbar button, so I’ll show you how to create the script and assign a hotkey to it. And the best part is you can even assign an accelerator (keyboard shortcut or hotkey) to it. But it seems there is a general issue with Caja extensions being that they cannot set keyboard shortcuts for their menu items, because libcaja-extension doesn’t provide this ability.īut you can get around this with a script, and you don’t even need to have caja-open-terminal installed, as long as caja-actions is installed (run sudo apt-get install caja-actions if it isn’t). I couldn’t find a way to add an Open in Terminal button to Caja’s toolbar, likely because it is provided by an extension, not built into Caja, so I wanted to see if I could create a keyboard shortcut for it. While in Nautilus the only way to access that is via a right-click, in Nemo you can actually add a button for it to the toolbar. Myself, I don't use these in-application-window terminals much, instead, I have put a global shortcut to open a konsole window on F12, so every time I need a terminal I just F12 and go to where I need to go to do.One option that most Linux users find invaluable is being able to open a terminal pointing to the current folder, and while file-managers like Nautilus, Nemo and Caja don’t ship with that by default, it’s easily installed with a plugin or extension: nautilus-open-terminal, nemo-terminal and, in the case of Caja, caja-open-terminal (which also gets installed with the caja-extensions package). Select a key that has not previously been assigned as a shortcut, and off you go, just the way you like it. When you do this, you will be presented with a popup where you can enter your own keyboard shortcut to open the terminal window in Kate. Set the radio button switch to "Selected" and click the big blobby sign (supposed to look like a key on your keyboard or something) saying Below the action list you will find a dialogue for setting the shortcut button. ![]() Scroll down to Kate.show terminal (click that line). In the keyboard shortcuts menu, you will be presented with a list of actions that you can assign short cuts to. ![]() On the top menu bar, go to Preferences>set up keyboard shortcuts. With this little disclaimer, here is how to do it: There is only one little problem in this explanation: my menus are norwegian and even though I will try to translate it back to english I may not be completely correct in naming menus and buttons in english. One of the best aspects about KDE applications is that most things can be customized so that you get it just the way you like it. I assume you mean a terminal inside the Kate application window, right? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |