LEFEVRE Damien .net

Thursday 28 September 2006, 15:20

Mounting a NTFS partition on Debian

  • open a root terminal
  • get the device id to mount, mine is hda1
  • edit /etc/fstab
  • add the following line:
/dev/hda1       /mnt/ntfs       ntfs    rw,users,umask=022 0    0

Monday 25 September 2006, 21:47

Pinnacle PCTV + remote control with LIRC

I write here the config cause I'm tired to spend more than 2 hours finding the good configuration on the net.

  • So install a TV player, i'm using TVTIME.
  • now install lirc: apt-get install lirc-x (some other packages are suggested, install them or no...)
  • the fucking and incomplete doc is there: /usr/share/doc/lirc-x/
  • now you need to find the right remote config in /usr/share/doc/lirc-x/remotes and then copy it to /etc/lirc/:
cp /usr/share/doc/lirc-x/remotes/pinnacle_systems/lircd.conf.pctv /etc/lirc/lircd.conf
  • I don't need lircdm.conf
  • edit /etc/lirc/hardware.conf and fill with the following content:
# /etc/lirc/hardware.conf
# Arguments which will be used when launching lircd

#Don't start lircmd even if there seems to be a good config file

#Try to load appropriate kernel modules

# Run "lircd --driver=help" for a list of supported drivers.
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
  • copy .lircrc in /root/ and /home/your_usr_name. This file contains all action attributed to your remote button
  • if you let the config like this you'll have to start lircd and irexec before every use of the remote. It seems that there a better solution. update-rc.d lirc defaults to load the deamon automaticaly at startup. Then go to Desktop>Preferences>Sessions>Startup Program add irexec to thelist of program to be launch at startup

Sunday 24 September 2006, 20:58

WMV sous Debian

Lire une vidéo WMV (Windows Media Audio and Video) sous Debian.
Installer pitfdll, un plugin qui permet d'utiliser des codecs au format natif Windows (.dll).

apt-get install gstreamer0.10-pitfdll

Ensuite, pour Totem, copier les codecs depuis mplayerhq.hu (choisir essential codec package) dans le répertoire ~/.gnome2/totem-addons.

Il s'agit d'une solution non-intrusive - les codecs non-libres sont copiés dans le répertoire de l'utilisateur.