Author Archive

Nvidia is not working

January 5, 2009

yeah … sometimes kmod-nvidia conflicts with other packages

so you can’t install it directly

even when you go to nvidia site and try to install it to your linux, you’ll be disappointed because compiz and other 3d effects won’t work perfectly

so you’ll have to install the “akmod-nvidia” package

first, know what’s your kernel version by typing:

#uname -r

then install nvidia

for redhat based:

#yum install akmod-nvidia-#kernel number

in ubuntu:

apt-get install akmod-nvidia-#kernel number

note that the bold words are comments

you can try using:

yum install akmod-nvidia-$(uname -r)

instead of the two lines above (but i didn’t test this one)

regards …

flash plugin doesn’t support sound

September 7, 2008

Hello guys


you might install the flash plugin to enjoy watching youtube or whatever

but unfortunately, the sound is not working!!


Installing Virtualbox

September 2, 2008


i faced an error while installing Virtualbox on my fedora machine, and i could not create any virtual machines!!

but i found that there were some steps required to complete the installation

so i had to install some packages and do the steps




Permissions and umask

August 30, 2008

you might have found that sometimes you can’t -for example- copy (or write) files into X directory when you’re using your user

but at the same time you can copy files into the same X directory using the “root” user

so how do i get the permission for writing in X using any user … not root only!!


touchpad doesn’t work as a left click

August 25, 2008



first time i installed fedora(9) on my Dell laptop, i found that i couldn’t use the mouse touchpad as a left click

and that didn’t bother me, because it was useful somehow 😀

but when i tried to install ubuntu, i found that the toutchpad click is working very well

that doesn’t mean that the solution is to install ubuntu!!!

you must think and search for your problems’ solutions and never give up till you find them!!


few days later, i found the solution on cat-h4ck3rz forum and i wanted to share it

#vi /etc/X11/xorg.conf

add the following line in the ServerLayout Section

InputDevice "TouchPad" "CorePointer"

then add this new section:

Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"

that’s it!

now restart your X window using (alt+ctrl+backspace)

and you’ll find your touchpad click is working!

good luck 😀

bash features

August 23, 2008

Bash Features

(1) Expansions:-

we may use Expansions like:


and this matches any string, including the NULL string (zero or more character)


this matches any single character (single one character)

[ …. ]

matches any one of the enclosed characters

also this can be used to match any character from a range-of-characters by using a hyphen ()

(2) Auto Complete:-

the auto complete feature is used for completing commands and file names

you can use this feature by simply press “tab” button in your keyboard while writing the command

suppose we want to run “ifconfig” command

just type “ifco” and press “tab” button, you’ll find it’s completed automatically to “ifconfig”

the same thing is with file names

notice if you press “tab” twice, you’ll get a list of all possible commands/files that starts with the letters you wrote

for example: type “ifc” and press “tab” twice, you’ll find “ifcfg” and “ifconfig” commands

the next letter will determine if you want “ifconfig” or “ifcfg” command

(3) History:-

you can get the previous command you wrote again by one of these ways:

a) #history

history command prints the last 1000 command you’ve already typed

b) #!!

this is used for executing the last command again

c) #!r

and this is used for executing the last command that begins with “r” letter again

d) you may also press “ctrl+r”

and there you can type the command you want to search for it in the history (note that it’s a reverse search, so it’ll get the last command you’ve typed that begins with the letters you’re searching for)



used to define variables (example: $x)


known as: Command Substitution

and this is mostly in scripts

you’ll understand more when you type:

#echo the date is $(date)



these are used in arithmetic operations

try to type

#echo $[4+5]


#echo $((4+5))

they’re quite the same!

Keyboard Shortcuts

ctrl+l —-> clear page

ctrl+d —-> log  off

ctrl+s —-> lock account

ctrl+q —-> unlock account

ctrl+u —-> clear line (from end to start)

ctrl+k —-> delete line (from start to end)

ctrl+c —-> Terminate (end process)

ctrl+z —-> Stop (but still not terminated)

ctrl+r —-> reverse search (from bottom to top)