Archive for October, 2009

Polices de caractères japonaises/Japanese fonts

Whereas understanding the french language is a problem for most people in the world, english might be ok. Thus, in order to be understood by everyone, I will write titles both in french and in english, and texts in english (though my english level is quite bad).

Installing fonts might be a problem for newbies discovering any distribution of linux, even ubuntu. Here are some tips related to japanese fonts :

  • With Windows, japanese common font is MS明朝. With GNU/Linux, it is IPA明朝. I recommend downloading it from here. It is a set of fonts, you will get : IPA明朝/IPA Mincho, IPA P明朝/IPA P Mincho, IPAゴシック/IPA Gothic (Sans serif), IPA Pゴシック/IPA P Gothic.
  • Several interesting fonts are also available here. Just scroll the bar and you will see all available fonts.
  • You can get also other japanese fonts with synaptic : search with “font” and “japanese” as keywords and you will get a list of available japanese fonts.
  • Finally copy all your fonts in a new folder, called “.fonts”. When copying is finished, put your folder in the /home/Your_Name directory, where “Your_Name” is your user name.
  • This is not exactly the purpose of this post, but for western language like french or english, I recommend using Freeserif. This is the font I used for my graduation thesis. You can get it with synaptic, or in a terminal :

sudo apt-get install ttf-freefont

Advertisement

environnements de bureau, conseils, astuces

Enlightenment DR17 :
intérêt de l’environnement : rapide, idéal pour les netbook.
site officiel : enlightenment
documentation et présentation avec screenshots : doc ubuntu

KDE 4 :
intérêt de l’environnement : complet, excellent, sera sûrement le meilleur avec kde 4.4 (release de kde 4.4 vers janvier~février).
site officiel : kde
présentation : KDE 4.3
documentation :doc ubuntu

Openbox :
intérêt : le meilleur quand on a très peu de mémoire ram (moins de 256~500 mb), et que l’on a par exemple besoin de lire un pdf de 700 pages. Avec Openbox, les ressources de l’ordinateur sont considérablement moins utilisées.
défaut : il faut tout faire par soi-même pour ne pas rester avec un écran noir.
site officiel : Openbox
documentation : doc ubuntu
et un blog sur openbox très utile pour une aide à la configuration.

mon sources.list

Le contenu de mon fichier relatif à “sudo gedit /etc/apt/sources.list” est :

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ – Alpha i386 (20091007)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ karmic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
# deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse

#E17
# deb http://packages.enlightenment.org/ubuntu karmic main extras
# deb http://opengeu.linuxfreedom.com/ubuntu jaunty opengeu main extras
# deb http://europe.repository.elive-systems.com lenny main elive drivers tests efl ports multimedia

deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu karmic main
deb-src http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu karmic main

deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu karmic main

mémo de l'installation et configuration de enlightenment DR17 sur karmic

Installation de enlightenment DR17 :

source (que j’ai modifié un chouia) : une méthode sûre, avec script, testée et retestée

1)
les dépendances nécessaires :
sudo aptitude install automake build-essential cvs doxygen gettext gstreamer0.10-ffmpeg gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-tools libao-dev libasound2-dev libaudiofile-dev libbz2-dev libcurl4-gnutls-dev libdbus-1-dev libexif-dev libfaad-dev libflac-dev libfreetype6-dev libfribidi-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libid3tag0-dev libimlib2-dev libjack0.100.0-dev libjpeg62-dev liblua5.1-0-dev libmad0-dev libmikmod2-dev libmpcdec-dev libmpd-dev libpam0g-dev libpng12-dev libpoppler-dev libpulse-dev librsvg2-dev libsamplerate0-dev libshout3-dev libssl-dev libtiff4-dev libtool libungif4-dev libvlc-dev libwavpack-dev libxine-dev libxkbfile-dev libxp-dev libxslt1-dev libxss-dev libxtst-dev pcmanfm rxvt-unicode subversion tango-icon-theme thunar zlib1g-dev lxappearance

2)
Puis pour préparer la compilation :
echo /usr/local/lib | sudo tee -a /etc/ld.so.conf
sudo ldconfig

3)
récupération des sources :
cd ~
wget http://pagesperso-orange.fr/dazibaldo/Files/standard-krecup.sh
chmod u+x standard-krecup.sh
./standard-krecup.sh

4)
compilation :
cd ~
wget http://pagesperso-orange.fr/dazibaldo/Files/standard-kinstall.sh
chmod +x standard-kinstall.sh
./standard-kinstall.sh
Il vous sera à un moment demandé votre mot-de-passe.

5)
pour pouvoir se connecter à enlightenment à l’écran du login :
sudo ln -sf /usr/local/share/xsessions/enlightenment.desktop /usr/share/xsessions/enlightenment.desktop

