Introduction to productivity tools in Linux and ubuntu systems, linuxubuntu
If you want to quickly install the program through apt-get, we strongly recommend that you first change the source to China, which was previously used by HKUST. However, it is not very good recently, especially for ROS support.
1. terminator
After the installation, the basic terminal is transformed first. Having endured the stupidity of self-built terminals for a long time, every time you run a program, you need to open one. Most of the time, it is a large number of terminals, until you find the magic terminator, the installation is also very simple, just need
Sudo apt-get install terminator
Now you can discard the default terminal. terminator can easily split and construct your favorite layout. In this way, you can arrange multiple terminals in a single interface, greatly improving productivity.
This is not enough. If you want to use it more conveniently, you can open the layout you want (for example, the layout of 2*2) Every time ctrl + T, instead of the split, there are two methods.
1. Right-click "preference-layout" and choose "add" after "layout". Naming "default" becomes the default layout. The advantage is convenience, but the disadvantage is that the flexibility is not high, when you want to change back to the original layout, it is a little troublesome.
2. You can also name it yourself. For example, you can name it my. When you open the terminal, you can run terminator-l my to jump out of the desired interface.
In addition, terminator can also set command in advance in preference-layout, which is quite useful. For example, friends of ROS can get a wave of roscore first.
2 Qt creator
Qt creator is used in linux, and I use IDE better than eclipse and kdevelop. It is especially compatible with ROS, and can also be debugged and redirected in real time.
1. Use ROS project in Qt creator
Gedit ~ /. Local/share/applications/DigiaQt-qtcreator-commnity.desktop
If this file does not exist:
Gedit/usr/share/applications/DigiaQt-qtcreator-commnit
Add bash-I-c to the third line (Exec = qtcreator % F) of the file, and the result is as follows:
Exec = bash-I-c qtcreator % F
2. Run/debug the Qt creator program:
Qt can directly run/Debug the program, saving the trouble of the terminal and setting breakpoints for easier debugging.
In the project on the Left bar, SET command and select the executable file to run, which is generally in the bin directory. Then, set the parameters at arguments and set the running directory. Of course, different versions are different, but they are similar.
3 Sublime
This is a lightweight cross-platform Editor, from C/C ++, python, java to markdown, which can be well displayed and edited. However, redirection is much more troublesome than the IDE like qtc, after all, the volume is there. The Alt + shift + N split screen function is particularly useful in code comparison and can be used with the qtc or git diff function.
4 boot script
Sudo gedit/etc/rc. local
Add the command before exit 0.
5 unbuntu mounting windows hard drive
Fdisk-lu first finds the number. If the hard disk type is ntfs, run:
Sudo ntfsfix/dev/sda8
Otherwise, mount the file directly.