Tuesday, October 21, 2014

Boot window 8.1 before Ubuntu

Step 1: Search EasyBCD on google.com
Download and install

Step 2: Add entry
Operating Systems/Linux BSD
- Type: GRUB2
- Name: Ubuntu (or Custom)
- Drive: Automatically locate and load
-> Click Add Entry

Step 3: BCD Deployment
Click write MBR

Step3: Restart to see result

How to boot directly to the desktop in Windows 8.1


Step 1: Right-click on the Windows 8.1 taskbar, then choose Properties.

Step 2: Click on the Navigation tab, then under the Start screen section, check the box next to "When I sign in or close all apps on a screen, go to the desktop instead of Start."
The next time you boot Windows 8.1, you'll go straight to the desktop without ever seeing the Start screen.

Delete Ubuntu and fix windows boot


Step 1: Delete Ubuntu in windows
Right click on My Computer/ manage/ Disk management
Right click on Ubuntu disk/ Delete and format
Restart
Step 2: Fix Boot

Using Windows 8
Boot by boot cd or windows disk DVD
From command promt
attrib - s -h c:\boot\bcd - remove system and hidden attributes so it can be deleted.
del c:\boot\bcd - delete BCD
bcdboot c:\windows - re/create BCD

Using Windows 2000, Windows XP or Windows Server 2003 CD:

Boot using setup disc and enter into "Recovery Console" by pressing "R" key, select your Windows installation and enter Administrator password. If you don't have any password, press Enter key. Now run following command:
fixmbr
Press "Y" to confirm and type Exit to exit from recovery console.

Using Windows 98 CD:

Boot into Command Prompt and run following command:
fdisk /MBR
Exit from command prompt by typing Exit and press Enter.Reference

Sunday, October 5, 2014

Ubuntu-VN Repository

Danh sách phần mềm

Danh sách các phần mềm/gói hiện có trong kho của Ubuntu-VN:
  1. scim-unikey - Engine xử lý tiếng Việt cho SCIM
  2. x-unikey - Bộ gõ x-unikey, được áp dụng 1 số patch để có thể sử dụng tốt với im-switch
  3. vietnam-fonts - Gói không chứa font, dùng để cài nhanh 2 gói bên dưới
    • vietnam-abc-fonts - Gói cài đặt 105 font ABC
    • vietnam-vni-fonts - Gói cài đặt 113 font VNI
  4. stardict-free-vietnamese-dict - Gói không chứa từ điển - dùng cài đặt nhanh các gói bên dưới
    • stardict-english-vietnamese - từ điển Anh - Việt
    • stardict-french-vietnamese - từ điển Pháp - Việt
    • stardict-german-vietnamese - từ điển Đức - Việt
    • stardict-norwegian-vietnamese - từ điển Na Uy - Việt
    • stardict-russian-vietnamese - từ điển Nga - Việt
    • stardict-vietnamese-english - từ điển Việt - Anh
    • stardict-vietnamese-french - từ điển Việt - Pháp
    • stardict-vietnamese-german - từ điển Việt - Đức
    • stardict-vietnamese-vietnamese - từ điển Việt - Việt

Cài đặt kho

Dùng Software Sources

Thêm mã xác thực của Ubuntu-VN PPA
  1. Tải public key về tại địa chỉ http://www.ubuntu-vn.org/ubuntu-vn_ppa.key
  2. Vào menu System->Administration->Software Sources
  3. Ở tab Authentication, click Import Key File... -> chọn đường dẫn đến file tải về -> Ok
Thêm APT source list
  1. Vào menu System->Administration->Software Sources
  2. Ở tab Third-Party Software, lần lượt Add các dòng sau vào (tùy theo phiên bản Ubuntu đang dùng)
  • Ubuntu 9.10
deb http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu karmic main     #Ubuntu-VN - Ubuntu 9.10 "Karmic Koala"
deb-src http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu karmic main #Ubuntu-VN - Ubuntu 9.10 "Karmic Koala" 
  • Ubuntu 9.04
deb http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu jaunty main     #Ubuntu-VN - Ubuntu 9.04 "Jaunty Jackalope"
deb-src http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu jaunty main #Ubuntu-VN - Ubuntu 9.04 "Jaunty Jackalope" 
  • Ubuntu 8.10
deb http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu intrepid main     #Ubuntu-VN - Ubuntu 8.10 "Intrepid Ibex"
deb-src http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu intrepid main #Ubuntu-VN - Ubuntu 8.10 "Intrepid Ibex"
  • Ubuntu 8.04
deb http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu hardy main     #Ubuntu-VN - Ubuntu 8.04 "Hardy Heron"
deb-src http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu hardy main #Ubuntu-VN - Ubuntu 8.04 "Hardy Heron"

Dùng Command Line

