jeudi 17 juillet 2008

Documents word sous Linux

Pour convertir un document .doc qui ne s'ouvrait pas avec Ooffice j'ai trouvé une petite appli, antiword qui converti cela très bien vers du txt brute.




NAME
antiword - show the text and images of MS Word documents

SYNOPSIS
antiword [ options ] wordfiles

DESCRIPTION
Antiword is an application that displays the text and the images of Microsoft Word documents.
A wordfile named - stands for a Word document read from the standard input.
Only documents made by MS Word version 2 and version 6 or later are supported.


mercredi 14 mai 2008

Ubuntu 8.04 Hardy Heron

Après avoir fait l'upgrade vers la 8.04, quelques bugs...


  • Le son ne marche plus dans les lecteurs (xine, totem, mplayer, ...), mais marche toujours avec Flash.

    Solution trouvée :
    System > preferences > sound --> tout mettre en Alsa (aucun paramètre "par défaut").
    Puis re-configurer les applis pour leur spécifier d'utiliser ALSA et non "PulseAudio" (qui est maintenant par défaut le système audio sous Ubuntu)


  • alltray Utiliser Alltray avec thunderbird a pour conséquence de mettre un workload de 70% sur le proc (principalement utilisé par Xgl).

    Solution temporaire : ne pas utiliser alltray...


  • Plus d'ouverture directe des liens entre thunderbird et mozilla.

    Solution trouvée : Dans System > Preferences > Prefered Applications mettre (ou remettre) "firefox" comme navigateur par défaut, et "thunderbird" comme client e-mail par défaut.

vendredi 18 avril 2008

Emacs "hook on save"

Pour exécuter automatiquement une commande shell lors d'une sauvegarde dans emacs :





(add-hook 'after-save-hook (lambda () (shell-command "cd /home/web/; make sync -f /home/Makefile")))





    attention :

  • Cela s'exécute à l'emplacement du fichier (d'où le "cd ...")

  • Cela s'applique pour TOUT les buffers ouverts


vendredi 7 mars 2008

Orthographe & cie.

Conjugaisons, sous linux :

samedi 26 janvier 2008

Firebug, tool for web development.

Remplace avantageusement le DOM inspector, puisqu'il est possible de modifier la page directement "on the fly" :-) (HTML, CSS, visualisation des entêtes, etc. )

Firebug

vendredi 25 janvier 2008

Bluetooth sync tool (adressbook + calendar) ?

seems interesting :

http://bluezync.kaarposoft.dk/

needs OpenSync 0.34 ...

Thunderbird Lightning + Google Calendar

Thunderbird (TB) is the popular mail client from Mozilla.

Lightning is the mozilla add-on to integrate a calendar in TB. It also exists as a standalone project named Sundbird.


If you need to store calendars on a central repository (for example to access them from different places), you may already have used Google Calendar.


dimanche 20 janvier 2008

rm or ram (realplayer formats) to audible...


mplayer -playlist playlist.rm -ao pcm -ao pcm:file=tmp.wav -vc dummy -vo null


for example, for Radio-France podcasts, it works very well :


  1. save the given .rm file on your computer

  2. give the file as playlist to mplayer as proposed here

jeudi 13 décembre 2007

Gimp (2.3) : new file from selection

The old behavior (selection -> new file) was not creating a well-sized image anymore.

Here is the new way to do that in Gimp (>= 2.3)


Creating a new image from the content of the clipboard has become more straight-forward in GIMP 2.3, actually. Use "File->Acquire->Paste as New" or "Edit->Paste as->New Image" to get there in one step.


Found here : http://lists.xcf.berkeley.edu/lists/gimp-user/2007-February/009608.html

mercredi 5 décembre 2007

Fonte moche Firefox sous ubuntu gutsy

Quand c'est moche comme ça :



Une seule solution :

sudo apt-get remove msttcorefonts


:-)

Tags : Fonte bizarre, Fonte moche, ms true type, ubuntu gutsy firefox