Thursday, November 17, 2005

speed up metacity

Open up gconf-editor. goto app>metacity>general
set the reduced_resource to true

Note: Not good when playing video. The overlayer will be stale while dragging take place

Wednesday, November 16, 2005

http://www.mjmwired.net/resources/mjm-fedora-fc4.html

Some FC4 config goodies


Disable Unneeded Services/Daemons

15 May 2005

To see what services you have running:

[root@charon ~]# service --status-all | grep running

Also you can use 'chkconfig' (replace 3 with 5 for runlevel 5):

[root@charon ~]# chkconfig --list | grep 3:on

Run 'serviceconf', edit running services for runlevel 5 *AND* 3,
do not touch the others.

Be careful, do not disable things that you're not sure if need or
if you do not understand or know what they are.


Note: The following are either the most popular services or the
services and daemons that were enabled by default on my installation.

apmd
Is used by some laptops. If your computer supports ACPI, then 'apmd'
is probably not needed.
auditd
This saves audit records generated by the kernel. Not sure how this
information is used. For now I have this enabled.
autofs
This mounts removable disks (such as USB harddrives) on demand. I highly
recommend keeping this enabled.
bluetooth, hicd, sdpd

Bluetooth is for portable local wireless devices (NOT wifi,802.11). Some
laptops come with bluetooth support. I have no bluetooth devices.
cron, atd, anacron
These are schedulers, it is recommended you keep at least 1 (cron)
running, especially if you keep your computer running for long periods
of time. If you are running a server look into which schedulers you require.
cpuspeed
Changes your CPU speed to save power. Many laptop CPU's might use this.
(Pentium-M, AMD PowerNow, Transmetta, Intel SpeedStep, Athlon-64?)
cupsd, cups-config-daemon

Used for printing. Allow these only if you have CUPS compatible printer
that works in Fedora.
gpm
This is the console mouse pointer (no graphics).
Leave enabled for runlevel 3, but probably not needed for runlevel 5.
iptables
This is the standard Linux software firewall. Learn to set this up if
you are directly connected to internet. Not needed if you use a hardware
firewall (D-Link, Netgear, Linksys, etc).
isdn
Another form of internet connect service/hardware. I do not use this hardware.
kudzu
This runs the hardware probe, and optionally configures changed hardware.
If you swap hardware or need to detect hardware you can leave this enabled,
however if you do not, you can disable this and run it only when necessary.

lm_sensors
This monitors motherboard sensor values useful for watching realtime values
for PC health, etc. This is also popular with 'GKrellM' users.
More information on lm_sensors homepage.
I personally do not find this valuable or necessary.
mDNSResponder, nifd, autoipd
This is part of zeroconf and is useful for detecting devices
and their names on local network without a DNS server.
Some devices support this feature as well as Apple OS X.
Although this is getting more popular, I do not use this on my network.

mdmonitor
I do not have a Software RAID.
messagebus
This is an IPC (Interprocess Communication) service for Linux.
I highly recommend leaving this enabled.
netfs
This is used for automatic mounting of any shared network file space
such as NFS, Samba, etc on bootup. Useful if you connect to another server
your network. I have this disabled.
nfs,nfslock
I do not use NFS. This the standard network file sharing for Unix/Linux/BSD.

ntpd
Automatically updates system time from the internet.
Mentioned in the installation process.
pcmcia
Removable slot hardware support used primarily on laptops.
rhnsd
Service to inform you of updates from Redhat/Fedora. I only update sparingly
when necessary. I have this disabled.
rpcgssd, rpcidmapd, rpcsvcgssd

Used for NFS v4. If you do not have other Unix/Linux machines this unneeded.
sendmail
Most people do not need a mail transport agent. If you check your mail
on the web (hotmail/yahoo) or you use a mail program (imap/pop) in Thunderbird,
Mozilla, Kmail, Evolution, etc. then you do not need sendmail.
sshd
SSH allows other people to log into your computer from another computer
on your network. This is not needed if you have no other computers or no
need to login from a remote location (work etc.).

DO NOT DISABLE THE FOLLOWING (unless you know what you are doing).

acpid, haldaemon, messagebus, klogd, network, portmap, syslogd, xinetd





Xterm Default Xresources

15 June 2005

Settings, for EVERY user:

EDIT /etc/X11/Xresources
ADD at the END:

xterm*visualBell: true
xterm*background: Black
xterm*foreground: Wheat
xterm_color*background: Black
xterm_color*foreground: Wheat
xterm*scrollBar: true
xterm*ttyModes: erase ^?

(The last line is to fix the backspace key in FC4 for
xterm and vi, vim applications).

To reload Xresources, run:
[mirandam@charon ~]$ xrdb -merge /etc/X11/Xresources




or simply restart the X-server.

Top Home



Monday, November 07, 2005

sudo with no passwd verification

just do visudo and add the following in BOTH user and group
btai ALL=(ALL) NOPASSWD: ALL