Configuration de enlightenment DR17 :

source : http://sda.scwlab.com/
téléchargement de l’iso : http://mirror.yandex.ru/mirrors/sda.scwlab.com/livecd_images/SOAD-LiveCD.i686-3.2.0.iso

pour le fichier de configuration, .e :
cd ~
wget http://rapidshare.com/files/290375968/e.tar.gz.html
tar xzvf e.tar.gz
mv e .e

pour avoir le panel tint :
sudo apt-get install tint2

pour le fichier de configuration de tint :
cd ~
wget http://rapidshare.com/files/290376784/tintrc.html
mkdir .config/tint
mv tintrc .config/tint

résultat en photo :

mémo de la configuration et de l'installation de karmic et kde 4.3

installation de ubuntu karmic :

  • télécharger karmic :

wget http://cdimage.ubuntu.com/daily-live/current/karmic-desktop-i386.iso

  • Mettre karmic sur une clé usb pour démarrer dessus, en téléchargeant une version de unetbootin sur : le site officiel de unetbootin. Pour la version linux :

wget http://unetbootin.sourceforge.net/unetbootin-linux-latest

  • rendre unetbootin exécutable et l’exécuter :

chmod +x unetbootin-linux-372

./unetbootin-linux-372

  • sélectionner ensuite la distribution, la version, l’image, et le média (sdd, sdc, etc), cliquer sur ok, puis redémarrer sur la clé usb quand c’est fini.

installation de kde 4.3 et configuration :

  • installation de l’environnement et du nécessaire pour lire les mp3, pour avoir times new roman, etc :

sudo apt-get install kubuntu-desktop kubuntu-restricted-extras ubuntu-restricted-extras

  • pour l’esthétique :

sudo apt-get install kwin-style-qtcurve kde-style-skulpture kwin-style-aurorae kwin-style-bespin kwin-style-crystal kwin-style-dekorator kwin-style-skulpture kwin4-style-bespin kde-style-qtcurve kde-style-bespin kde-style-polyester kde-style-skulpture kde4-style-bespin kwin-style-skulpture qtcurve gtk2-engines-qtcurve kde-icons-mono kde-icons-oxygen kde-icons-kneu kde-icons-crystal kde-icons-noia kdeartwork-style kdeartwork-theme-icon kdeartwork kdeartwork-theme-window

  • pour franciser :

sudo apt-get install kde-l10n-fr

  • ou japoniser :

sudo apt-get install kde-l10n-ja

sudo apt-get install gimp inkscape

  • pour openoffice :

sudo apt-get install myspell-fr-gut openoffice.org-writer openoffice.org-impress

  • pour avoir la version française d’openoffice :

sudo apt-get install openoffice.org-l10n-fr openoffice.org-help-fr

  • ou japonaise :

sudo apt-get install openoffice.org-l10n-ja openoffice.org-help-ja

  • pour firefox : extensions utiles et thème :

mac osx theme

video download helper pou youtube, dailymotion, etc

google preview, pour avoir une image du site dans la recherche

sudo apt-get install smplayer smplayer-themes elisa elisa-plugins-bad elisa-plugins-good elisa-plugins-ugly

  • au cas où les dvd seraient illisibles :

sudo sh /usr/share/doc/libdvdread4/install-css.sh

  • pour le problème du touchpad, qui clique tout seul lorsque l’on utilise par exemple openoffice, installer gnome-control-center faute de mieux :

sudo apt-get install gnome-control-center

puis pour le lancer, taper dans un terminal :

gnome-control-center

dans la fenêtre nouvellement ouverte, sélectionner l’icône de la souris, activer la case correspondante dans l’onglet touchpad pour désactiver le clique au-dessus.

  • pour régler le problème des thèmes root :

sudo ln -sf ~/.fonts /root/.fonts

sudo ln -sf ~/.themes /root/.themes

sudo ln -sf ~/.icons /root/.icons

Si gnome n’est pas l’environnement utilisé, lancer ensuite en root une application permettant de modifier les thèmes, par exemple :

gksu gnome-appearance-properties

ou

sudo apt-get install lxappearance

gksu lxappearance

  • Pour le dock, voir fancytask, stasks, daisy :

fancytask

stasks

daisy

Dans le cas où ces dock ne seraient pas satisfaisants, installer cairo-dock :

sudo apt-get install cairo-dock cairo-dock-plug-ins cairo-dock-plug-ins-integration cairo-dock-data

  • pour ne plus avoir le problème (si on peut appeler ça un problème…) de “routine check of drives” au démarrage :

sudo tune2fs -i 360d -c 500 /dev/sda1

%d bloggers like this: