OpenType support in OpenOffice 3.2 (Greek)
The new version 3.2 of OpenOffice.org is being developed and you can currently download the release candidate for your testing purposes.
A big enhancement in OpenOffice.org 3.2 is the support for OpenType fonts. A typical Linux user is able to do most of the tasks with TrueType fonts, however any new exciting fonts available are mostly OpenType fonts. So, OpenOffice.org 3.2 (to be released this month) has OpenType support and most likely Ubuntu 10.04 is going to have OpenOffice.org 3.2.
You can install OpenOffice 3.2 RC (or final, in a few weeks) on your Ubuntu by downloading the relevant archive from download the release candidate. Extract the files and enter the DEBS/ subdirectory. Then, run sudo dpkg -i *.deb in order to install the development version of OpenOffice 3.2. The installed files are located in /opt/ooo-dev3/program/ and you run now run swriter (for Writer). It is quite possible there is already a relevant PPA repository; tell me in the comments and I’ll update here.
We test with the Greek Font Society OpenType fonts, which are distributed with the OpenFont License. The Debian/Ubuntu repositories already have the GFS fonts packaged for you. You can either install the fonts with your package manager (open synaptic package manager, search for ttf-gfs), or run from the command line
sudo apt-get install ttf-gfs-artemisia ttf-gfs-baskerville ttf-gfs-bodoni-classic ttf-gfs-complutum ttf-gfs-didot-classic ttf-gfs-gazis ttf-gfs-neohellenic ttf-gfs-solomos ttf-gfs-theokritos
Here is a screenshot of the PDF file of GFS Fonts Sample. With OpenOffice.org 3.1 or earlier these fonts would not appear in Writer and would be replaced with the default OpenOffice.org font. In addition, if you tried to export to PDF, you would get the default font (that is, the OpenType fonts do not get embedded in the PDF file either).
Here is the .odf file of the GFS Fonts Sample. If you load it in OpenOffice.org 3.1, you will notice that the default OpenOffice.org font will appear for each line in the sample file. If you load the sample .odt file in OpenOffice.org 3.2, you need to have the GFS OpenType fonts installed beforehand.
The GFS fonts support Greek, Greek Polytonic and several ancient Greek characters. See How to type Greek, Greek Polytonic in Linux for instructions on how to configure and use the Greek keyboard layout in Linux. Note that to type Greek Polytonic, you do not need anymore to select the Polytonic layout; the default «Greek» keyboard layout has been updated so that you can type Greek, Greek Polytonic and Ancient Greek characters. Ergo, άᾷᾂϡϖϝ€ϕͼϾʹ͵ϐϛ.
Laptop without Windows, an update for Dell, Asus, Acer, Compaq
It is very difficult to buy a computer without Windows (that is, to buy it with either Linux, FreeDOS or no OS) in the European market.
Why would you want to buy a laptop without pre-installed Windows?
- Because you are simply not going to use Windows (for example, you plan to use a Linux distribution)
- Because your school has an Developer Academic Alliance (formerly MSDN AA) with Microsoft and they provide the Windows software for you
- Because your organisation has a company-wide agreement for Microsoft software, and you do not wish to pay twice for Windows.
- Because you somehow have a Windows license or Windows package installation box already.
Sadly, when talking to the sales personnel of a manufacturer, it might look an easier strategy to just mention points 2 or 3. There is already some prior knowledge with the sales personnel that large organisations do not need the pre-installed Windows software.
Dell used to sell the N Series laptops with Ubuntu Linux, however they do not sell them anymore, at least in Europe. I contacted a Dell customer care manager on this issue and I was told that N Series laptops are available when you call Dell Sales by phone. I did just that, however the telephone salesperson explained that they do not have N Series laptops anymore. He verified with his own manager.
Dell does sell netbooks with Ubuntu Linux in Europe. For example, the Dell Mini or the Dell Latitude 2100. The situation with the netbooks is almost perfect, but…

