Saturday, October 20, 2007

How to Restore Your Kubuntu

Well, upgrade didn't go well so I decided to restore my 7.04 version.

However, Kubuntu 7.04 doesn't come with all the features I like out of the box. This is the place to explain how to restore important features after installation.

Step 1: First, let adept_notifier prompt you to install all the updates since the version has been released. Fetching all the updates is roughly 200-250 MB, so be patient.

Step 2: If you have a backup disk of your files, this is a good time to restore it to the correct places. Make sure you edit all the folders from read only to read-write for you and other programs that make use of them. Failing to do so may cause crashes down the line or just some programs to fail. For example, if you configure Thunderbird (see step 4) then Thunderbird will not be able to write mails to all your mail folders.

Step 3: After the updates are installed, I like my browser to be Firefox instead of the default Konqueror supplied with Kubuntu. To do so, use adept. It will install the last tested version of Firefox. Usually it is not the last one Mozilla released, but it is close enough.

Step 4: Quit adept before this step. Use this outstanding script: "installnewthunderbird_3.2.0.sh" from SourceForge to get and install Thunderbird and its dependencies. BTW, there are newer version that I didn't try, so if they are good, feel free to update me. When you have the script ready, open a Konsole using Kmenu->System->Konsole. Go to the directory where the script is and then run the command: "sudo bash ./installnewthunderbird_3.2.0.sh -install". Enter your sudo password and answer the questions made by the script.

Step 5: If you hate the way some fonts are used in Linux, use adept to install MS truetype fonts, e.g. Arial. To do so, simply search in adept for the token "mstt" and install the msttcorefonts package that comes up.

Step 6: You would probably want to have some important features, especially the ones you have in MS-Windows. Media playing is one of the most important things. So get back to adept and do the following:
  • Install helix for real player. Make sure you install the plugin to Firefox.
  • Install mplayer. Make sure you install the plugin to Firefox.
  • Install xmms to get support for asf files.
  • Install avidemux to get support for avi files.
  • Install totem while you are at it.
  • In adept, search for xvid and divx and install any package that seems to add support for these file types.
  • If you are using Amarok to play media files test its ability to play mp3 files. To do so, simply try to engage a last.fm stream, provided that you have an account there. If Amarok can't play it, it will request your permission to install it. Make sure you close any adept window before you do so, as it requires access to the packages database.
You can test your settings by trying to view clips posted in Ynet. If everything works fine you press the "play" button and somehow it plays the clip. It may takes a few remove / install of the above before everything works.

Step 7: If you want to have Hebrew subtitles you downloaded when playing movies, do the following (from the following link):
  • Create a folder in your home/user (~) folder named ".mplayer".
  • Use a text editor (e.g. Kate) to create a file named "config" and add the following rows to the file:
  • flip-hebrew=yes
    fribidi-charset=ISO8859-8
    slang=he
    font=/usr/share/fonts/truetype/msttcorefonts/Arial.ttf
    subfont-encoding=ISO8859-8
    subfont-text-scale=4
  • Make sure that the font line really points to an existing file with the same name in that folder.
  • Close the file.
Step 8: Java is an extremely important tool. Many pages have applets that require Java runtime environment. To install a working updated Java runtime environment use adept. Search for sun-java and install the latest version (currently, 1.6.x). Make sure you install:
  • bin, the package itself.
  • fonts, just in case.
  • jre, Java runtime environment.
  • plugin, this is used by Firefox and other browsers to run applets using the jre.
You can test this by trying to run a Java applet from the web. If everything is configured correctly, the applet should work.

