21Oct
nano /etc/xdg/autostart/APPLICATION-NAME.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=APPLICATION NAME
Exec=COMMAND TO RUN
Terminal=false
Type=Application
StartupNotify=false
Terminal=false
Example…
[mythtv@socrates autostart]$ cat mythfrontend.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=MythTV Frontend
Exec=mythfrontend
Terminal=false
Type=Application
StartupNotify=false
Terminal=false
21Oct
This is good for MythTV boxes… bad for servers…
nano /etc/gdm/custom.conf
[daemon]
TimedLoginEnable=true
TimedLogin=USERNAME
TimedLoginDelay=0
14Oct
nano /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.5
nano /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=name.host.net
FORWARD_IPV4=yes
GATEWAYDEV=
GATEWAY=192.168.1.254
21Sep
Edit Fstab File
nano /etc/fstab
Add line for each Share
//10.10.10.20/Movies /media/Video/Movies cifs username=XXXXX,password=XXXXX 0 0
18Sep
Edit .bash_profile file in your home directory.
nano .bash_profile
Just type the command at the end of the file. I added heyu to mine:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
heyu start
heyu engine
18Sep
Create File:
nano /etc/udev/rules.d/90-local.rules
Add this line:
KERNEL=="ttyS[0-9]*”, NAME=”tts/%n”, SYMLINK+=”%k”, GROUP=”uucp”, MODE=”0666″
Add yourself to the uucp group:
/usr/sbin/usermod -G uucp USERNAME
09Jul
See current mode:
getenforce
Set to permissive:
setenforce 0
07Jul
df -h (translates to “disk free, human readable”)
[root@*** ]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_***-lv_root 36G 19G 16G 55% /
/dev/sda1 194M 14M 171M 8% /boot
tmpfs 246M 568K 245M 1% /dev/shm