Wednesday, June 22, 2011

How to Change Your Login And Boot Screen In Ubuntu Lucid

The latest version of Ubuntu (10.04 Lucid) comes with a plymouth theme that allows more cool and animated screen to be displayed during boot up. While this is a great improvement, it also means that all the previous method of setting your own boot screen and login screen is no longer valid. For those who are not happy with the default boot and login screen, here is how you can change them in Ubuntu Lucid. At this moment, there is no GUI to handle this, so everything has to be done via the command line. Follow closely and you’ll be fine.


Changing the login screen

1. Move your favorite login wallpaper to your Home folder. Make sure that it is of .JPG format.
2. Move the wallpaper to the system wallpaper directory. In the terminal:
sudo mv ~/your-wallpaper-name.jpg /usr/share/backgrounds
3. Activate the Appearance window upon login
sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow
4. Close the terminal. Log out of your current session. At the login screen, the Appearance window will show up. Go to the background tab and select your favorite wallpaper as the background. (If you can’t find your favorite wallpaper, click Add. You should be able to find your wallpaper in the /usr/share/backgrounds directory).
lucid-login-appearance
5. Your login background will instantly change to the wallpaper you have selected. Now login to your desktop.
lucid-login-screen
6. Open a terminal. Type the following command to deactivate the Appearance window upon login.
sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop

Changing the boot screen

The plymouth theme uses a theme framework to display the background and animation, so you won’t be able to take a simple wallpaper and put it on the boot screen. The Ubuntu repository comes with several plymouth themes that you can install in your system.
 
sudo apt-get install plymouth-theme-*

This will install all the plymouth themes in the repository.
Next, select the theme that you want to display:
 
sudo update-alternatives --config default.plymouth

you will see a list of the theme for you to choose. Type in the number of the theme you want and press Enter.
lucid-plymouth-selection
Update: According to Pvalley67, you have to run the following command to update the system. I have got it working without having to run the command, but you can do it if you are not seeing the new splash screen.

sudo update-initramfs -u
 
Restart your computer. You should see your new boot screen in action.

Monday, June 20, 2011

INSTALL LIBREOFFICE IN UBUNTU 10.04 and UBUNTU 10.10

The following tutorial will teach every Ubuntu 10.10 and Ubuntu 10.04 LTS user how to install the new LibreOffice open source office suite and replace the old OpenOffice.org office suite from Oracle.  
Last week we've announced that the Ubuntu developers started the transition of the outdated OpenOffice.org packages to the new LibreOffice ones, in the upcoming Ubuntu 11.04 (Natty Narwhal) operating system, due for release in late April this year.

However, the LibreOffice package are also available for Ubuntu 10.10 (Maverick Meerkat) and Ubuntu 10.04 LTS (Lucid Lynx) users. To remove OpenOffice.org from your system and install LibreOffice, follow the next step-by-step (with screenshots) tutorial.

Step 1 - Remove OpenOffice.org

Hit the ALT+F2 key combination on your keyboard, check the "Run in terminal" option and paste the following command in the "Run Application" dialog:

sudo apt-get purge "openoffice*.*"


A terminal window will appear. Enter your password when asked and hit the OK button.

When you will be asked if you want to remove the OpenOffice.org package, type Y and hit Enter. After this, the OpenOffice.org packages will be removed and the terminal window will disappear...

Review image

Step 2 - Add the LibreOffice repository

No matter what operating system you are running (Ubuntu 10.10 or Ubuntu 10.04), hit the ALT+F2 key combination on your keyboard, check the "Run in terminal" option and paste the following command in the "Run Application" dialog:

gksu add-apt-repository ppa:libreoffice/ppa


Enter your password when asked and hit the OK button. A terminal window will appear for a few seconds, and it will automatically close. Hit the ALT+F2 key combination again, check the "Run in terminal" option and paste the following command in the "Run Application" dialog:

gksu apt-get update



Enter your password when asked and hit the OK button. A terminal window will appear for a few seconds, and it will automatically close.

Step 3 - Install LibreOffice

Hit the ALT+F2 key combination on your keyboard, check the "Run in terminal" option and paste the following command in the "Run Application" dialog:

sudo apt-get install libreoffice libreoffice-gnome language-support-en


A terminal window will appear. Enter your password when asked.

When you will be asked if you want to install the LibreOffice packages, type Y and hit Enter. Wait for the installation to finish...


That's it! LibreOffice is now completely installed in your Ubuntu machine.


If you have problems with the tutorial, do not hesitate to comment below!

Script To Fix The Ubuntu Plymouth For Proprietary Nvidia And ATI Graphics Drivers



Plymouth Ubuntu

Copy and paste from Web UPD8
 
Installing the proprietary Nvidia or ATI graphics drivers in Ubuntu (10.04 or 10.10) will make Plymouth (the boot screen) look very big and ugly. The script in this post should fix this.


If you're looking for an easy way to fix the Plymouth in Ubuntu, search no more: there's a script which fixes the Plymouth for both ATI and Nvidia proprietary graphics drivers.

Personal rant: I've found this script on d0rkye's blog and I liked that it displays the supported screen resolutions and you can enter the best resolution for your system but comparing it to kyleabaker's script, it looks like he copied most of the code from there (except the resolution thingy) - that's made clear by 2 bugs in the script (one was also in the initial script and the other is a "variable" used in the first) so don't use the original script posted on d0rkye's blog as the last part won't work!

Now, back to the script and fixing the Plymouth.

Fix The Ubuntu Plymouth with proprietary Nvidia or ATI graphics drivers

