2017年6月9日星期五

Change Emacs font size

C-x C-+ and C-x C-- to increase or decrease the buffer text size

Change the number of workspaces use command line

To get the current values:
dconf read /org/compiz/profiles/unity/plugins/core/hsize
dconf read /org/compiz/profiles/unity/plugins/core/vsize

To set new values:
dconf write /org/compiz/profiles/unity/plugins/core/hsize 4
dconf write /org/compiz/profiles/unity/plugins/core/vsize 1

在Terminal下打开当前路径的文件夹


You can type in the terminal:
cd /home/myUser/some/long/path/to/a/directory

and then:
nautilus .

The above command will open nautilus in the folder /home/myUser/some/long/path/to/a/directory (the period is the current directory)

Or in the Terminal just type:
nautilus /home/myUser/some/long/path/to/a/directory