Navigation
Syndicate content
Planet Mandriva - http://planetmandriva.zarb.org/
Updated: 1 hour 5 min ago

Vincent Danen: Linux != Windows

11 hours 18 min ago

I came across this great article today entitled Linux is Not Windows. This is a fantastic post that breaks down why people should stop comparing Linux to Windows and what newbies can do to make their Linux experience more enjoyable as well as not piss off existing Linux users. =) It’s a little long, but definitely worth reading (and saving, to point to those people who seem to think Linux should be a FOSS Windows clone).

He breaks it down into the following problems:

#1 Linux isn’t exactly the same as Windows
#2 Linux is too different from Windows
#3 Culture shock
#3a There is a culture
#3b New vs Old
#4 Designed for the designer
#5 The myth of “user-friendly”
#5a Familiar is friendly
#5b Inefficient is friendly
#6 Imitation vs Convergence
#7 That FOSS thing

It’s very well articulated and quite intelligent. Most of all, it makes sense… good sense. It would even make sense to the guy whining that Linux isn’t exactly the same as Windows, and gives good reasons as to why it a) never will be and b) never should be.

Vincent Danen: Dig for more data in the /proc directory

14 hours 6 min ago

This one is over a month old and got lost in my inbox, so I’m posting it now. A month ago’s TechMail was Dig for more data in the /proc directory which pretty much shows some ways of mining for info in the /proc pseudo-filesystem.

Vincent Danen: Send mail with eSMTP for a simple, single-user system

Wed, 07/02/2008 - 23:22

And finally, this last week’s Techmail was Send mail with eSMTP for a simple, single-user system which discusses using eSMTP to send email instead of setting up a full-blown postfix or exim or whatever server.

Vincent Danen: Chroot users with OpenSSH: An easier way to confine users to their home directories

Wed, 07/02/2008 - 23:17

Last week’s TechMail was Chroot users with OpenSSH: An easier way to confine users to their home directories which discusses the new chroot capabilities of newer openssh. Chrooted sftp is very very cool and a welcome addition to openssh, although it would be neat if chrooting shell logins could be as easy.

Vincent Danen: Use Fuse to mount remote ssh directories

Wed, 07/02/2008 - 23:14

Haven’t been keeping up with the TechMails, so here’s the last three works worth. This one is entitled Use Fuse to mount remote ssh directories and it discusses how to use Fuse (user-space filesystem) to mount remote ssh directories as “local” filesystems. Extremely useful stuff.

Pascal Terjan: Limiting speed with openssh

Wed, 07/02/2008 - 08:06

Until now I was using rsync when I needed to limit bandwith, but on this morning I could read this on IRC :

<la_loOse> scp a aussi un -l pour limiter la bande passante

In english: scp has a -l option to limit bandwidth

And indeed, in the manpage: -l limit Limits the used bandwidth, specified in Kbit/s.

I have no idea how old is this option...

Frederik Himpe: Getting nice anti-aliased fonts in Debian

Tue, 07/01/2008 - 18:43

Since about a year I'm using Debian on an Apple Powerbook G4 PowerPC laptop. Mandriva does not have an active PowerPC port anymore, I don't really like Ubuntu (and their PowerPC port does not get the same priority anymore as the x86 ports), so Debian was an obvious choice for me, and I have never regretted this.

One of the things that annoyed me however, was the default looks of fonts. Some fonts (especially in Firefox) did not look anti-aliased, while those that were, did not look as nice as I'm used to from Mandriva. At that time, I did not found anything better than compiling a more recent version of freetype (just standard ./configure, make, make install, no patches for enabling any patented stuff) and replacing the contents of /etc/fonts/conf.d by the one from a Mandriva system. And installing the Liberation fonts from Red Hat's tarball.

Today, things are a bit easier: a Liberation package is now available in the Debian repository as are up to date packages of Freetype. And I learned a bit more about Debian's Freetype configuration, so I was able to tweak the default settings now, instead of just replacing everything by Mandriva's.

