He, Peng

A Roboticist.

Robotic is the integration of all human knowledge, so far.

My Bashrc

It is very helpful to keep your bashrc consistant.

# for tilix terminal
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
        source /etc/profile.d/vte.sh

# run xserver
export DISPLAY=:0.0
alias xdisplay='dbus-launch --exit-with-session ~/.xsession'

# My IDEs
alias sskey='xmodmap ~/.Xmodmap' # swap ctr and alt
alias xlion='bash ~/Apps/clion/bin/clion.sh'
alias xgendoc='rosdoc_lite . -o ~/catkin_ws/src/doc/'

# ROS related
alias hpmake='cd ~/catkin_ws && catkin_make'
alias exmaster="export ROS_MASTER_URI='http://ubuntu1:11311'"
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash

# ML
alias hconda='export PATH="/home/user/anaconda3/bin:$PATH"'
Recent Posts

How to Fix Windows and Linux Showing Different Times When Dual Booting

Your computer stores the time in a hardware clock on its motherboard. The clock keeps track of time,…

In Linux, Fix, How ToRead More
Earlier Posts

How To Setup Windows Subsystem of Ubuntu and Forwarding its Desktop(Graphics) to Windows

*Abstract: * How to disable the terminal beep sound: Put this into your ~/.inputrc file(create one i…

In Setup, Linux, WSLRead More
comments powered by Disqus