Advertisements

Archive for February 26th, 2010

Fix /etc/rc.d/init.d/functions: line 513: 1345 aborted “$@” FAILED

Edit the file /etc/X11/xorg.conf and remove (or comment out) any references to Keyboard Input.

Create a backup of your xorg.conf file:

cd /etc/X11/
cp xorg.conf backup.xorg.conf

Delete the following lines in xorg.conf:

InputDevice    "Keyboard0" "CoreKeyboard"
Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier     "Keyboard0"
Driver         "keyboard"
Option         "XkbLayout" "us"
Option         "XkbModel" "pc105"
EndSection

Reboot your system:

shutdown -r now

Questions, comments?

Advertisements

,

Leave a comment

No directory /home/user – Logging in with HOME = “/”

This issue is caused by the file system being incorrectly labeled and SELinux subsequently disabling access to the home directory, or displaying this message but still allowing access.

To solve this, you can execute the following command as root to relabel your filesystem :

touch /.autorelabel; reboot

Leave a comment

Bug in Fedora : Cannot change number of workspaces via workspace switcher properties

This occurs when Compiz is enabled — you need to change the number of desktops through the Compiz Config Settings Manager (CCSM)

Bug : https://bugzilla.redhat.com/show_bug.cgi?id=481275

To work around the issue, install ‘ccsm’, then under System->Preferences->Look
& Feel choose “CompizConfig Settings Manager”. In the new window choose
“General Options” and from the tab list choose “Desktop Size” and change the
top slider to how many workspaces you need. This may not change the number of
workspaces immediately – you may need to log out and log in again.

, ,

Leave a comment

Seagate drive clicking noise and what to do about it

Seagate drives seem to have a much-discussed issue with the power management modes in hard drives that causes the heads to park and unpark unnecessarily, which causes an audible clicking and additional wear and tear on the unload ramp. While hard drives are typically rated to 10,000-20,000 load/unload cycles, this power management bug causes the drive to load and unload unnecessarily when the drive is idle, causing the load/unload count to increase rapidly and unnecessarily.

The best way to quiet an affected drive is to change the hard drive’s APM setting.

For linux users, the command hdparm will change the drives APM setting, but must be run at every boot-up.

The command would be sudo hdparm -B 255 /dev/sda (assuming your drive is at /dev/sda)

For windows users, there’s two options. One is a windows port of the linux program hdparm. Use the same syntax as above.

The second, and easier to use option is the program QuietHDD.

, ,

Leave a comment