What would be desirable is to provide the option, when you customize the Latitude 2100, to be able to select the operating system under the Operating System options. In this way, the customer is in a position to make a better decision between the differences of the two options.

In a regional Dell website, it is possible to select the operating system while you are customizing the computer. In this case, when you select Ubuntu Linux, you can easily see that you are saving €30 compared to the initial price.
It is not clear why Dell UK and Dell Germany do not provide the facility that we see with Dell Greece. Normally the localised editions of a website take any changes later than the main languages (English, German).
Updated (soon after posted): It is possible to get the Dell UK page for the Latitude 2100 so that both pre-installed Windows and Ubuntu appear in the same section. It might be an update that has been rolled out just recently. When you visit the Customise page, you can now see that by selecting pre-installed Ubuntu Linux, you save £24 compared to pre-installed XP.
What would be ideal is for the consumer to have the option to avoid the pre-installed Windows, in a way shown above at the Dell Greece website for the Latitude 2100. Having options for Ubuntu Linux or FreeDOS (for those who already have a Windows license) would be the best value for the customers. This would make Dell the best company around.
So, what’s going on with the other laptop manufacturers?
Acer, Asus, Compaq and HP do not appear to sell computers without pre-installed Windows to the European market. I have not been able to locate retailers that would sell a laptop with FreeDOS, let alone a Linux distribution.
Is this the case with Acer, Asus, Compaq and HP in other markets?

