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

Tuesday, January 12, 2010

Android SDK on Ubuntu 9.10

To be able to connect to repositories the androidtool.cfg file needs to be created in ~/.android with the following info:
sdkman.force.http=true

Wednesday, January 06, 2010

Install VMWare 6.5.3 on Ubuntu 9.10

Taken from http://linux.aldeby.org/vmware-workstation-6-5-3-on-ubuntu-karmic-9-10.html/comment-page-1

chmod u+x VMware-Workstation-6.5.3-185404.i386.bundle
while true; do sudo killall -9 vmware-modconfig-console; sleep 1; done
in a separate terminal run:

sudo ./VMware-Workstation-6.5.3-185404.i386.bundle --ignore-errors
when the installer has finished, terminate the previous command (while true…) with a CTRL+C or simply close the terminal window.

vmware-modconfig --console --install-all

edit file

/etc/vmware/bootstrap
add at the bottom

VMWARE_USE_SHIPPED_GTK=force

If you cannot use any more modifier keys (CTRL ALT SHIFT INS etc.) first check if you have a residual fix from previous setups which is no more needed now. (If this is the first time you install VMware you can skip this step).

Notice, however, that randomly you could still lose modifier keys, typing in any terminal or ALT+F2 field setxkbmap restores them. Furthermore the xkeymap.nokeycodeMap = true is still needed if you are willing to install VMware Workstation 7 beta.

edit file

$HOME/.vmware/config
ensure the following text is not present or commented out with a #

xkeymap.nokeycodeMap = true
as an alternative temporary fix you can simply type

setxkbmap
in any terminal window. This would resume the modifier keys function.