Here's a quick howto. I assume you are using Debian Lenny, and have the unstable/sid repositories added to apt's sources.list (use apt pinning so that testing is preferred over unstable).

  • Make sure you have the basic font packages installed: apt-get install ttf-dejavu ttf-liberation (the latter currently only exists in unstable)
  • Make sure you have a recent version of freetype installed. Run apt-cache policy libfreetype6 to see which versions are currently available in Debian. I installed version 2.3.6 from Unstable: apt-get install -t unstable libfreetype6
  • Install a recent fontconfig version. Run apt-cache policy fontconfig to see which versions are available. I installed version 2.6.0 from unstable: apt-get install -t unstable fontconfig libfontconfig1 fontconfig-config
  • Go the the directory /etc/fonts/conf.d. You'll see that it contains all symbolic links to /etc/fonts.conf.avail which contains some more interesting configuration files which we'll activate by adding a symbolic link. Especially I want to use the autohinter, enable RGB subpixel hinting and don't want to use bitmap fonts:
    ln -s ../conf.avail/10-autohint.conf
    ln -s ../conf.avail/10-sub-pixel-rgb.conf
    ln -s ../conf.avail/70-no-bitmaps.conf
  • Now in GNOME go to the menu System - Preferences - Appearance and go to the Fonts tab and play a bit with the settings until you are happy with them. I used Deja Vu Sans Book 9pt for desktop and application fonts and Liberation Mono 9pt as fixed widht font. Rendering is set to subpixel smoothing, and in the details panel I chose suppixel (LCD) smoothing, full hinting and RGB subpixel order. If you are using KDE 3, you can make similar settings in KDE's Control Center under Look & Feel - Fonts (make sure anti-alising is enabled and click on the Configure button).
  • In Firefox/Iceweasel 3 go to Edit - Preferences - Content and click on the Advanced button in the Fonts & Colors section. Configure the fonts you like best (I chose Liberation fonts, and set sans-serif by default and play a bit with the default and minimum font size (I chose 15 pt as default size, and 9 pt as minimum).

Enjoy your nice fonts!

Danilo Cesar DP: SU-W8 accents on N800.

Mon, 06/30/2008 - 05:10

I was wondering why my SU-8W BT keyboard doesn’t work well with pt_BR layout. So, yesterday, I decided to investigate this.

When I was trying to pairing my keyboard, I could see that Su-8W is a pre-configurated keyboard, and with a little of patience, I dicovered the file who manages this: /usr/share/X11/xkb/symbols/nokia_vndr/su-8w.

With 5 minutes by reading this file you can be familiarized with file syntax. And, with 10 minutes, you can note that THERE IS NOT A LAYOUT DEFINITION FOR PORTUGUESE/SPANISH. So, now I know why the Portuguese layout doesn’t work =).

But, Ok. Lets try to fix it.

If I select portuguese layout, and there is no portuguese layout, I assume that it’ll use us-intl, right? But, in the begining of the intl definition exists a anoying comment: “I can’t belive! It’s not intl”. Hummm…

