Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, May 03, 2010

Fix xsplash not displaying on Ubuntu 10.04

For OpenSource Drivers
sudo su
echo FRAMEBUFFER=y > /etc/initramfs-tools/conf.d/splash
update-initramfs -u
exit

For Proprietary Drivers

Step 1: we must edit the /etc/default/grub file.

Open a terminal and paste this:

$ sudo gedit /etc/default/grub

On line #18, uncomment (uncomment = remove the “#” in front of the line “#GRUB_GFXMODE=640×480” and change the resolution to whatever you want (in my particular case, I changed it to 1680x1050). Here is how it should look:

GRUB_GFXMODE=1680x1050

Step 2: edit the /etc/grub.d/00_header file.

$ sudo gedit /etc/grub.d/00_header

And find the following line: “gfxmode=${GRUB_GFXMODE}” (it’s line 103 on my computer) and under it, paste this:

set gfxpayload=keep

Step 3: update Grub 2:

To update the GRUB, simply run the following command:

$ sudo update-grub

Tuesday, March 02, 2010

Importing keys from a .pfx file

Export the private key
openssl pkcs12 -in filename.pfx -nocerts -nodes -out key.pem

Create a public key from the private key
openssl rsa -in key.pem -out public.key

Export the certificate
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

Monday, November 23, 2009

Downloading Kernel Source

Fedora:
yum install yum-utils rpmdevtools
yumdownloader --source kernel
yum-builddep kernel-.src.rpm
rpm -ivh kernel-##.src.rpm
rpmbuild -bp --target=$(uname -m) /usr/src/redhat/rpmbuild/SPECS/kernel.spec

Ubuntu:
sudo apt-get install linux-source

Monday, November 16, 2009

Fix Missing GPG Key for Ubuntu 9.10

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

Wednesday, March 04, 2009

Useful Commands

lshw - detail list of hardware