ubuntu tips

1.

File recoding recent activities: ~/.local/share/recently-used.xbel 

直接删了就可以清除Dash Home里的最近记录

 

2.

设置图形界面的开机启动项:  在startup application里直接设置,或者想折腾的,写个 XXX.desktop保存到 ~/.config/autostart/ 这个目录下,具体格式差不多这样:

[Desktop Entry]
Type=Application
Exec=/home/alex/.keynav #执行的脚本位置
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=keynav
Name=keynav
Comment[en_US]=run keynav deamon
Comment=

 

3.

Ubuntu设置开机启动为文本界面:

/**
  * All procedures I configured the computer to boot up in shell command
  **/ 

/etc/default/grub
Comment the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”, by adding # at the beginning, which will disable the Ubuntu purple screen. 
Change GRUB_CMDLINE_LINUX=”" to GRUB_CMDLINE_LINUX=”text”, this makes Ubuntu boot directly into Text Mode.
Uncomment this line #GRUB_TERMINAL=console, by removing the # at the beginning, this makes Grub Menu into real black & white Text Mode (without background image)
sudo update-grub

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。