Lets ignore this, and go on… What do I need? Dead_keys in `,~,",',^, and ç when I press “ALTgr + c”.

I’ll not explain all the changes I did (it’s not too much, just 4 boring lines), is easier to download and replace the old file by this one, or see the diff. [ADVISE: DO NOT FORGET TO BACKUP THE OLD FILE]

And Voilà, Accents and Cedilla working like a charm.

The right workaround for it is create a valid portuguese layout, but just for testing proposes you can alter the intl layout.

Ok, that is it,

Cheers!

Gustavo Pichorim Boiko: About the Plasma’s FolderView

Fri, 06/27/2008 - 17:42

The FolderView is a very nice way of organizing your stuff and making everything quickly accessible in the desktop. It is also nice to see it supports kio and that it is being improved

While I’m not a usability expert (like Celeste), I have a strong feeling that some small changes could make it even better. One interesting thing (I guess this is probably already planned) would be to make it possible  to show thumbnails for the items. Also, the panel title could be editable (allowing the user to set a custom title for the panel, like “My TODO items”, or “I really need to organize this” for example).

Another thing that caught my attention was the settings dialog:

Wouldn’t it be better to show a folder selection panel directly and also assume the user is going to show everything from the folder in most cases? I mean, I don’t expect users to know the path of the folder (in fact most of them don’t do) if the way it acesses the folder everywhere else is through file navigation dialogs. For the filter it is even worse, because knowing that an asterisk means all your files are going to be shown is a bit out of the user’s scope.

Not that I’m complaining (as I’m not really helping the development I guess I have no rights to complain), but as there is currently a big effort on making KDE do well on usability side I think this small tricky details should be taken care since the begining of the development process.

One last consideration is about the scrollbars on the panel. I know showing the scrollbar all the time is a good thing (as it works as an indication that there is more content to be shown), but I don’t feel much comfortable by having a scrollbar all the time in my desktop

It might be a good idea to consider trying something like the up/down indicators that are shown in the Mac OSX Leopard’s QuickLook panel:

Besides those small details, all I have to say for the ones who did it is : good job! :) 

Claudio Matsuoka: Grüner Tee

Thu, 06/26/2008 - 21:31

No, I am your father is so lame. Green tea is much better.

5 comments

Luis Menina: Micro Hebdo n°531 sur les ultra-portables (netbooks)

Tue, 06/24/2008 - 01:20

Ah Micro Hebdo. Le premier (et seul) magazine informatique auquel j'ai été abonné, quand j'étais encore sous Windows.

J'ai fini par acheter Micro Hedo n°531 (encore en kioske demain), en vu d'un voyage en train où j'avais du temps à tuer. Bon, le public de ce magazine est clair : le Windowsien débutant ou moyen qu iveut avoir des trucs pratiques. En général ils sont assez objectifs. Ils ont même essayé Linux de temps en temps, (si, si, et même Mandriva Linux, avec quelques bêtises en prime). Bon, c'est clair par contre qu'on y parle plus de logiciels gratuits que de logiciels libres.

Dans ce numéro, donc, on parle des ultra-portables à moins de 400 euros. Evidemment j'ai traqué l'utilisation de Linux dans ces bestioles. On y parle du futur Gdium Liberty 1000, qui utilise une Mandriva Flash rebaptisée pour l'occasion "Mandriva G-Linux". Par contre (honte à eux) ils oublient complètement que le Airis Kira 740 est aussi disponible avec Mandriva Linux (alors que tous les articles sur le sujet en parlent depuis bien 2 mois) !

Les autres modèles testés:

Eh bien le résultat des tests a l'air sans appel: le modèle d'Acer enfonce les autres au niveau prix (299€), poids (le seul à moins d'un kilo avec le PC by Surcouf) et rapport qualité/prix. De plus, il offre une capacité de 10Go de SSD dans la version Linux, et 8Go pour la version Windows.

Là où ça devient intéressant c'est qu'on peut choisir une version avec disque dur plutôt que SSD (bon, je préfère la SSD pour ce type de machine). Pour un disque de 80Go , on en a pour 20€ de plus dans la version Linux, et 70€ de plus pour la version Windows. Vous me suivez ? On a deux machines identiques sous Windows et Linux, avec 50€ de différence. Idem pour le MSI Wind U100: 50€ de plus pour la version Windows, à matériel identique. Il semble donc qu'il y ait un certain consensus : une licence XP en OEM se négocie dans les 50€. Prenez des notes pour la prochaine fois où on vous proposera 20€ pour le Windows de votre tout PC portable tout neuf (avec l'envoi du portable à vos frais bien sûr).

Pour conclure, vu les caractéristiques du Aspire Acer One, et la politique d'ACER de soutien à Linux, c'est le type de machine qui peut détrôner l'EEEPC d'Asus.

Luis Menina: Micro Hebdo n°531 sur les ultra-portables (netbooks)

Tue, 06/24/2008 - 01:20

Ah Micro Hebdo. Le premier (et seul) magazine informatique auquel j'ai été abonné, quand j'étais encore sous Windows.

J'ai fini par acheter Micro Hedo n°531 (encore en kioske demain), en vu d'un voyage en train où j'avais du temps à tuer. Bon, le public de ce magazine est clair : le Windowsien débutant ou moyen qu iveut avoir des trucs pratiques. En général ils sont assez objectifs. Ils ont même essayé Linux de temps en temps, (si, si, et même Mandriva Linux, avec quelques bêtises en prime). Bon, c'est clair par contre qu'on y parle plus de logiciels gratuits que de logiciels libres.

Dans ce numéro, donc, on parle des ultra-portables à moins de 400 euros. Evidemment j'ai traqué l'utilisation de Linux dans ces bestioles. On y parle du futur Gdium Liberty 1000, qui utilise une Mandriva Flash rebaptisée pour l'occasion "Mandriva G-Linux". Par contre (honte à eux) ils oublient complètement que le Airis Kira 740 est aussi disponible avec Mandriva Linux (alors que tous les articles sur le sujet en parlent depuis bien 2 mois) !

Les autres modèles testés:

Eh bien le résultat des tests a l'air sans appel: le modèle d'Acer enfonce les autres au niveau prix (299€), poids (le seul à moins d'un kilo avec le PC by Surcouf) et rapport qualité/prix. De plus, il offre une capacité de 10Go de SSD dans la version Linux, et 8Go pour la version Windows.

Là où ça devient intéressant c'est qu'on peut choisir une version avec disque dur plutôt que SSD (bon, je préfère la SSD pour ce type de machine). Pour un disque de 80Go , on en a pour 20€ de plus dans la version Linux, et 70€ de plus pour la version Windows. Vous me suivez ? On a deux machines identiques sous Windows et Linux, avec 50€ de différence. Idem pour le MSI Wind U100: 50€ de plus pour la version Windows, à matériel identique. Il semble donc qu'il y ait un certain consensus : une licence XP en OEM se négocie dans les 50€. Prenez des notes pour la prochaine fois où on vous proposera 20€ pour le Windows de votre tout PC portable tout neuf (avec l'envoi du portable à vos frais bien sûr).

Pour conclure, vu les caractéristiques du Aspire Acer One, et la politique d'ACER de soutien à Linux, c'est le type de machine qui peut détrôner l'EEEPC d'Asus.

Vincent Panel: yoho

Mon, 06/23/2008 - 09:02

Un nouveau projet voit le jour dans la communauté Mandriva, il s’agit de Taster (le titre choisi par analogie avec Cooker).

Le but de ce projet est d’améliorer la qualité de la distribution Mandriva Linux en organisant les tests de trois choses :

  • Les versions beta de Mandriva Linux (alpha, beta et RC, pour être exact)
  • Les contributions occasionnelles (par exemple, sont sortis dernièrement un live CD XFce et un noyau pour le support des disques Blu-ray, etc…)
  • Des cas d’usages (on écrit une procédure sur, par exemple, “graver un DVD sous K3B” et le testeur pressé n’a qu’à suivre le tutoriel et rapporter les problèmes qu’il rencontre)

Ce projet est ouvert à tous : il suffit de posséder une Mandriva quelquepart, de s’inscrire sur le forum Mandriva et sur une liste de diffusion (le tout étant bien évidemment gratuit et sans engagement). Le projet a été pensé pour les utilisateurs de la version stable, pas besoin de posséder ou installer cooker. Vous recevrez périodiquement dans votre boîte mail les nouveautés à tester. Vous trouverez sur le site du projet, les détails de l’inscription et une explication du fonctionnement et des rôles de chacun.

Le projet se veut évolutif, seules les bases sont posées pour l’instant et c’est pourquoi il est sur un site sous forme de trac : si vous avez des remarques sur le fonctionnement du projet lui-même, il est possible de créer un ticket trac.

À bientôt, j’espère, au sein du groupe Taster !

Frederik Himpe: KDE 4.1 beta 2 bug status

Sun, 06/22/2008 - 16:57

This week-end, I installed KDE 4.0.83 also known as 4.1 beta 2. Here's a quick round-up of issues I reported:

Looking at the bugs of previous weeks, those are fixed now:

So in total, this means 4 out of 31 bugs reported during the last two weeks are fixed now. Unfortunately, most other bugs did not see much progress at all: either they are considered as feature request for KDE 4.2 or later, either they are completely ignored, either the only progres is that the developer says it is working for him, even if I can easily reproduce these bugs. I could not find the feature "folder view widget used as desktop", which is really needed in my opinion, so it seems indeed that this is only a KDE 4.2 feature, as was suggested in an earlier comment on this blog. Together with all other bugs/feature requests for Plasma I reported, I am still convinced that Plasma is not mature enough today to be used in a production environment by non-geeks.

Vincent Danen: Influential metal of the 80’s

Sat, 06/21/2008 - 15:42

As I was poking around the Amazon website to find the name of a certain Venom album I had owned when I was younger, I cam across an amusing forum thread entitled What is the best band of the 80’s, in the metal forum. Presumably they would be discussing metal here and by that nature, presumably they’re not really looking for “chart” bands because metal wasn’t as “mainstream” as it is today (of course, today’s definition of metal and all of the available sub-genres make most of today’s metal crap).

It was quite amusing to read some of the posts.. people thinking Aerosmith, Bon Jovi, and Def Leppard were mentioned. Folks… that isn’t really metal. That’s hard rock. The so-called hair metal or “glam metal” of the 80’s wasn’t real metal. That was all hard rock. Just the fact that those bands got air time in the 80’s is proof enough they weren’t real metal. The thread is a bit old so I didn’t bother posting to it, but it made me think… so here I am listening to some old Venom and I have to say that the best bands (and by best I mean innovative, stuck to their principles and didn’t sell out (at least not in the 80’s), as well as those that turned around and defined the genre or influenced a lot of later bands) are probably Venom, Slayer, Metallica, and Iron Maiden.

Sadly, out of those I mentioned, only Maiden got the most “credit”. In the 80’s, Maiden had some really great albums. Albums like Powerslave and Seventh Son of a Seventh Son are remarkable. I’m surprised Venom didn’t get more credit… while I don’t really go for all the pro-Satan lyrics, musically these guys were trend-setters. I get why they didn’t really get “mainstream” even in the metal scene then… the music was quite harsh and raw, and the vocals leave a bit to be desired, but that’s the whole point. That sound defined a genre. Look at bands like Metallica and Slayer who cite Venom as big influences. And Slayer… well… for thrash metal, they were true pioneers. Albums like Reign in Blood and South of Heaven were masterpieces in my opinion (although they were mastered too tame…. to really enjoy those songs, you need to listen to the live Decade of Agression which is probably the best live album ever produced). As for Metallica, despite my less-than-stellar opinion of them now, albums like Master of Puppets and Ride the Lightning were amazing.

Why anyone would put Bon Jovi and metal in the same sentence is beyond me. Other decent bands of that decade were Ozzy, Judas Priest, Sepultura, and Anthrax. Of course, these people prove their cluelessness by including bands like Morbid Angel, Testament and Cannibal Corpse in their list of best 80’s bands. While I don’t dispute the fact that a band making their debute in the late 80’s should count (which Morbid Angel did), Cannibal Corpse didn’t start producing stuff until the 90’s. Ah well… between picking bands from the wrong decade and picking hard rock/glam metal there are quite a few people that probably need their heads examined.

Adam Williamson: Review of Flash in The Register

Fri, 06/20/2008 - 23:13

I was happy to be able to get a review of the new 2008 Spring Flash into The Register, one of the biggest U.K. tech news sites - sometimes writing lots of nitpicking letters to journalists pays off, who knew :). Of course, it was good that their reviewer liked it - that always helps…

Spent the afternoon watching a Canadians game at Nat Bailey. Sitting ten feet behind home plate with a nice cold Granville Island beer and looking out over the outfield wall at Queen Elizabeth park is, in my opinion, reason enough not to want to live anywhere else for a long, long time…

of course, we lost the game, but hey, you can’t have everything!

Vincent Panel: yoho

Fri, 06/20/2008 - 14:50

Firefox 3 est dans Mandriva Linux 2008 Spring depuis la sortie officielle de la version 3 du célèbre navigateur (hier), mais il est un peu caché. La raison est que le paquetage n’a pas encore été suffisamment testé et surtout, il comporte encore quelques limitations par rapport au paquetage de Firefox 2. Ce dernier est d’ailleurs supporté au niveau sécurité par Mandriva et Mozilla, donc pas de panique : basculer vers firefox 3 n’est absolument pas nécessaire pour être prémuni contre les dernières failles (comme le précise Béranger (en anglais)).

Pour revenir aux limitations du paquetage, j’en ai relevé 3 :

  • Le paquetage Firefox 3 pour Mandriva n’est disponible qu’en anglais
  • L’intégration des deux thèmes “la ora” pour Gnome et KDE avec Firefox n’est pas faîte : le thème firefox par défaut sera utilisé
  • Un petit bug dans “la ora” (ou dans Firefox ?) affichera des lignes bleues dans chaque champ texte

Mandriva est assez réticente pour passer à Firefox 3 et ce n’est vraisemblablement pas la priorité pour la sortie de Mandriva Linux 2009.0. Il faut dire aussi que Mozilla ne rend pas la tâche très aisée aux distributions quelles qu’elles soient (je ne m’étendrais pas ici sur le sujet, je ferais peut-être un post là-dessus).

Ce paquetage installera firefox 3 à côté de firefox 2 mais ATTENTION ! Comme le souligne deap dans les commentaires ci-dessous, ne surtout pas utiliser firefox 2, puis firefox 3, puis REVENIR à firefox 2 ! Cela peut avoir des conséquences désastreuses. La raison est que firefox 3 va migrer votre profil firefox 2 pour qu’il soit compatible avec firefox 3, mais il n’est alors plus compatible avec firefox 2… Résultat : vous pouvez avoir des problèmes avec certains sites, même si les bugs ne sont pas réellement apparents du premier coup (par expérience : gmail -> on envoie des mails avec des caractères bizarres et ebay -> les listes déroulantes sont parfois remises à l’option par défaut au moment de cliquer sur “soumettre”).

Comment l’installer ?

Suivez les petites captures d’écran qui suivent :

Lancer d’abord le bien connu Centre de contrôle Mandriva :

Puis, sélectionnez “Configurez les sources…” et cochez la première case à côté de “Main Testing” pour activer la source.

Ensuite, sélectionner dans le menu “Fichier“, l’entrée “Mettre à jour“. Sur l’écran qui apparaît, sélectionner la source “Main Testing” pour télécharger la source pour la première fois.

Une fois la source téléchargée, elle est désormais partie intégrante de votre distribution : il suffit d’utiliser “urpmi” ou le gestionnaire de paquetages “drakrpm” (qu’on trouve aussi dans le centre de contrôle) puis de rechercher “firefox” : vous verrez “firefox” en version “3” s’afficher dans les résultats de recherche. Cocher ensuite la case juste à côté pour l’installer (vous aurez alors un message d’avertissement sur les dépendances qui seront automatiquement installées), ce qui vous permet aussi de voir que l’ensemble occupera 28MB sur votre disque :

Enfin, cliquer sur la case “Appliquer“. Le téléchargement et l’installation se feront aussitôt.

Voilà, Firefox 3 est installé ! Vous trouverez l’entrée de menu dans le sous-menu “Internet” (qui détonnera un peu du reste puisqu’elle sera en anglais…)

Bon surf !

Austin Acton: Oh, poor Angus. Good luck with that.

Wed, 06/18/2008 - 19:38

MY NAME IS ANGUS CLYBURN,,, FORMERLY OF KLCVI ..i believe it was 1986 i graduated.............

I LIVE IN OTTAWA NOW ... capital of canada

MY TEL # IS 613-680-3912

MY EMAIL AS YOU SEE IS [email protected]

I NEED MY TRANSCRIPT SENT TO ME AND TO OCAS.... THAT IS THE PLACE WHERE YOU APPLY TO REGISTER FOR ATTENDING A COLLEGE IN ONTARIO AS YOU KNOW..

SEEING SINCE 1986 ....IS IT ON THE WEB???. IS THERE A ELECTRONIC COPY OF MY TRANSCRIPT??

PLEASE CALL ME 613-680-3912 ASAP AND WE CAN TALK AND YOU CAN VERIFY MY ID ALSO.

MY MAJOR STUDIES WERE SHOPS AND IN GRADES 11 & 12 IT WAS MACHINE SHOP TECH SPECIAL
THANK-YOU

Vincent Danen: Duty Calls

Wed, 06/18/2008 - 14:20

Now that people have let me know where that OpenSSL comic came from, I’ve been looking at xkcd.com more this morning and found one that is utterly priceless and totally reminds me of me. If you have time to kill, I suggest checking the site out but in the meantime, here’s a good one for all us geeks out there: