Friday, 21 December 2007

Convert avi to dvd

Go here
http://video.google.com/videoplay?do...83267829297106
download the file and place it in a handy directory.

Change to that directory in konsole, then enter this command
ffmpeg -i HarddriveinAction.avi -target pal-vcd Hard.mpg

Then use k3b to burn it.
file>new video cd project>drag in Hard.mpg. Burn.
This created a vcd playable in my standalone dvd player.

If that worked try this:
ffmpeg -i HarddriveinAction.avi -target pal-dvd Hard2.mpg

To work with this mpeg first create a template as shown here
http://www.linux.com/article.pl?sid=06/04/17/2058219

Replace the vob file line in the sample with this (kate works well for this)

Save this as Hard.xml to the same directory the video files are located.

Now working from that directory run
dvdauthor -o Hard_dvd -x Hard.xml

If all goes well you should be able to use k3b;
file>new video dvd project>drag in the AUDIO_TS and VIDEO_TS folders (directories)from the newly created Hard_dvd directory. Burn.

Monday, 3 December 2007

LIRC on boot for Soundgraph Imon

  1. Download, build, install LIRC (in config select USB->imon->PAD IR)
  2. Install kdelirc through synaptic
  3. On reboot /dev/lirc becomes /dev/lirc0 (?!)
  4. Create 'lircd' (below) in /etc/init.d/ and :>chmod 755 lircd
  5. Run :>update-rc.d lircd defaults

######
# lircd
#! /bin/bash

# Create link to lirc0 as lircd looks for /dev/lirc
ln -s /dev/lirc0 /dev/lirc

# Set all able to read and write
chmod 0777 /dev/lirc0

# Start daemon
/home//lirc-0.8.2/daemons/lircd

######

Saturday, 10 November 2007

Gnome Preferred Applications

GUI to set gnome preferred applications

gnome
-default-applications-properties

Thursday, 8 November 2007

Compiz on start-up to fixing slow GTK menus

To start compiz on KDE start and fix slow GTK menus when there are two screens (with --only-current-screen option)

In ~/.kde/Autostart create compiz.desktop, which contains:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=compiz.desktop
Exec=__GL_YIELD="NOTHING" compiz --replace --only-current-screen --indirect-rendering
StartupNotify=false
Type=Application
X-KDE-Autostart-after=kdesktop

Tuesday, 6 November 2007

USB Permissions for Virtualbox

Edit:
sudo nano /etc/udev/rules.d/40-permissions.rules

Change:
# USB devices
SUBSYSTEM=="usb_device", MODE="664"

To:

SUBSYSTEM=="usb_device", MODE="666"

from http://ubuntuforums.org/archive/index.php/t-393582.html

Nvidia Settings

nvidia-settings to set TV overscan and contrast.

Thursday, 1 November 2007

ipv6

To turn off ipv6

in /etc/modprobe.d/aliases

change:
alias net-pf-10 ipv6

to:
alias net-pf-10 off