Warning: use it at your own risk! Only use this script if you know your way on the command line and can revert everything manually in case something goes wrong. I've used it to fix the Plymouth on Ubuntu 10.10 Maverick Meerkat (with proprietary Nvidia graphics drivers) but I cannot guarantee it will also work for you (and that it won't break stuff). The script should work with both Ubuntu 10.04 Lucid Lynx and Ubuntu 10.10 Maverick Meerkat.


To fix Plymouth, run the following commands (will download and run the script):
cd
wget http://launchpadlibrarian.net/57638460/fixplymouth
chmod +x fixplymouth
./fixplymouth

Or you can manually download the script from HERE.

Warning: only run the script once!

Fix plymouth script

After running it, the script will display a list of screen resolutions supported by Plymouth (specific for your computer). Enter the best resolution from the list displayed by the script under the following format: 1024x768-24 (this is just an example)! This is the only difference between this script and Kyleabaker's script (in which you had edit the script with your Plymouth screen resolution and most people never knew what's the maximum resolution supported by Plymouth for their computers).


If hwinfo (which is automatically ran by the script) doesn't display the supported resolutions for your monitor, see the second solution from HERE.

Revert the changes made by this script

All the changes made by this script can be reverted using kyleabaker's revert script. There is a download link at the end of THIS post.


Credits for the script in this post: d0rkye and kyleabaker.

Tuesday, June 14, 2011

Auto hide NavBar pada blogspot

Di copy paste dari :
http://belajar-ilmu-komputer.blogspot.com/2010/03/auto-hide-navbar-pada-blogspot.html

Navbar pada blogspot akan selalu tampil apabila sebuah blog dibuka oleh seseorang karena navbar adalah salah satu persyaratan yang harus dipenuhi, (TOS) dari blogger sendiri.

Namun akan lebih baik apabila navbar yang akan selalu muncul di bagian atas blog kita, bisa dihilangkan, namun sekali lagi apabila navbar tersebut sudah tentu melanggar TOS dari blogger. Maukah blog anda yang sudah anda buat dengan susah payah kemudian dihapus oleh blogger hanya karena melanggar TOS ? tentu tidak mau bukan ? jadi jangan sekali-kali melanggar TOS.

Blogger memang selalu mengerti dengan keinginan para pemilik blog terbukti dengan diadakannya pelihan navbar transparan. Bagi yang mau membuat navbar transparan bisa dibaca artikel Cara Membuat NavBar Transparan.

Selain navbar transparan ada juga navbar autohide seperti navbar pada blog Belajar Ilmu Komputer ini, dengan navbar auto hide, maka setiap pergerakan mouse diarahkan ke daerah navbar maka navbar akan muncul begitu juga apabila mouse pointer tidak berada di dalam arena navbar, dengan sendirinya navbar akan tersembunyi.

Berikut ini cara mengubah navbar yang selalu muncul menjadi navbar auto hide.



Login terlebih dahulu ke blogger, kemudian klik Layout, Edit HTML.
Cari kode seperti berikut :  

body {
  background:#BCA;
  margin:0;
  text-align:center;
  line-height: 1.5em;
  font: x-small Trebuchet MS, Verdana, Arial, Sans-serif;
  color:$mainTextColor;
  font-size/* */:/**/small;
  font-size: /**/small;
  }



selanjutnya ketik atau copy kode berikut dan pastekan tepat di bagian atas kode body {


#navbar-iframe{opacity:0.0;filter:alpha(Opacity=0)}
#navbar-iframe:hover{opacity:1.0;filter:alpha(Opacity=100, FinishedOpacity=100)}

Simpan hasil perubahan dengan klik Save Template.

Monday, June 13, 2011

INSTALL ZENTYAL PADA UBUNTU 10.04.2

Mau rasakan nikmatnya Zentyal di Ubuntu Server 10.4 ?

Ini resepnya :


Siapkan CPU sesuai dengan kebutuhan,
Siapkan CD Ubuntu Server 10.4.2 LTS atau versi LTS lainnya. Kenapa musti LTS ?
Seperti dibilang dalam iklan, “ Untuk server kok coba-coba “ , LTS suportnya cukup panjang sehingga patch maupun update systemnya bagus.
Siapkan sambungan internet, saat ini saya hanya akan bahas installasi via internet.
Siapkan tehh karena saya ga suka kopi, bagi yang suka kopi silahkan seduh sendiri.


Ok mari kita mulai.

  1. Lakukan installasi Ubuntu Server hingga selesai, ga saya bahas stepnya untuk mempersingkat tutorial.
  2. Setelah selesai, lakukan update system supaya system anda menggunakan system paling mutaakhir.
  3. Tambah Repository dengan cara :



Gunakan account root :
$ sudo - su
    Tambahkan repo tambahan pada /etc/apt/sources.list
    # pico /etc/apt/sources.list
Dengan :
deb http://ppa.launchpad.net/zentyal/2.0/ubuntu lucid main
deb http://archive.canonical.com/ubuntu lucid partner
deb http://ppa.launchpad.net/zentyal/2.0-contrib/ubuntu lucid main

Tambahkan key untuk repository tambahan tersebut dengan
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 10E239FF

Lakukan update
# apt-get update
  1. Install Zentyal
# apt-get install zentyal

  1. Selesai

Ya sampai disini proses installasi zentyal sudah selesai

Anda hanya tinggal menggunakan browser dan membuka halaman :


gunakan username dan password anda saat installasi server



Maka anda akan masuk ke Dashboard Zentyal untuk pertama kalinya.

Untuk menambahkan featur-featur lain pada zentyal, anda tinggal pilih menu di sebelah kiri layar browser anda.



Pilih Software Management > Zentyal Components > View basic mode

Silahkan pilih modul apa yang akan anda install pada server anda.