Step 9: Localization and languages. I use Hebrew in many cases. To have multiple selection of languages in Kubuntu, do the following.
  • From the Kmenu select System Settings.
  • In general tab, select Regional & Language.
  • If the list of languages does not have the language you want, select install new language.
  • In the new window that opened find the language, select it and install it.
  • Use the list of languages to select which language is default.
  • In the same window select the Keyboard Layout sub-window.
  • In this menu make sure all the keyboard layouts you want are listed. To add a missing one simply find it in the available layouts list and add it to the active list.
  • If you have more then one layout it is advisable to have an icon which tells you which layout is used. To do so, go to the "switching options" tab, select "show country flag". While at it, see if the "switching policy" matches the one you like. I prefer that each window has its own policy, so I selected the last policy.
  • I guess you would like to be able to switch layouts using a keyboard "hotkey". If so, return to "System Settings" and select "Keyboard & Mouse". Select "Keyboard Shortcuts" and in the first tab scroll down to "Keyboard" (last one). Select it and modify the default (alt+ctrl+k) to whatever you want. Note that the MS-Windows alt+shift can not be used. I use alt+<, which is the one closest to the left shift in my keyboard.
Step 10: Additional extras:
I like to have some non-Ubuntu packages. I installed the following:
  • Skype, the free voice over IP phone. Simply go to Skype webpage, select download and download the package. Then make sure that the adept manager is closed and using right-click select the downloaded file. Select the Kubuntu packages install, approve the required password and that's it. You'll find the Skype installed and ready in your internet menu entries.
  • Picasa, the pictures album manager, from Google. Use this link to select the download. When the file is ready, simply do as written above for Skype.
Step 11: Evolution and exchange. I guess that you are using some kind of exchange server, probably in work. You may have exchange over the web access, but you hate the way it is managed by Firefox. The solution is named Evolution, from Novell, but it is a bit tricky to configure and run. Do the following:
  • First, in adept search for evolution, select evolution and its exchange plug-in.
  • Now, evolution is a bit tricky sometimes to run in the first time. Try to run it from the Kmenu->Internet menu. If does not load, open a Konsole using Kmenu->System->Konsole.
  • In the Konsole write "evolution" and press enter. If the last line is "segmentation fault (core dumped) run: "evolution --disable-eplugin" instead. Most probably that you are able to run evolution. In evolution window, use "edit-preferences" and add an e-mail account. It does not matter which one of your accounts you add.
  • Now, close evolution, exit the Konsole and open evolution from the regular Kmenu.
  • In evolution, add your exchange account. When selecting server type, select Microsoft Exchange.
  • Enter your user name. Note that user name is not email address. User name is the one you use to log in to the network.
  • Enter your over the web access URL. It would probably look like: https:\\owa.company.com\ecxhange\
  • Authenticate it using your login password and now you have a window of properties.
  • In "identity" tab enter your required information.
  • In "receiving mail" tab make sure everything is correct.
  • In "receiving options" tab you configure how often to check for mail in the server and other staff. Select whatever you like. The most important thing is "Global Catalog server name". This is where the server saves the global directory of email addresses. Look in your outlook address book settings in MS-Outlook to find that out.
  • Defaults tab usually needs no adjustments.
  • In "exchange settings" you can add "out of the office" auto-reply or set passwords.
  • In "security" tab I have nothing crossed, so probably everything is not required there.
Congratulations, Kubuntu is configured now. If you think the time to configure it was too long, ask yourself how much time it took you to configure Windows correctly, does it work properly and quickly and are you happy with it? If the questions you answer are pro-Windows then don't bother switching to Linux.

3 comments:

Anonymous said...

Hi would you mind letting me know which hosting company you're using? I've loaded your blog in 3 completely different browsers and
I must say this blog loads a lot quicker then most.
Can you suggest a good web hosting provider at a honest price?
Many thanks, I appreciate it!
Also visit my web blog - how to delete cookies from computer

MemoriesAndThoughts said...

Anonymous,
My blog is hosted on Google's platforms at no cost at all. Can't beat the price and I am glad you enjoyed the short loading time.

MemoriesAndThoughts said...

Please note that accessing the link provided by anonymous is at your own risk. Please use caution and discretion when following unknown links. Thank you