kernel panic - not syncing
Submitted by ggarron on Wed, 11/19/2008 - 02:21.It is true that when you start using Gentoo, you learn a lot about Linux, because it appears some problems that you have to solve, and you need to understand something before you can fix it.
Small tip, how to recreate fluxbox menu
Submitted by ggarron on Tue, 11/18/2008 - 00:30.If you like me use Fluxbox may be aware that when you install a new program it is not automatically added to the menu, yes you can always edit it manually and add the new program to fluxbox menu.
But you can also run:
fluxbox-generate_menu
Then from the old menu choose restart, and voila, you will have almost all your installed applications in the menu.
Gentoo Intel Core 2 Duo CPU E6550 - XFX Pine GeForce 7300 SE - Sound (ICH8 Family)
Submitted by ggarron on Mon, 11/17/2008 - 03:12.Well, finally I have all my hardware working with Gentoo, I have an Intel Core 2 Duo, with GeForce 7300 from Nvidia and an Intel ICH8 audio card, which is integrated in my mother board.
You may see the output of the hwinfo command in my PC here
And the output of lspci below
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
How to kill user's processes and logout the user
Submitted by ggarron on Sat, 11/15/2008 - 14:58.The other day a friend of mine was asking me how to stop all users' processes and then logout him.
Well maybe the first thing you need is to send a message to the user, so he can actually save his work.
to do that you may use the command wall to let your users know you are about to log them out.
Now at the given time end all of your users' applications, using pkill
sudo pkill -u username
How to broadcast a message to all users - using wall -
Submitted by ggarron on Sat, 11/15/2008 - 14:01.Sometimes as the administrator of a Linux Operating System Server, y may need to send a message to all users in a multi-user system.
There are some different ways to do this, but we will now see just one of them.
We will use wall
As the main input of wall is a file, we will first create our message file.
Let's say you want to tell users that in two more ours the main SQL database is going to be unavailable because of maintenance.
So type:
Gentoo + X + Nvidia + Fluxbox
Submitted by ggarron on Sat, 11/01/2008 - 18:08.There is plenty of information about Gentoo (Thanks God!), I am going to write here a very little how-to install Gentoo, then X, the Nvidia drivers, and Fluxbox, I will not go into details about Gentoo installation as there is enough in the official page.
Once you have your Gentoo Linux running, you can go to install nvidia-drivers, but first lets install sudo -Optional- (I like that sice I have used Ubuntu)
emerge sudo
Gentoo gtk circular dependecies
Submitted by ggarron on Fri, 10/31/2008 - 03:05.I am starting with Gentoo again, this time installing using the alternative method more specific the Knoppix method, but I did from my running Debian Lenny using the chroot method, well I now have my operating system working, but when I tried to install Gnome
emerge gnome
Convert Youtube videos to Cell phone format
Submitted by ggarron on Thu, 10/16/2008 - 20:53.If you want to play a youtube video on your cellular you may need to convert it to the format you cell phone can actually play, I have tested this process with a Sony Ericsson K550i and it worked great, I suppose it should work on almost all modern cellphones.
Blog action day 2008: Linux and Poverty
Submitted by ggarron on Wed, 10/15/2008 - 15:08.Today is Blog Action Day, and at Go2Linux we are supporting it by spreading the word, I think that Linux is a good way to fight against poverty, think about all the money that goes to software companies.
Lots of people in poor countries can not afford to pay for Microsoft of Mac software, but Linux is free, and work almost the same (do not want to start a debate about which is better), the most of time it is suitable for everybody's needs.
Talk to your kids about Linux before somebody else does
Submitted by ggarron on Sun, 10/12/2008 - 12:50.Force your users to change their passwords frequently
Submitted by ggarron on Sat, 10/04/2008 - 14:18.The users of a Linux Operating system computer, should always take care about security and if you are the admin of a Linux box with lots of users, you are responsible for the security of it, and maybe you should "force" the other users to change their passwords from time to time, to make this use the command chage
Editing "bluring" your images with GIMP to create bokeh effect
Submitted by ggarron on Sat, 10/04/2008 - 13:56.If you like the bokeh effect in some pictures you can create it with GIMP, it may not be the same as created at the time of taking the picture (With lenses).
Check out this bokeh pictures
Well now lets see how to create kind of bokeh effect using GIMP
This is the original image:
Alias - create alias for your commands
Submitted by ggarron on Sat, 09/20/2008 - 15:38.Alias is a command that lets you create command aliases, it is very useful when you usually use commands with options.
As an example in my case I use a lot these commands
du -h
and
df -h
In both cases the "-h" option makes the output be in Kbytes or Mbytes instead of bytes, so it is more human redeable.
To create aliases for this commands just need to enter.
alias du='du -h'
and
alias df='df -h'
Running a program in the background
Submitted by ggarron on Sat, 09/20/2008 - 15:09.If you need to start a program from the command line, and want to recover the command prompt, just add the & symbol to the command.
Example.
firefox
This command will start firefox, but the command prompt will not be available for you to continue working.
firefox &
With this other you will get the prompt back to you, and you can continue using the console for other tasks, It also returns you a number that number is the PID of the application just started.
Making grub menu to wait for you -change timeout-
Submitted by ggarron on Sat, 09/20/2008 - 14:34.On my PC I have installed, Mandriva, Ubuntu, Gentoo, Sabayon and Debian (my main Linux operating system), but when I turn it on, usually I did not get the grub menu, and I am forwarded directly to Debian, sometimes I have to restart the system to start another Linux flavor.
So, the solution was to put the timeout of grub menu to 15 seconds, so I have enough time to react even when I am not paying attention to the PC startup.
The timeout parameter is stored in the file
/boot/grub/menu.lst
So, to change it edit that file with your favorite text editor. (mine is vim)
whowatch - Monitor who is doing what on your system
Submitted by ggarron on Fri, 09/12/2008 - 21:17.whowatch is a console application that lets you monitor what different users are doing on the Linux operating system in a given moment, it works in real time.
First install it
sudo aptitude install whowatch
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed
Submitted by ggarron on Tue, 09/09/2008 - 21:36.I run a
sudo aptitude full-upgrade
On my Debian Lenny, but once all the packages were downloaded and started to be installed, suddenly the process stopped, then when I run
sudo aptitude reinstall
VMware Server 1.05 fails to start with version 2:1.1.4-2 of libx11-6
Submitted by ggarron on Sun, 08/31/2008 - 14:34.Some days ago I have updated my Lenny and VMware stop working, this time it was not a problem of a new kernel usually solved reconfiguring vmware, this time the problem was the new version of libx11-6 does not work with vmware, so the solution is to downgrade it to the Etch version.
First create a file called
/etc/apt/preferences
put this content inside:
Package: libx11-6 Pin: release a=stable Pin-Priority: 1001 Package: * Pin: release a=testing Pin-Priority: 500
Then modify your /etc/apt/sources.list
at - command to schedule actions
Submitted by ggarron on Wed, 08/06/2008 - 20:35.One of the most uses I give to this command is to turn the PC off after some time, sure there are other ways.
I like the way you may execute batch jobs at a given time, all you need is:
1. Write your shell script
Which actually is a list of commands in a text file
2. Execute the at command
at now + 5 minutes < $HOME/listofcommands.txt
You can use times like "now", "noon", "midnight", or a date in the format of DD.MM.YY
check man at in order to have more details
Nice IBM adverticing about Linux
Submitted by ggarron on Wed, 07/16/2008 - 13:28.Hi,
I have found this video on Youtube, take a look at it.




