Small Infos

UDMA Mode was turned off

UDMA mode for my IDE devices wasn't used by default. I made a link from /etc/rc2.d/S98enable-dma to a script containing the following:

#!/bin/bash
/sbin/hdparm -d1 /dev/hda
/sbin/hdparm -d1 /dev/hdb
/sbin/hdparm -d1 /dev/hdc
/sbin/hdparm -d1 /dev/hdd
exit 0

If you don't have four IDE devices delete the apropriate lines. To check the state of your IDE devices use: /sbin/hdparm -d /dev/hdX.

Start X apps from root shell


Normally it is not possible to start a graphical application from a su-ed terminal. In SuSE Linux exists the 'sux' script to handle this. My Debian solution is:

export XAUTHORITY=~/.Xauthority;su -c xterm

I defined an alias in my ~/.bashrc file:

alias sux='export XAUTHORITY=~/.Xauthority;su -c xterm'

Enable Mousewheel in GNU Emacs


Add the following line to ~/.emacs:

(mwheel-install)

Enable Umlauts in Windows Partitions


The lines in my /etc/fstab look like this:

/dev/hda5 /mnt/data vfat rw,auto,user,umask=0,quiet,iocharset=iso8859-15,code=437 0 0

Multiple X Sessions (as seen on XP)

Just add the following lines to /etc/kde3/kdm/Xservers. Then you will have a new menu item in KDE above 'lock screen'.

# Examples for multiple local X displays:
# :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16
# :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8
:0 local@tty1 /etc/X11/X :0 vt7
:1 local reserve /usr/bin/X11/X :1 vt8
:2 local reserve /usr/bin/X11/X :2 vt9
:3 local reserve /usr/bin/X11/X :3 vt10