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

Friday, 28 September 2007

USB SD / SDHC card reader not mounting

From http://www.omg.unb.ca/~steveb/linux_tweaking.html

It's an fstab problem:

-You can mount the drive manually as root using the command 'mount /dev/sda1 /mnt/usb_drive' where /mnt/usb_drive has been created before hand.
-That will only allow root write access.

-Adding the line '/dev/sda1 /mnt/usb_drive auto user 0 0' to the fstab file will allow users to mount and umount the drive and have write access.