Skip navigation.

Log in | Sign up

unBlogged

Click here, click there, click everywhere

June 2006

( Monthly archive )

Despre interactivitatea vocală pe web

, , , ...

Another article in Romanian, introducing voice interactivity on the web for new users (not developers!).

Interactivitatea vocală este o suită de standarde web ce permit dezvoltatorilor web să adauge comenzi vocale în siteuri. În funcţie de capabilităţile siteului, utilizatorul poate să facă absolut tot ce poate cu mouse-ul şi cu tastatura.

Important de ştiut despre interactivitatea vocală este că un dezvoltator web nu implementează el algoritmii de recunoaştere vocală şi nici de sintetizare vocală, ei doar programează regulile de recunoaştere vocală şi oferă textul pentru sintetizare. Adică ... ei asociază, de exemplu, pronunţarea cuvântului "Help" cu o pagină. Bineînţeles că regulile de recunoaştere vocală pot să fie mult mai avansate, ajungând chiar la recunoaşterea frazelor pronunţate. Dezvoltatorul web depinde de implementarea navigatorului web (capabilităţile de recunoaştere şi calitatea sintetizării). Deşi pare "neplăcut" este defapt un avantaj pentru dezvoltatori şi utilizatori. Asta deoarece utilizatorul nu va auzi pe fiecare site o altă voce şi recunoaşterea vovală va fi întotdeauna la fel de bună. Pentru dezvoltatori este avantajos din punct de vedere practic: cum ar fi să-şi programeze ei afişarea paginilor web la ora actuală? În primul rând nu se oferă tehnologiile necesare (adică destul de avansate) pentru a putea face implementări la standarde web în site-uri.

Pentru a începe să foloseşti interactivitatea vocală pe site-uri este necesar să foloseşti un navigator web ce implementează aceste tehnologii foarte noi, să ai un microfon bun, placă de sunet şi boxe. Singurul navigator cu aşa ceva disponibil pentru toţi, la ora actuală, este Opera 9 pentru Windows. Acesta se descarcă de pe www.opera.com. Se instalează în mod normal. După pornire trebuie activată capabilitatea de interactivitate vocală: mergi la Tools > Preferences > Advanced > Voice. Acolo trebuie bifată opţiunea "Enable voice-controlled browsing". Acum Opera va descărca fişierele necesare.

După cum se observă totul este în limba engleză pentru că Opera Software are momentan implementarea realizată în parteneriat cu IBM şi ceea ce le-a fost oferit este doar pentru limba engleză, pe Windows.

După descărcare se pot introduce comenzi vocale: trebuie doar tastat Scroll Lock (în funcţie de setările de la Voice Preferences). Pentru a controla navigatorul Opera comenzile încep cu "Opera". De exemplu, "Opera quit", "Opera previous page", "Opera go to home page" şi altele. Pentru mai multe comenzi, uită-te la comenzile vocale disponibile în documentaţie (tastează F1).

Pentru a cere navigatorului Opera să-ţi sintetizeze vocal textul de pe pagină trebuie doar să-l selectezi şi să tastezi V sau să dai click dreapta de unde alegi "Speak selection".

Site-uri cu interactivitate vocală sunt foarte puţine. Dacă doreşti să testezi un site cu aşa ceva, intră pe www.robodesign.ro/pronet. Acolo trebuie să treci site-ul la limba engleză (click pe legătura "English" care se găseşte sub bara de navigare a site-ului, în dreapta). Comenzile vocale disponibile pe prima pagină sunt:

- visit nume-pagină (de exemplu "visit offers", "visit support", "visit contact"
- speak navigation
- speak content
- help
- change language (pe prima pagină)
- news 1, news 2 ... până la 10 (pe prima pagină)

Pentru a testa şi alte comenzi vocale, poţi folosi modulul de administrare al site-ului: www.robodesign.ro/pronet/admin. Acolo poţi adăuga pagini noi ale căror titlu trebuie să-l spui atunci când doreşti să intrii pe pagină folosind o comandă vocală. Astfel poţi observa cum funcţionează (mai ales dacă te vei uita prin surse).

Utilitatea acestor tehnologii web este evidentă în cazul utilizatorilor cu handicap.

Interesant este de urmărit evoluţia acestor tehnologii web pe viitor.

Linux şi open-source

, , , ...

This is the Linux and open-source article I previously wrote in english. Translated to romanian, on request.

Când eşti un utilizator al Windowsului, fiecare din prietenii tăi care folosesc Linux îţi sugerează să treci la Linux: "nu mai fi sclavul Microsoftului" sau alte formule.

Alegerea unei distribuţii de Linux este un pas greu de sine stătător. Acest pas este greu chiar şi pentru "experţii" Windows.

După ce în sfârşit ai ales şi instalat distribuţia, urmează o etapă pe care eu o consider amuzantă: prietenii tăi care folosesc o altă distribuţie încep să glumească pe seama alegerii făcute. Asta se întâmplă indiferent dacă ai avut sau nu cunoştinţele necesare să alegi exact distribuţia de care ai nevoie (deobicei nu ai). Dacă întâmpini probleme şi le ceri ajutor răspunsurile pot fi de genul "ha, asta nu păţeşti cu distribuţia X".

După ce eu mi-am instalat Ubuntu, un utilizator de Gentoo mi-a spus în glumă "ah, Ubuntu e aproape Linux, dar bine că ai trecut pe Linux". Asta e încurajare! Alt utilizator de Fedora Core 4 mi-a spus foarte simplu "Ubuntu merge prea bine, e prea grafic". Interesant, deoarece lui nu-i place că unele distribuţii Linux ajung la un nivel la care utilizatorul poate să treacă direct la Linux, fără să întâmpine problemele foarte cunoscute: linia de comandă şi editarea manuală a fişierelor de configurare. El a spus acest lucru deoarece a văzut că am avut Samba funcţionând perfect şi v4l (Video for Linux) era deja funcţional (el a avut aceste două probleme pe FC 4). Cauza acestor probleme poate fi dată de faptul că FC este o distribuţie ce introduce pachete de ultimă oră, fără foarte multă testare.

Trebuie specificat că nu doresc să las impresia că distribuţia Ubuntu este cea mai bună. Nici pe departe. Am întâmpinat şi eu tot felul de "bucurii", dar multe din ele sunt foarte uşor de rezolvat.

Contrar părerilor unora, eu nu am trecut la Linux doar pentru a fi în pas cu moda (aş fi putut face acest lucru ani în urmă). Trecerea mea la Linux a fost datorată necesităţilor în domeniul programării web: am nevoie să experimentez cu tehnologii mai noi care în mod "natural" sunt făcute pentru Linux.

Nereuşita Linuxului de a creşte în popularitate pe desktopuri este cauzată de lipsa acordului între membrii comunităţilor de programatori Linux şi utilizatorii Linux, diversitatea fiind foarte mare. Comunitatea Linux este probabil prea diversă prin definiţia open-source-ului. Foarte bine (din punctul meu de vedere) este că acum se mobilizează tot mai multe grupuri de utilizatori şi dezvoltatori pentru a face Linuxul pentru desktopuri mai bun şi mai uşor pentru începători.

După ce te obişnuieşti cu Linux, poţi ajunge să-ţi chiar place puterea oferită de scripturile Perl/Python sau orice altceva din consolă. Acestea-ţi oferă într-adevăr libertatea de care ai nevoie după ce foloseşti mult timp abordarea WIMP pentru a interacţiona cu calculatorul. Window, Icon, Menu, Pointing device (fereastră, iconiţă, meniu, dispozitiv de indicare) sunt metaforele cele mai bine cunoscute în interfeţele actuale ale programelor de calculator (pe Windows, Mac OS X, Gnome şi KDE). Pe Windows aceste capabilităţi lipsesc. Distribuţiile de Linux destinate utilizatorilori începători nu dezactivează accesul la consolă, ci doar adaugă capabilităţile necesare în modul grafic. Asta este foarte bine, deoarece după un timp ţi se permite să experimentezi, să înveţi şi altceva.

Nu ar trebui să existe "războiul distribuţiilor" Linux. Fiecare distribuţie este bună în felul ei. Trebuie să o foloseşti cea care-ţi place, cea care-i pe gustul tău. Nu vei ştii care-i până nu le încerci pe fiecare. Când ai găsit una care-ţi place, nu o mai schimba.

În legătură cu diferenţele între distribuţii: Claudio Santambrogio a punctat foarte bine spunând că Ubuntu este doar o simplă distribuţie, nefiind specială, şi mi-a dat o legătură spre un articol scris de el despre laptopul de $100, din care citez:

Pentru un începător Linux este confuz să înveţe că există mai multe aplicaţii care fac acelaşi lucru. Răspunsul la cea mai evidentă întrebare («care program să-l folosesc?») este de multe ori, îndrâznesc să spun, o problemă cvasi-religioasă decât ceva raţional ce poate fi înţeles de începători.



Exact aceeaşi problemă este reflectată şi în alegerea unei distribuţii Linux.

Am instalat KDE pe Ubuntu doar să-l încerc. Acum am mii de pachete care nu le folosesc niciodată şi nici nu ştiu cu ce se ocupă toate. Am vreo 10 vizualizatoare de imagini, câteva navigatoare web, managere de fişiere, managere de pachete, playere video/audio, joculeţe, şi multe altele.

În general, distribuţiile foarte cunoscute (Fedora Core, Ubuntu, Debian, SUSE, etc) sunt şi foarte bune, chiar mai bune decât Windows. Asta se datorează stabilităţi, a vitezei şi a programelor disponibile. Cea mai serioasă problemă este că programe importante pentru Windows (gen Photoshop sau Flash) nu există pentru Linux şi nici multe drivere pentru imprimante, scannere şi alte accesorii la calculator. Parcă nu ar fi de ajuns, librăriile necesare pentru vizionarea filmelor şi ascultarea muzicii nu sunt permise în distribuţii Linux open-source (este ilegală integrarea acestora). Pentru un simplu utilizator asta este ceva foarte neplăcut, făcându-l să refuze Linuxul şi să nu mai vadă părţile bune.

Din unele puncte de vedere KDE şi Gnome sunt mai bune decât Windows. Ceea ce afectează KDE-ul este incorecta organizare a meniurilor, a interfeţei din fiecare pachet ce îl are. Gnome urmează standarde mai stricte şi din acest motiv îl folosesc.

Proiectele open-source sunt exemple extraodinare de lucru voluntar şi de organizare, fiind produse realizate de programatori începători pasionaţi şi de experţi angajaţi la diferite firme.

Trei dintre cele mai populare proiecte open-source (OpenOffice, Firefox şi Wikipedia), au tot felul de "probleme". Nu trece o săptămână să nu apară un articol negativ despre Wikipedia în care se arată proasta calitate a unor articole. Cu toate că exemplele oferite în aceste articole "bine intenţionate" sunt reale, nu se poate spune că Wikipedia este un proiect nereuşit. Wikipedia este, în general, o sursă bună de informare. Însă nu trebuie să crezi tot ce citeşti pe orice site. Avantajul pe Wikipedia este că ştii înainte că informaţiile ce le citeşti sunt probabil greşite. Dacă e ceva important întotdeauna trebuie verificat. La fel trebuie făcut şi cu orice alt site. Oricine doreşte să se documenteze la modul serios despre ceva nu trebuie să-şi bazeze cunoaşterea pe un singur site.

OpenOffice este un pachet foarte mare care probabil are scopul să ajungă la fel de greoi ca Microsoft Office. La ora actuală este bun şi-l folosesc, dar ar trebui să fie mai rapid, mai bun şi mai mic. Personal nu sunt prea mulţumit de el, deşi îl recomand în locul lui Microsoft Office.

Firefox este un produs realizat într-un mod inteligent. Corporaţia Mozilla este mult mai bine organizată şi se menţine pe o linie dreaptă. Nu e bine că Gecko (motorul din Firefox) introduce tehnologii proprietare, care nu sunt bine departajate de celelalte. Mă refer la adăugarea de proprietăţi noi în DOM care sunt specifice Gecko. Aceeaşi metodă este folosită de Microsoft, în Internet Explorer. Probabil cei de la Mozilla vor să obţină un Firefox similar cu Internet Explorer-ul actual (nu numai să domine piaţa navigatoarelor). Să sperăm că asta nu se va întâmpla şi că Gecko nu va rămâne în urmă la suportul standardelor web.

Pachetele Linux nu ar trebui să încerce să copieze programe Windows. Acum este nevoie de abordări diferite, de îmbunătăţiri pe desktop care să conecteze calculatorul la web (noua tendinţă). Mulţi ar trece la Linux dacă ar oferi ceva cu mult mai bun, uşor de utilizat, uşor de învăţat. La ora actuală pe Linux găseşti aproximativ aceleaşi lucruri, dar unele nu sunt la fel de bune. De ce să treci? Doar pentru a fi altfel? Există acele lucruri care chiar lipsesc pe Windows, gen opţiuni pentru customizare, stabilitate, viteză, control mai bun asupra sistemului, şi bineînţeles manager de pachete/programe, dar nimic nu sare în ochi.

Nu e necesară revoluţia, deoarece asta sperie un utilizator fiind vorba de schimbări prea mari. E vorba doar de evoluţie.

Foarte interesant e dacă va fi cândva o distribuţie Linux care încearcă să fie "mama" tuturor. Una care poate fi recomandată începătorilor de către toţi utilizatorii actuali Linux (indiferent de experienţă). O singură distribuţie care să aibă baza de date de pachete întotdeauna cu ultima versiune, unde găseşti aproape orice doreşti, cu drivere, cu instalare semi-automată de librării pentru ascultarea muzicii şi vizionarea filmelor, etc. Această distribuţie trebuie să fie stabilă dar nici veche precum Debian Stable.

O asemenea distribuţie, cu interoperabilitate între KDE şi Gnome, cu WINE preconfigurat foarte bine, ar aduce mulţi utilizatori pe Linux. WINE este un pachet ce poate rula aplicaţii Windows pe Linux la o viteză aproape nativă, dacă-l ştii configura. Acesta poate fi bine integrat în sistem. Nu trebuie uitat că este necesar să poţi să rulezi programele Windows, pentru că multe nu sunt disponibile pe Linux, sau la multe nu se doreşte renunţarea (de exemplu, a plătit mult pentru Adobe Photoshop).

Discuţiile generale despre Linux ar trebui să fie despre Distribuţia Distribuţiilor.

KDE and Gnome

, ,

Yet another blog post about KDE and Gnome. You've all been waiting for this one :smile:.

First of all, I use Gnome 2.14 and I have some parts of KDE 3.5.3 installed too. Why? Gnome seems to be better glued together and more professional, feels less bloated and it also feels faster. I say it only feels so, because I haven't done any real tests.

KDE got some real goodies like Quanta Plus which is probably the best web programmers editor I've used. Given it's free ... I'd say it's amazing. I've seen loads of shareware editors that have far less features (for Windows of course).

KDE TV was also my favourite TV application since it's really good for all my TV viewing needs (it does have the deinterlace filter :smile: ). However, since then I switched to tvtime, because I find it faster and better in some ways (too bad I can't configure it too much, it's very minimalistic).

I was pleasantly surprised by Konqueror (as a web browser). I've never knew it's so powerful. Much better than IE. Too bad it's very little known. I am aware it's not a browser as capable as Opera or Firefox, but it's very good (it can properly render all the CSS layout sites I have).

Nicest surprise to KDE was KTTS :smile:. Nice stuff guys. Just one suggestion: add a global shortcut for reading the clipboard.

KolourPaint is my choice for simple image editing (GIMP is too advanced/different for me ... even if I am used to Photoshop).

Kig and Kseg are two educational packages worth the time spent by their respective authors on development. Meaning Kseg is a very cool dynamic geometry software, but it's not as complete as Kig. Kig, IMHO, will become my primary tool for dynamic geometry. It's very, very good and advanced. Yet, I still need to learn some of its capabilities :smile:.

Amarok is the music player. Much better than Winamp and all others. I've tested Rythmbox, Banshee, juK and other music players. None comes close to Amarok, which is feature packed and nonetheless it's fast enough. Don't expect it to be as fast as XMMS, but it's faster than Banshee and Rythmbox which are the two music players receiving most attention. Amarok has a very good collection, tagging with online database, automatic scoring of songs you listen most, it also picks similar songs recommended by Last.fm. You can automatically search for lyrics, for artist information, similar artists, etc. The context browser is very nice, because it automatically shows songs you are most likely to be interested of (favourites, new additions, songs from the same album, same artist, etc). Other goodies includes are cover management (automatically finds the cover online), Python extensions (web control and more), nice customizable OSD and lots more :smile:. Simply, amarok is the best player. It doesn't crash, it got a very fast collection search and analizer. Rythmbox and Banshee both crashed when scanning my songs, LOL.

The funniest part in KDE is ... guess what? Image viewers. Amusing, huh? Most KDE image viewers suck big time. They are even worse than the worst image viewer I've ever seen on Windows. There you go, I've said it. Shocking statement? I'd say it's a shocking fact on my Ubuntu 6.06 install (and Ubuntu 5.10): just loading an image of lets say 800x600 in Kview (or KuickShow, whatever) and zooming to 400% sends the system to hell :smile:. Memory usage increases a lot and the virtual memory is required, so the HDD activity raises like I'm copying several files on the network at once (it even slows down mouse movements). I suppose it's because the 400% zoomed image is way too big to hold it all in the memory :smile:. Veeery efficient code. If this caused by the Ubuntu distro, then ... this is the worst thing Ubuntu has :smile:.

Worth noting is the problem doesn't apply to KolourPaint, which most likely uses a different library.

Here comes the irony: KDE image viewers have better support for image formats. I wasn't able to view some BMP images with any of the Gnome image viewer (GQView, Gthumb and EOG). Also, I wasn't able to see any PSD image, only KDE supports them :smile:.

So, my default image viewer is Gthumb and besides it I also have Kview. I removed all the other image viewers.

The latest Kopete seems to be a very attractive alternative to Gaim. I simply enjoyed "hacking" into the XSLT files to change the display of the conversation. I also like it has notifications, and more options. What made me not to use Kopete: it's underdeveloped. Anyway, Kopete is still in its infancy.

Both desktop environments are not professional and fast enough. They should also follow stricter guidelines, making them look more professional.

I like the panels, the applets, menus editing, the multiple desktops/workspaces environment, the keyboard configuration (accessibility, layouts and variants). These are things Windows should get too, just like it should get proper permissions per file and symbolic links. Windows is actually a very weak desktop environment compared to KDE and Gnome.

Gnome 2.14 has noticeable speed improvements. As far as I know, it's going to get more speed improvements for version 2.16. I like that. KDE 4 is going to be interesting, but I have a "hunch": it's going to be buggy, since they make big changes.

I like the idea of KDE: having a single keyboard shortcuts editor in all applications, a single toolbar editor, menu editor, etc. I also seem to like the idea of KNotify with it's integration with KTTS.

As for customization, KDE is the clear "winner". I like I can easily customize the themes and everything I want in a single place: KDE Control Center. Yes, I know it's hatable, but it's also good. The themes in KDE seems to be more flexible than the ones in Gnome.

What I dislike when I am in Gnome, if I start KDE applications, I'm seeing KDE, not Gnome. I know it's normal, because they depend upon the KDE packages, but there should be more interoperability. Why not use the Gnome keyboard shortcuts editor when in Gnome? Why not use the Gnome widgets (and more stuff)? Same goes for when I am in KDE: I see Gnome stuff.

It's all about consistency. Is that too much to ask for? :smile:

Projects like Tango Desktop Project, LSB and Portland are very good because they help with consistency. I'm glad the latest Ubuntu uses the Tango icons.

KDE and Gnome also play the "catch-up with Windows" game Windows functionality, just like OpenOffice seems to do with Microsoft Office. Microsoft will always be one step ahead, because they are currently modifying the rules of the game with Microsoft Office, Windows Vista and more.

Why not be a bit different? Why not bring something new and better?

Thanks to Microsoft, alternative web browsers (Opera, Firefox, Safari, Konqueror) had enough time to go miles ahead of Internet Explorer.

KDE and Gnome had the same amount of time... and the heads of these desktop environments decided upon using the allocated time to catch-up with Windows. They almost did :smile:.

KDE 4 received some good press, mostly hype currently (IMHO), about bringing new stuff to the table, about innovation (Plasma, whatever). That's nice. I'd be glad if they'll succeed.

Another thing I do not like, specially in regards to KDE: they include a huge amount of packages. Come on, keep the desktop environment only. Gnome is sticking to Epiphany, which is, with all due respect, yet-another Gecko browser. Seriously, why would I switch to Epiphany? Both desktop environments should be bare bones. The other packages should only be optional, just like screen is.

Konqueror, as a file manager this time, is more feature packed than Nautilius. However, I'm in favour for the simplicity offered by Nautilius.

The overall conclusion is both desktop environments are powerful, each having its own strengths and weaknesses. I am very well aware most of the ideas have already been expressed before by others, yet I think the more people voice their opinions the closer we'll get to this happening (consistency, blah, blah). Those in charge of the development of these two great desktop environments will take into consideration what the majority says.

Customize your Linux terminal

, , , ...

Hello!

How many like the terminal/console in Linux?

I myself like it, even if I do not use it too much. I use much of the X-based "bling bling": Gnome, Opera, Gaim, Xchat, Quanta, XMMS, etc. However, I particularly enjoy the power the console gives you: the one who says you're somehow limited in the terminal is very wrong. That's because you do almost everything you want: you can play music, you can play browse the web, use any Internet protocol (ftp, bittorent, pop3/imap/smtp mail, etc), you can do programming (of course), etc.

Simply forget about the MS-DOS console you know. That's limited (flame bait). Linux console, even if it looks the same, is not the same :smile:.

One thing missing in the GUI approach (KDE, Gnome, Windows, Mac OS X, etc) is consistency. The terminal is always consistent, it's the same on Linux, on Windows and Macs. The commands differ between operating systems, but the basics are the same.

I did 4 things to customize my terminals on Ubuntu Linux:

1. Console font. I picked a font which includes the most-used non-english characters in the documents I usually view (romanian and french).

To do this after you booted use:

consolechars -f /usr/share/consolefonts/font-file-name

This is handy for testing because the changes will be lost after you restart, plus the changes are applied only to the current terminal.

You shall pick the font-file-name you want. Just take a look at the console fonts you have installed. The ones I have are named based on the character set they can display: iso01, iso02, latin1, koi, etc. I use iso-8859-2 (for Central European).

To make the change permanent just edit /etc/console-tools/config. Change SCREEN_FONT value to the font file name you found to like.

2. Keyboard layout. I changed the keyboard layout to a custom keyboard layout I made, based upon the romanian programmers keyboard layout provided by default in Ubuntu, plus the American international keyboard layout with dead keys. Last, but not least, I also looked into the french keyboard layouts :smile:. My purpose was to have a normal english keyboard layout, but greatly enhanced for Level 3 (activated with the Right Alt key).

To make your own custom keyboard just go to /etc/X11/xkb/symbols and pick the keyboard language you want to start from. Edit it, look into other files to learn what needs to be changed, have fun :smile:.

Things to know about those files: they contain the symbols associated to each key on the layout. Therefore, they are not exactly keyboard layouts. The files are named based on the country code, and they contain all the keyboard variants belonging to the country. You should be able to add your own, but you need to learn how to do that (you need to edit other files aswell). My file does not add a new variant for two simple reasons: lack of knowledge (caused by lack of spare time to learn how), lack of motivation (caused by the fact I don't want to backup another file). I just modified the basic variant.

XKB is very advanced and complex: you can change the geometry, the rules, the symbols, everything. You can make a single key do wonderful things. Yet, don't ask me how LOL (I am still learning myself). All I know is enough to make my own nice keyboard layout :smile:.

To learn more:
- The XKB Configuration Guide
- An Unreliable Guide to XKB Configuration

It is important to note all changes also apply to the X server. You can use the keyboard layout in Gnome, KDE and what else you wish.

To change the keyboard layout in the terminal just run kbd-config or
sudo dpkg-reconfigure console-data

In Gnome you must know how to do it, same goes for KDE.

Download:xkbd-ro
If you are a romanian, you'll most likely want this layout :smile:. Save the file as /etc/X11/xkb/symbols/ro (overwrite!).

For maximum fun I edited my xorg.conf to use the custom keyboard layout.
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "ro"
        Option          "XkbVariant"    "basic"
EndSection

For an unknown reason, the keyboard layout does not work exactly in the same way as in X. In the console, the keyboard map is a bit "screwed" and dead keys are out of the discussion, since they are not supported by the font. I'll probably have to make a new variant specialized for the console. Based on what I learned, the difference might be caused by the fact I do not have the same XkbdRules as xorg. I'll see :smile:.

Suggestion by csant: To edit the keyboard layout, you can also use a GUI-based tool:
sudo apt-get install xkeycaps

3. Sticky keys. I use sticky keys in X, so I wanted to use them in the terminal aswell. The above two guides also provide tips in regards to how to enable sticky keys. Based on other tutorials, there are several ways one can achieve this goal. I picked the "loadkeys method".

The file is:
keymaps 0-6,8-9,12
keycode 29 = SCtrl
keycode 42 = SShift
keycode 56 = SAlt
keycode 54 = SShift
keycode 97 = SCtrl

Keymaps differ from a configuration to another. So, you need to learn which ones are on your system:
dumpkeys | head -1

Save the above file, after you update it and execute:
sudo loadkeys your-file

Warning: Providing a wrong keymap can render your keyboard unusable (I actually needed to do a forced reset :smile: ).

Warning 2: Your system might use different keycodes for the same keys. If this is the case, use showkey. Generally, if you have a PC which is "mainstream" (like mine), this should be safe.

If you take a close look at the above, you'll notice the missing second SAlt. That's because the second one (Right Alt = keycode 100) does provide access to level 3, used for inputting special chars. Making it sticky, loses the "special" attribute. I don't know currently how to make the it a sticky without losing the capability of switching to level 3.

The behaviour is: you press Shift then a = A. Pressing again a = a. This means that pressing shift will not lock it. For locking-type of sticky keys, read the above two guides.

To make the change permanent, just add the call to loadkeys into your /etc/rc.local.

4. Higher resolution. To do this edit /boot/grub/menu.lst by adding vga=792 to the kernel you use. Something like this:
title           Ubuntu, kernel 2.6.15-25-386
root            (hd0,0)
kernel          /vmlinuz-2.6.15-25-386 root=/dev/hda3 ro quiet splash vga=792
initrd          /initrd.img-2.6.15-25-386
savedefault
boot

Tips and tricks:

1. VNC for the console. If you like VNC, you can also share your console :smile:. Install the linuxvnc package (use apt-get).

Yet, it's recommended that you use the screen package, which is better. VNC is generally meant for graphical stuff :smile:.

2. To capture the screen of your terminal, as a text file, use:
sudo setterm -dump

What I want to do next is enable beep for sticky keys, same as in X. Also, I'd add the "locking-type" of sticky keys, exactly as in X: press Shift twice to lock it.

Ubuntu 6.06 (Dapper Drake)

, ,

Hello!

I have upgraded to the latest Ubuntu version about a week ago. I have chosen the "alternate" upgrade method: I downloaded the ubuntu-6.06-alternate-i386.iso and mounted the image. I also added the CDROM, as pointed by the Ubuntu Dapper upgrade guide on their wiki. Of course, I also downloaded all the upgrades which are not available on the CD, so I won't have any surprises.

Problems:

1. Logout procedure crashed: gnome-session had some problems.

2. After reboot Xorg failed to start. I found out GLcore module was removed. To my surprise, no nvidia-glx either. Reason: nvidia-xconfig and nvidia-settings were previously installed. In the new Ubuntu Dapper you are not allowed to install those two packages alongside nvidia-glx. So, the automatic upgrade procedure picked the "best" option: no nvidia driver at all. LOL.

I reinstalled the nvidia-glx package and removed nvidia-settings and nvidia-xconfig. Back in business.

3. Keyboard preferences were lost. It also lost which keyboard layouts I have, which accessiblity features I have enabled. Not a big deal.

4. VMWare Workstation 5.5 fails to start with some errors regarding libcairo, libpng and libbonobo. Problem not yet solved. Anyone has some suggestions? I of course recompiled the module for the new kernel. I even tried complete VMware reinstall.

5. Because of the first problem, it also removed the ubuntu-desktop metapackage, therefore I missed a few new packages (funny). Problem solved.

For unexperienced users these kinds of problems are a real turn off. This has been said before.

Overall, the upgrade was worth it. Congrats guys! I like the updated interface for Gnome, the speed improvements (now I'm back to Gedit instead of Mousepad, hehe), etc.

The new Deskbar applet is very cool, I like it much. However it's unusable due to the fact each time I type an address of a site starting with www. then continuing to .whatever ... the deskbar popup. That's silly and annoying. I've disabled the "web" plugin in the deskbar preferences. I still can't type www.google.com :smile:. Therefore, I won't use the deskbar applet. Otherwise I would've liked using it.

That's about all.

Update 2006-06-16: Ubuntu team updated the kernel and many other packages in the repositories. After applying all updates, VMWare works again! Plus the deskbar does no longer show when writing web address. Kudos to the Ubuntu team :smile:.
Download Opera, the fastest and most secure browser