This is an example of laptop models from the SE Asian market. The laptops come with FreeDOS and if you want pre-installed Windows, you pay extra (€53 or $74). The quoted price for the laptop is not subjected to local tax for the specific SE Asian country. Here is the price equivalent for each laptop,
Acer: €325 or $460
Asus: €525 or $745
Compaq: €365 or $515
Manufacturers such as Lenovo and Toshiba appear as black sheep to me, regarding the European market. Lenovo is supposed to sell laptops with SuSE Linux, however I could not find an example. Toshiba is completely out of the radar. They might not be a big laptop manufacturer.
What would be great for the European customer is to have the option to buy a product without pre-installed Windows. And this option of buying a computer without pre-installed Windows should be a visible and accessible option.
From new user to kernel compilation to upstream fix
It is quite exciting when helping new users solve issues while migrating to the Linux operating system, and Ubuntu Linux in this case.
A couple of weeks ago, a new member at the Ubuntu-gr forum posted a question about a sound problem in an Ubuntu Linux installation.
Alsa Mixer
Here is the timeline
- An initial post was made with the relevant hardware information.
- More information was gathered that led to the PCI ID and subsystem ID of the sound card, which further led to the source of a patch for a quirk.
- The advice to recompile the full kernel (with the patch) was given. This process required over 10GB, which caused the distribution to crash. The user was fine to reinstall.
- A subsequent route was taken to simply compile Alsa (not the full kernel) and add the patch.
- This route was successful and the sound was now working.
- We want to post this patch upstream so that newer versions of the kernel contain the fix. In addition, all distributions will benefit as well.
- A bug report was submitted to the Alsa bugtracking #0004561. We now wait.
- Days are passing with no progress. A question at #alsa (Freenode) shows that the Alsa bugtracking is probably not used, so there is need to contact the developers through the mailing list.
- An e-mail is sent to the Alsa mailing list with the patch. The Alsa developer takes the patch and applies to his tree. We missed by several days the release of Linux 2.6.30; the patch should appear in 2.6.31.
The whole process took ten days. It is amazing how rewarding it is to follow the open-source processes and contribute the personal time to help make open-source better.
The patch was evidently elemental, however it required new testing to make sure it works, and that it applies to the current state of Alsa. There are many areas that you can contribute some of your time to make open-source better.
I would like to thank Theodora for going through the process, locating and verifying the patch, so that now it is pending inclusion in Linux 2.6.31.
10 Μαΐου: Το φόρουμ Ubuntu-GR έχει ΓΕΝΕΘΛΙΑ (1 χρόνος)!
10 Μαΐου: Το φόρουμ Ubuntu-GR έχει ΓΕΝΕΘΛΙΑ (1 χρόνος)!
Δείτε την παρουσίαση του φόρουμ του Ubuntu-gr που έκανε ο goofy στο συνέδριο FOSSCOMM που έγινε στη Λάρισα.
Δείτε την ανακοίνωση γενεθλίων στο www.ubuntu-gr.org.
Μερικά στατιστικά στοιχεία κατά τη συμπλήρωση του ενός χρόνου λειτουργίας του φόρουμ,
- τα περισσότερα από 2700 μέλη και τους πιθανότατα χιλιάδες επισκέπτες
- τις περισσότερες από 45.000 δημοσιεύσεις σε σχεδόν 4.500 συζητήσεις (θέματα / νήματα)
- τους περισσότερους από 150 Οδηγούς (How to – Tutorials)
- τα περισσότερα από 37.000 hits στο 3ο τεύχος του περιοδικού μας Ubuntistas (εξαιρουμένων λεκτικών Google, bot, κλπ)
- την έντονη δραστηριότητα-συμμετοχή σε δικτυακό τόπο Ubuntu-GR / λίστα συνδρομητών / Κανάλι IRC #ubuntu-gr στο δίκτυο FreeNode.
Γραφτείτε στο φόρουμ ubuntu-gr και μάθετε περισσότερα για το ελεύθερο λογισμικό στην ελληνική γλώσσα!
How to install the 64-bit Adobe Flash Player 10 for Linux in Ubuntu Linux?
So you just read the announcement from Adobe for the alpha version of the 64-bit Flash Player 10 for Linux and you want to install in Ubuntu Linux?
Here is how to do it.
- First, we understand that the flashplugin-nonfree package that is currently available to those with 64-bit Ubuntu Linux, installs the 32-bit version of Flash and uses the nspluginwrapper tool to make it work.
- After some time, I expect that the flashplugin-nonfree will stop using nspluginwrapper and will simply install Adobe Flash Player 10 (64-bit) for Linux. So you need to have a look in your package manager and the package description in case flashplugin-nonfree has already been updated. If flashplugin-nonfree has been updated, stop reading now.
- Close Mozilla Firefox.
- Uninstall the flashplugin-nonfree package using your package manager, or simply running sudo apt-get remove flashplugin-nonfree
- Download the alpha version of the 64-bit Adobe Flash Player 10 for Linux and extract the file from the archive. You will get a libflashplayer.so file, which is about 10MB is size.
- If you want all users in your system to have this alpha version of Adobe Flash Player 10 for Linux, copy the libflashplayer.so file to /usr/lib/mozilla/plugins/. The command is sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
- If you want just the current user to try out the Flash player, copy the libflashplayer.so file to /home/yourUSERNAME/.mozilla/plugins/. The command is cp libflashplayer.so ~/.mozilla/plugins/
- Check that in ~/.mozilla/plugins/ there is no dormant file with the name npwrapper.libflashplayer.so. A common issue with people who migrate their profiles is to perform a simply copy of the profile. The effect of this is sometimes there is an actual file called npwrapper.libflashplayer.so instead of a symbolic link. The result is that these people would end up using some old buggy version of nspluginwrapper which might be the cause of Firefox crashes! When you backup, use cp -a, so symbolic links remain symbolic links.
- You can now start Mozilla Firefox. Visit about:plugins and verify that the version of Flash is something like Shockwave Flash 10.0 d20. Make sure there is no remnant of any other previous Flash player.
- If you want to return back to the 32-bit Flash Player with emulation, remove the file we just added and install again the flashplugin-nonfree package.
The instructions for other distributions should be fairly similar.
Ubuntu 8.10, PulseAudio and Skype Problem
You installed Ubuntu 8.10, then added Skype, you try out Skype and you notice that the microphone does not work.
What’s wrong? If you search the lists, you can find some indications, however no proper explanation of what’s the source of the problem. Without having the Skype Linux developers explain, it’s difficult to know what is goind on.
Some instructions advise to disable PulseAudio. That is not a proper solution, so we ignore. We aim forward not backwards.
Some other instructions suggest to remove the pulseaudio package, then add it back again. I do not understand how that helps over /etc/init.d/pulseaudio restart.
The workaround that works for me is to keep the settings to pulse and set Sound In to HDA Intel (hw:Intel, 0).
Recording does not go through PulseAudio but it interfaces directly to the sound card.
Remember that before trying to troubleshoot Skype, make sure that recording and playback works with Applications▶Sound&Video▶Sound Recorder.
Updated to Ubuntu 8.10
I just updated my system to Ubuntu 8.10. Since I had a separate partition for /home, I opted to actually reinstall while retaining the files in /home. The rest of the post is a laundry list of tips.
I could not find a blank CD or CDRW, so I opted to write the installation 8.10 ISO to a USB stick, then rebooted with the USB stick and finally installed. It was really fast and and convenient.
All hardware was properly detected (sound card: snd-hda-intel, wifi: iwl3945, bluetooth, intel graphics card). Regarding the sound card, some kind soul probably submitted the PCI ID and model information to the ALSA project, so there is no need anymore to specify manually.
I upgraded the stock OpenOffice.org 2.4.1 to OpenOffice.org 3.0. There are many ways to do it, however the easiest is to simply add the software source
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
and let the system update itself automatically. For more on this, see the instructions at softpedia.
OpenOffice.org does not support OpenType fonts yet. I had the impression that OpenOffice.org 3.0 could see OpenType fonts but had trouble printing or exporting to PDF. My test showed that OOo 3.0 could not see OpenType fonts such as the ttf-gfs-* fonts, even when trying to force loading with spadmin. OpenType support is scheduled for the next version of OpenOffice.org. For now, we can use the wide range of TTF fonts.
I installed VirtualBox by adding the repository details described at the VirtualBox Linux Download webpage. Then, I tried to search with Add/Remove or Synaptic, however I could not find the virtuabox package. Only the virtualbox-ose packages were visible. It appears there is some sort of bug in the package description. If you open Synaptic, then click on the Origin (Προέλευση) filter which shows packages per repository. Select the virtualbox repository and you can eventually see virtualbox-2.0. Pretty weird.
For Evolution Mail, previously one would package the files manually and then restore them. This was error-prone because the account information are saved in gconf, the passwords in ~/.gnome2_private, etc. The proper solution is to remember to perform a backup before installing a new version of Ubuntu. In Ubuntu 8.04 and Evolution (from GNOME 2.22) there is an option to backup your settings, which includes mails and all. You finally restore in your new system; when the new Evolution starts for the first time, you are asked whether you want to restore a previous backup.
Firefox would freeze momentarily for some strange reason. I run from the command line and I noticed that some pages that had references to Flash material would freeze Firefox while trying to locate the Flash plugin. This was solved be installing flashplugin-nonfree.
I installed the updated Greek layout, so I can now type ϡϠϸϕϟαϛϚϖϐʹ͵ϻϺ«»ᾶᾅἒᾥ in the same layout.
Update #1: Ubuntu 8.10 works better with a dual head configuration. In System/Preferences/Screen resolution, you can activate the second display. The utility realises that the (currently) hard-coded maximum virtual display is not big enough to accomodate both monitors, and it asks you to edit automatically the xorg configuration file in order to add the setting for you. After a logout and re-login sequences, dual head works. Sadly for my graphics card, this means that there is no 3D support in this mode. With Intel 965GM, if the virtual screen does not fit in 2048×2048, then you no can haz 3D. Actually, if I align the displays vertically, they do fit and I would be able to get 3D.
Update #2: Time to put the system temperature sensors (CPU, hard disk). For the backend, we install the lm-sensors and hddtemp packages. With lm-sensors, we need to run sudo sensors-detect so that the appropriate settings can be detected. If you have a recent Intel CPU, this will probably find that you need to add the coretemp kernel module to /etc/modules, then reboot to activate it. For the hard disk temperature, simply install hddtemp and choose yes when prompted to add the hddtemp service. For the front-end, install the sensors-applet applet. You need to logout and login again so that this applet, called Hardware Sensors Monitor, appears in the applets list. Once you add, click to enable all available sensors in the preferences.
How to easily modify a program in Ubuntu (updated)?
Some time ago we talked about how to modify easily a program in Ubuntu. We gave as an example the modification of gucharmap; we got the deb source package, made the change, compiled, created new .deb files and installed them.
We go the same (well, similar) route here, by modifying the gtk+ library (!!!). The purpose of the modification is to allow us to type, by default, all sort of interesting Unicode characters, including ⓣⓗⓘⓢ , ᾅᾷ, ṩ, and many more.
The result of this exercise is to create replacement .deb packages for the gtk+ library that we are going to install in place of the system libraries. Because these new libraries will not be original Ubuntu packages, the update manager will be pestering us to rollback to the official gtk+ packages. This is actually good in case you want to switch back; you will have the enhanced functionality for as long as you postpone that update.
There is a chance we might screw up our system, so please make backups, or have a few drinks first and come back. I take no responsibility if something bad happens on your system. If you are having any second thoughts, do not follow the next steps; use the safer alternative procedure. You may try however this guide just for the kicks; up to the dpkg command below, no changes are being made to your system.
We use Ubuntu 7.10 here. This should work in other versions, though your mileage may vary.
The compilation procedure takes time (about 30 minutes) and space. Make sure you use a partition with >2GB of free space. We are not going to use up 2GB (a bit less than 1GB), but it’s nice not to fill up partitions.
We are going to use the generic instructions on how to recompile a debian package by ducea.
First of all, install the development packages,
sudo apt-get install devscripts build-essential
Next, we use the apt-get source command to get the source code of the GTK+ 2 library,
cd /home/ubuntu/bigpartition_over2GB/apt-get source libgtk2.0-0
We then pull in any dependencies that GTK+ may require. They are normally about a dozen packages, but we do not have to worry for the details.
apt-get build-deplibgtk2.0-0
At this stage we need to touch up the source code of GTK+ before we go into the compilation phase. Visit the bug report #321896 – Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0 and download the patch (look under the Attachment section). You should get a file named gtk-compose-update.patch. If you have a look at the patch, you will notice that it expects to find the source of gtk+ in a directory called gtk+. Making a link solves the problem,
ln -s libgtk2.0-0 gtk+
We then attempt to apply the patch (perform a dry run), just in case.
patch -p0 --dry-run < /tmp/gtk-compose-update.patch
If this does not show an error message, you can the command again without the –dry-run.
patch -p0 < /tmp/gtk-compose-update.patch
Finally, we are ready to build our fresh GTK+ library.
cd libgtk2.0-0debuild -us -uc
This will take time to complete, so go and do some healthy cooking.
At the end of the compilation, if all went OK, you should have about a dozen .deb files created. These are one directory higher (do a “cd ..“). To install, use dpkg,
dpkg -i *.deb
If you have any other deb files in this directory, it’s good to move them away before running the command. If all went ok, the .deb files should install without a hitch.
The final step is to restart your system. To test the new support, see the last section at this post. Use Firefox and OpenOffice.org to type those Unicode characters.
If you managed to wade through all these steps, I would appreciate it if you could post a comment.
Good luck!
Writing J2ME applications in Linux
Here is an interesting article on writing J2ME applications in Linux.
J2ME applications is software that runs on mobile phones that support Java applications. Most phones support such Java applications, and it’s good to get your phone to run at least your own Hello, World! program.

