/etc/default/grub
sudo update-grub
+++++++++++++++++++++++
http://ubuntuforums.org/showthread.php?t=1195275
Find kernel:
uname -a : print all information
uname -r : print the kernel release
uname -v : print the kernel version
uname -o : print the operating system
In Synaptic package manager, search "linux-image"
===================================
How to add a splashmage in GRUB2
http://members.iinet.net/~herman546/p20/GRUB2%20Splashimages.html
sudo apt-get install grub2-splashimages
sudo cp /usr/share/images/grub/*.tga /boot/grub/
gksudo gedit /etc/grub.d/05_debian_theme
scroll down in the file and find line 16 or 17
change the following code in line 16 or 17 from:
for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga} ; do
to replace 'moreblue-orbit-grub' with the name of the splashimage of your choice)
for i in {/boot/grub,/usr/share/images/desktop-base}/Windbuchencom.{png,tga} ; do
Friday, May 7, 2010
Ubuntu Sudo command
========sudo open file browser, and then Ctrl+H to show hidden files
gksu nautilus
========Clean up past installation of Flash:
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper
========install flash (Shockwave flash 10)
When you go to a site by firefox that requires flash you will see a bar appear with a button on the right side labeled “Install Missing Plugins”.Choose the Adobe version and click Next. You will then be warned that the Adobe Flash Player will download and install another application. This is okay. You will be required to enter your user password to continue.
OR
sudo apt-get install flashplugin-nonfree
========map iphone
mkdir /mnt/iPhone
mount.fuse.ifuse --afc2 /dev/hda /mnt/iphone/ -s
========current running kernel version
uname -r
========create symbolicLink dir1 into dir2
ln -s /dir1 /dir2
========list all of the usb devices
lsusb
========.tar.gz Source Installation/Compilation
tar -xzvf /home/bob/compressedfile.tar.gz
./configure
make
su
make install
========Binary install tar.gz
tar -xzvf /home/bob/compressedfile.tar.gz
========.Binary install tar.bz2
tar -xjvf /home/bob/compressedfile.tar.bz2
========Support RAR
sudo apt-get install unrar
========Install DEB OpenOffice
sudo apt-get remove openoffice*.*
tar -vxzf filename
cd OOo_inst_folder/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb
gksu nautilus
========Clean up past installation of Flash:
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper
========install flash (Shockwave flash 10)
When you go to a site by firefox that requires flash you will see a bar appear with a button on the right side labeled “Install Missing Plugins”.Choose the Adobe version and click Next. You will then be warned that the Adobe Flash Player will download and install another application. This is okay. You will be required to enter your user password to continue.
OR
sudo apt-get install flashplugin-nonfree
========map iphone
mkdir /mnt/iPhone
mount.fuse.ifuse --afc2 /dev/hda /mnt/iphone/ -s
========current running kernel version
uname -r
========create symbolicLink dir1 into dir2
ln -s /dir1 /dir2
========list all of the usb devices
lsusb
========.tar.gz Source Installation/Compilation
tar -xzvf /home/bob/compressedfile.tar.gz
./configure
make
su
make install
========Binary install tar.gz
tar -xzvf /home/bob/compressedfile.tar.gz
========.Binary install tar.bz2
tar -xjvf /home/bob/compressedfile.tar.bz2
========Support RAR
sudo apt-get install unrar
========Install DEB OpenOffice
sudo apt-get remove openoffice*.*
tar -vxzf filename
cd OOo_inst_folder/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb
Install Netbook remix to Desktop Ubuntu
sudo gedit /etc/apt/sources.list
ADD:
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
Save and exit the file.
sudo apt-get update
sudo apt-get install go-home-applet human-netbook-theme maximus netbook-launcher window-picker-applet
run:
netbook-launcher
maximus
ADD:
deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
Save and exit the file.
sudo apt-get update
sudo apt-get install go-home-applet human-netbook-theme maximus netbook-launcher window-picker-applet
run:
netbook-launcher
maximus
Tuesday, May 4, 2010
iPhone CPU
Original & 3G: Samsung 32-bit RISC ARM 620 MHz underclocked to 412 MHz
3GS: Samsung S5PC100 ARM Cortex-A8 833 MHz underclocked to 600 MHz
3GS: Samsung S5PC100 ARM Cortex-A8 833 MHz underclocked to 600 MHz
Quote of the day
If you find a job you love, you never have to work a day in your life.
知之者不如好之者,好之者不如乐之者
Ubuntu auto mount NTFS drive by fstab, solve the can't be moved to trash problem
===step 1===
Find out uid and gid:
type id in terminal
===step 2===
modify file: /etc/fstab
/dev/sda2 /home/ProgDoc auto defaults,umask=007,uid=1000,gid=1000 0 0
===step 3===
symbolicLink (sudo)
ln -s /home/ProgDoc/Documents /home/username
Find out uid and gid:
type id in terminal
===step 2===
modify file: /etc/fstab
/dev/sda2 /home/ProgDoc auto defaults,umask=007,uid=1000,gid=1000 0 0
===step 3===
symbolicLink (sudo)
ln -s /home/ProgDoc/Documents /home/username
Subscribe to:
Posts (Atom)