Speaking of hdparm, I just recently found out that in Linux, HDs have DMASo, most linux boxes, come with DMA off, and most of our new hard diskare UDMA, so this could make our box run faster. I made an init script (for/etc/init.d) and put it [here].
off by default. By using hdparm you can speed up your HD up to 10 times the
original speed, by issuing the following command each bootup(replace
/dev/hda with your UDMA HD)...
hdparm -c1 -d1 -m16 -k1 /dev/hda
Try it by first issuing:
hdparm -Tt /dev/hda
for a benchmark and then repeat the benchamrk after turning DMA on.
Alon
Could it be the XFS font server?Then he said
I disabled it and added those lines to my XF86Config-4 file:
# FontPath "unix/:7100" <- this one eliminates the use of XFS
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/share/fonts/default/winfonts"
I also added In the section "Module":
Load "freetype"
Load "type1"
Now - I used mkfontdir inside my winfonts (copied from win XP), and then
modified all the ISO8859-7 to ISO8859-8 and ISO8859-9 to ISO10646-1 (I know,
a butt ugly hack, but mkfontdir, nor XFS supports ISO8859-8 or ISO10646-1
very well)
From this hack I've seen that the memory usage went down very much (no more
XFS) and I got lot more fonts.
Hope this helps,
Hetz
So X uses an external program for handeling fonts, while it can handle them it self. Good idea.
Actually - you CAN use hebrew fonts with Anti Alias - and in a very simple
way..
Add this line to the dir lines in /etc/X11/XftConfig:
dir "/usr/share/fonts/default/winfonts"
(thats from my last example)...
But this is not very easy since you need to disable some sizes from anti
aliasing (anything less then 8 point size letter anti aliased is unreadable
even on very high quality EIZO screens)...
Hetz
cd /usr/lib/X11/fontsThe last line, makes makes unicode available. You will not be able to use turkish fonts, but if you want unicode fonts then it is for KDE2 or mozilla, which will handle turkish as unicode if available. If you use trick number 2 (about X memory usage) dont forget to add the dir to the font path.
mkdir TTF
copy /mnt/windows/windows/fonts/*.ttf TTF (or whatever your windows mount shall be)
ttmkfdir > fonts.dir
perl -i -pe 's/iso8859-9/iso10646-1/' fonts.dir
#!/bin/bash --
#
# Switch utf-8 mode
#
#-------------------------------------------------------------------------
case $1 in
on) echo $'\033%G'"UTF-8 on";;
off) echo $'\033%@'"UTF-8 off";;
*) echo "usage: $0 [on|off]";;
esac
| What do you need? |
Where to set up? |
Remarks |
| CDR/W, cd burners |
|
The cdrw should be a scsi device, if it
is The cdrw should be a scsi device, if it is not then install a module
which will emulate it. it. In lilo.conf, add "hdX=ide-scsi". Where
X represent your device |
| Parallel Printers |
|
in /etc/modules.conf add: |
| 3D video cards |
|
3D effects on games Not the display
driver for X but for DRI. OpenGL uses it, in games like Quake III. You need
XFree86 >= 4.1 for this. |
| Shut down you PC |
or if you want:
|
If you select General Setup -> ACPI support
-> ACPI if you select General Setup -> ACPI support -> ACPI
bus manager, do not select "button" as well. If you do, when you press
the power button the machine, it will write to /proc/acpi/event, that the
power button as been pressed, a daemon who should run, will then shut down
the system. Most systems do not have that daemon by default It is important that you compile those It is important that you compile those modules built in, because when the kernel is shutting down it unloads all loaded modules, even the ones you need to shut down phisically the PC |
| Frame buffer |
You can select your video card if you want, VESA is safe for all (ATI Rage and ATI Radeon did not work for me). |
ou can use this kernel for booting into
frame buffer or You can use this kernel for booting into frame buffer
or normal text. To boot into frame buffer, in /etc/lilo put: vga=788.
You dont not have to use it. You can use two entries on lilo.conf: one
for text mode, and one for frame buffer. |
| TV cards |
|
Visit [here] for a ful
explain. |
| PPP dial up |
|
add this lines into /etc/modules.conf |