1 solve the Ubuntu12.04 system information in the graphical display "unknown", terminal execution:
sudo apt-get install mesa-utils
After the restart.
2 Remove the Ubuntu shutdown and restart confirmation prompt box
Gsettings Set Com.canonical.indicator.session Suppress-logout-restart-shutdown True
3 recently ubuntu14.04 installed after the upgrade of Chinese fonts is very difficult to see, decisively uninstalled
sudo apt-get remove Fonts-arphic-ukai fonts-arphic-uming
4 When you try to delete too many files with RM, you may get an error message:/BIN/RM Argument list too long. Use Xargs to avoid this problem.
Ls|xargs rm-f
5 Mounting ISO files
Mount-t Iso9660-o Loop Filename.iso mount_dir
6 Statistics The total size and number of files in the current directory
Du-sh
Find./-type F | Wc-l
7 Resetting unity and Compiz in Ubuntu 14.04
dconf Reset-f/org/compiz/Restart Unity:
SETSID Unity Resets the Unity icon:
Unity--reset-icons
If you encounter the following error while resetting Compiz:
Error:GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark.
g2dfile
2derror2dquark. Code17:cannot Open dconf database:invalid gvdb header
The possible reason is that the user files have been messed up. Back up the dconf configuration and remove the configuration file:
MV ~/.config/dconf/~/.config/dconf.bak
8 ubuntu14.04 Replace GRUB background
Find a picture (1920x1200 or 1920x1080) and convert it to. TGA images under win under Photoshop or Linux (name casually, e.g. GRUB_BACK.TGA), stored under/boot/grub/. Pinta After completion, update grub:
sudo update-grub2
I'll see you at the restart.
Linux usage Notes