Qt入門篇(1)
http://chenglearning.blogspot.tw/2013/11/qt1-qt-gui-application.html
Raspberry Pi – hiding boot messages on screen
There may be a time when one would want to hide boot messages that show up on the screen (or monitor or TV). The trick is to edit /boot/cmdline.txt file.
One may use the following command
sudo nano /boot/cmdline.txt
Then make the following changes to the file:
- Replace "console=tty1" by "console=tty3" to redirect boot messages to the third console. - Add "loglevel=3" to disable non-critical kernel log messages.
After changing, to get to the console simply press Alt + F3 during or after boot. However, if text cursor needs to be hidden also then add “vt.global_cursor_default=0″ to the /boot/cmdline.txt file. In my case, I prefer to have text cursor as an indicator that it is actually booting.
Here is the content of my /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait logo.nologo loglevel=3
This is a quick and dirty solution for an unanimated custom splash screen during boot.First of all, you need to install fbi:apt-get install fbiCopy your custom splash image to /etc/ and name it “splash.png”.Next, create an init.d script called “asplashscreen” in “/etc/init.d/”.I chose “asplashscreen” with an “a” at the beginning to be sure it starts first.#! /bin/sh ### BEGIN INIT INFO # Provides: asplashscreen # Required-Start: # Required-Stop: # Should-Start: # Default-Start: S # Default-Stop: # Short-Description: Show custom splashscreen # Description: Show custom splashscreen ### END INIT INFO do_start () { /usr/bin/fbi -T 1 -noverbose -a /etc/splash.png exit 0 } case "$1" in start|"") do_start ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) # No-op ;; status) exit 0 ;; *) echo "Usage: asplashscreen [start|stop]" >&2 exit 3 ;; esacThen make that script executable and install it for init mode rcS:chmod a+x /etc/init.d/asplashscreeninsserv /etc/init.d/asplashscreenReboot and watch your custom splash screen:rebootLinux下MySQL 5.5的修改字符集编码为UTF8(彻底解决中文乱码问题)
http://www.ha97.com/5359.html
sudo cp mt7601Usta.ko /lib/modules/3.12.28+/kernel/drivers/net/wireless/sudo depmod -asudo rebootInstall Adminer manually on Ubuntu 14.04
http://www.leaseweblabs.com/2014/06/install-adminer-manually-ubuntu-14-04/
How To Install Linux, Apache, MySQL, PHP (LAMP) on buntu
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
沒有留言:
張貼留言