How can I set up some quick access ubuntu terminals to directories other than the user's home?
Create custom keyboard shortcuts. E.g. pressing Ctrl + Alt + J
to open Terminal in a specific directory is blazingly fast.
In Ubuntu 11.10 you can do this by going to System Settings > Keyboard > Shortcuts (tab)
.
In the command field of a new custom keyboard shortcut window, type gnome-terminal --working-directory=/path/to/dir
.
To change the keyboard shortcut to open Terminal in the default directory (default is Ctrl + Alt + T
), look for the launcher shortcuts ("Launchers").
Check out Apparix. To install it run sudo apt-get install apparix
then apparix --shell-examples
.
Once you install this, it basically is a bookmark manager for your terminal. Run bm <name>
to bookmark your current path as a custom name, then use to <name>
to go to that location later.
You can edit ~/.bashrc
and add the line CD /path/to/desired/directory
. Everytime you open a new shell, it'll default to that directory.
You can give gnome-terminal a working directory. If you add a terminal applet to a panel, you can then get its properties and put the options to do this in the command
field. Like this for the Desktop
directory:
gnome-terminal --working-directory Desktop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With