I was so sick and tired navigating to my development directory each time I opened a new terminal window that I decided to do something about it.
I discovered that you can create custom keyboard shortcuts in System Settings -> Keyboard ->Shortcuts. So I created one using the following details:
- Firstly open System Settings and select Keyboard from under Hardware:
- When in Keyboard select the Shortcuts tab:
- Click on Custom Shortcuts and select the plus (+) sign to create a new custom shortcut:
- In the dialogue that appears, input a name for your shortcut, then in the command field input your command, i.e.
gnome-terminal --working-directory=<path to folder you want to open>
Then hit apply.
- Then back in the keyboard dialogue select the shortcut youve just created and click over the shortcut area, “Create new accelerator” will appear. Press the keys you would like to use as the shortcut. (I suggest Shift+Alt+J“. This shortcut will now be set.
Can you improve on any of the tips I’ve discussed here? If you can let me know in the comments.