I have some helpful tips that I have come accross and want to remember in this wiki
And I have my installation instructions from the last time I set up ubuntu 18.04 on my computer in this one
Ubuntu 20.04 install instructions
Ubuntu 22.04 install instructions
These are the files in my repo along with some instructions on how to use them
- resetusb.sh --resets usb drivers on computer. I use this when my computer stops detecting stuff like my keyboard
- setupvim.sh --Sets up vim how I like it. for the clipboard sharing to work, I think vim-gtk needs to be installed
- atom_files/install_atom.sh -- sets up atom the way I like it
The next few files are to set up terminator to run like guake (located in the terminator_files folder)
-
terminator config --sets up shortcuts for terminator to work how I like it. first install terminator
sudo apt install terminator
then copy the terminator folder into the .config folder in homecp -r terminator ~/.config/
then set the default terminal back to gnome-terminal.wrapper withsudo update-alternatives --config x-terminal-emulator
so Ctrl+Shift+T still opens a normal terminal. [If theterminator-daemon
andterminator.desktop
files are used then this next step is unnecessary because there will always be an instance of terminator running] then create a new keyboard shortcut for terminatorSettings->Devices->Keyboard->New Custom Shortcut
with the following information -
terminator-daemon -- this file will auto re-launch terminator if it is ever closed so that it behaves like guake. copy it into
/usr/local/bin
and make sure it is executable -
terminator.desktop -- this needs to be placed in the
~/.config/autostart
folder so that it will run theterminator-daemon
script on start to keep terminator always running. Now F1 will always bring up terminator. -
[this doesnt always work so I dont use it anymore] callterm.sh --alternatively, copy this file into /usr/bin and make sure it is still executable. then set the F1 key as the shortcut to callterm.sh. This will open an instance of terminator if there is not one already open. Or if there is one already open, it will show it (F1 is already the hide/show key for terminator in the config file)
-
.aliases -- aliases for navigating faster
-
.vimrc -- personal vim settings. need to firs install vundle with
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
then run :PluginInstall to add plugins. You complete me must also be installed from source withcd ~/.vim/bundle/YouCompleteMe
then./install.py --clang-completer
more info from Devon's repo here to get rid ofDisabling ros.vim: Vim with +python is required
error runsudo apt install vim-gtk-py2
thensudo update-alternatives --config vim
then choose the gtkpy2 option -
.tmux.conf and .tmux.conf.local --my tmux settings. I got them from this site. Another good resource for shortcuts and hotkeys for tmux can be found here.
-
.zshrc -- shell script for zshell
-
.bashrc -- my sheel script for bash back when I used it
-
ipython_config.py -- copy this file into ~/.ipython/profile_default. This is for ipython with python 2.7 could be a little different with python3.5. This is to automatically import numpy and matplotlib everytime you open ipython. You can also add other ipython environment stuff here
-
ROS.xml -- This sets up ros coding style with qtcreator
-
dotfiles/JumpToTimeV3.lua -- VLC extension that allows jumping forwards and backwards single frames.