Mở Terminal và đánh vào lệnh phù hợp:
Thêm mã xác thực của Ubuntu-VN PPA
wget -q http://www.ubuntu-vn.org/ubuntu-vn_ppa.key -O- | \
sudo apt-key add -
hoặc
sudo apt-key adv --recv-keys --keyserver \
keyserver.ubuntu.com 81E7FE09
Thêm APT source list
Tùy theo phiên bản Ubuntu đang dùng bạn chọn lệnh thích hợp

  • Ubuntu 9.04
sudo wget http://www.ubuntu-vn.org/jaunty.list -O \
/etc/apt/sources.list.d/ubuntu-vn.list
  • Ubuntu 8.10
sudo wget http://www.ubuntu-vn.org/intrepid.list -O \
/etc/apt/sources.list.d/ubuntu-vn.list 
  • Ubuntu 8.04
sudo wget http://www.ubuntu-vn.org/hardy.list -O \
/etc/apt/sources.list.d/ubuntu-vn.list

Cài Offline

  1. Truy cập địa chỉ sau: https://launchpad.net/~ubuntu-vn/+archive/ppa
  2. Chọn tên gói và phiên bản phù hợp
  3. Ở phần Package files, chọn gói deb phù hợp
    • i386: cho Ubuntu 32bit
    • amd64: cho Ubuntu 64bit
    • lpia: cho Ubuntu Mobile
    • all: dùng chung cho tất cả kiến trúc
  4. Tải về và cài đặt



source: http://wiki.ubuntu-vn.org/index.php/Ubuntu-VN_Repository

Saturday, October 4, 2014

install by apt synaptic in ubuntu

search source at

ex: http://packages.ubuntu.com/search?keywords=libgnomeprint&searchon=names&suite=saucy&section=all

adm64
http://packages.ubuntu.com/saucy/amd64/libgnomeprint2.2-0/download
i386
deb http://cz.archive.ubuntu.com/ubuntu saucy main universe

https://packages.debian.org/sid/m68k/libgtksourceview1.0-0/download

add to sources.list
gedit /etc/apt/sources.list
save as /home /[nnb]
cd /home/nnb/
mv sources.list /etc/apt/
sudo apt install libgnomeprint2.2-0
sudo apt-get install libgtksourceview1.0-0

Adding this PPA to your system

This PPA contains the latest release of Grub Customizer.
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Update, Upgrade và cài bộ gõ tiếng việt

Update, Upgrade

Mặc định đĩa cài đặt Ubuntu tuy rất mới nhưng vẫn còn thiếu một số gói lệnh hoặc có một số update mới. Bạn chỉ việc đơn giản chạy các dòng lệnh sau để cho hệ điều hành tự động update và upgrade

sudo apt-get update
sudo apt-get upgrade

Cài bộ gõ tiếng Việt

sudo apt-get install ibus-unikey 
Install windows fonts
                    sudo apt-get install msttcorefonts

Install wine1.7
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7

Install dropbox
sudo apt-get -y install nautilus-dropbox
Install GOOGLE DRIVE
sudo apt-add-repository ppa:thefanclub/grive-tools
sudo apt-get update
sudo apt-get install -y grive-tools
Search app
apt-cache search
Explore
sudo apt-get install nautilus 

Clean up Ubuntu

Dọn dẹp lại những thứ dư thừa trong quá trình cài đặt

echo "Cleaning Up" &&
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean

Switch ubuntu to edubuntu and etc

You can try the following:
sudo apt-get install edubuntu-desktop
sudo apt-get install kubuntu-desktop
sudo apt-get install lubuntu-desktop
sudo apt-get install xubuntu-desktop

sudo apt-get remove edubuntu-desktop

Just be aware that this will take up a large chunk of your harddrive, and add a ton of extra programs that you probably don't need(most of them are KDE versions of GNOME programs/XFCE programs whatever, like instead of gnome-terminal, it is the konsole I believe, or is it Kterminal, i dunno...).

Apart from that to Switch Between The New Unity Lockscreen And LightDM In Ubuntu 14.04
Firstly install CompizConfig Settings Manager (CCSM):
sudo apt-get install compizconfig-settings-manager
Then open CompizConfig Settings Manager, click on Ubuntu Unity Plugin and on the General tab, under "Lockscreen", you can select to use Unity, LightDM or no lockscreen:
That's it - there's no need to restart the system or log out, the settings should be applied instantly.

You can switch between desktop environments by logging out, and choosing which environment with a selection box in one of the corners of the screen.

Once you are done playing around with the other environments, go into synaptic and get rid of the kubuntu-desktop and all others you got, but this won't get rid of any programs that were installed along side it. For that check out this site...
http://www.psychocats.net/ubuntu/puregnome

Transform to MacBuntu
http://www.noobslab.com/2014/04/macbuntu-1404-pack-is-released.html