Category General

Encode user and password into base64 using perl

perl -MMIME::Base64 -e 'print encode_base64("user");'

perl -MMIME::Base64 -e 'print encode_base64("password");'

Read More

Root WonderMedia WM8850 Android Tablet And Update Firmware With Uberoid

We don’t usually write articles about rooting or jailbreaking phones and tablets but this particular model was hard to find any information on the system and what firmware it uses.

This method should work on most any tablet , phone or netbook using Wondermedias wm8850 processor. First what we’re going to do is identify the model of your tablet or netbook. To do this download  wonder media analyzer to your phone/tablet/netbook. Before running the analyzer make sure you have a SD card inserted and mounted. When you run the analyzer it will generate a file in the root of your SD card with all of the device configuration. What we are looking for is the model type this should be at the top of the report.

Model
wmt.model.no
PID10_8199

In this case the wm8850 netbook is model pid10_8199 with th...

Read More

Ubuntu – No Sound After Installing XFCE/Xubuntu

Sometimes after installing XFCE/Xubuntu along side Ubuntu LightDM the configuration for your present and active sound devices will get overwritten or removed. The first thing you should do is go to “Application Menu -> Multimedia -> Pulse Volume Control” Click the “Configuration” tab and check what audio devices it is listing. If it doesn’t display any skip to the section titled “Update”.

Check:

Configuration

Configuration

Output Devices

Output Devices

If it shows your sound devices click the “Output Devices” tab and make sure the sound device which should be outputting sound is not muted and that it has “Speakers” or “Headphones” in the “port” dropdown box which ever the case may be. Your sound should be functional now

Update:

If the “Configuration” tab doesn’t show any of your audio devices run the following c...

Read More

Ubuntu – Playonlinux Freezes / Locks Up

When running playonlinux if it suddently freezes or locks up  with the following text you will need to upgrade your installation of playonlinux. There is a bug in older versions due to GTK changes made to the system it freezes

 

[install_plugins] Message: Checking plugin: Capture…
[install_plugins] Message: Checking plugin: ScreeddentnCap…
[install_plugins] Message: Checking plugin: PlayOnLinux Vault…

 

To resolve this issue you will need to update playonlinux. Firstly backup your playonluinux configurations and all of your prefixes. Once you have done this remove the current installation. Go to http://www.playonlinux.com/en/download.html and download the package for your distribution.

Read More

Ubuntu – Disable Boot Up Splash Screen

Splash screens are every were created to basically cover up the boot process. If your like me you prefer to see the initiation  process so you can watch for errors and  . To disable the boot you will need to make the following.changes to /etc/default/grub

Find the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” and change it to GRUB_CMDLINE_LINUX_DEFAULT=”text”
After making the change in GRUB_CMDLINE_LINUX_DEFAULT you will need to rebuild and apply the new changes by running sudo update-grub2.

Now when you boot you will get a grub boot menu   after selecting which installation or mode to use.  Now you should see the verbose boot process rather the splash screen.

Read More

If your like me and are not a fan of the gui login screen that ubuntu uses or you want to reduce resource usage you can do the following to disable the gui login and rather use a console login instead.

echo "manual" | sudo tee -a /etc/init/lightdm.override

You can also do this with GDM

echo  “manual” | sudo tee -a /etc/init/gdm.override

This prevents the desktop manager from loading it’s service, you will now either need to start lightdm manually or have a different window manager installed because with out lightdm being started unity will not work. You can restart lightdm by doing the following

sudo service lightdm start

I personally use XFCE rather than lightdm since it uses less resources, you can edit the ....

Read More

System Load Monitor (Ubuntu 11.xx or highter) Unity

If you are new to Ubuntu or you recently upgraded your installation to 11.xx or higher you will notice that the system monitors you are familiar with are not compatible with new desktop. No worries though, there are a number of monitors available going by the name of “Indicators”, these tools will embed into your unity tool bar much the same way that your previous monitors had.

General System Monitor:

monitor You can install this indicator by using the following commands or by searching for “multiload” from the Ubuntu Software Center

sudo apt-get install indicator-multiload

or from the ppa repository:

sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update
sudo apt-get install indicator-multiload

This indicator is a port of the original System Monitor GNOME Panel a...
Read More

CPU Information / Speed

How do I find out CPU Information such as speed, processor, and cache on Linux operating systems?

You can get information about your CPU by using the following command in a terminal window.

cat /proc/cpuinfo

Sample output:processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 20
model           : 2
model name      : AMD E-300 APU with Radeon(tm) HD Graphics
stepping        : 0
microcode       : 0x500010d
cpu MHz         : 780.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
f...

Read More

Video Game Emulators For Ubuntu

Linux up until the past few years has been left out of the emulators market as far as availability luckily this has change and now there are ports of almost every major system emulator including some emulators that are written strictly for the linux operating system, the following site has a nearly complete list of all emulators that are available through the Ubuntu package manager and what repository they are in, The site is also slowly adding source files that can be compiled on any other linux distribution.

The list: http://retro-gaming-world.com/emulators-for-ubuntu/

Read More

Bash For Loops

ow do I use bash for loop to repeat certain task under Linux / UNIX operating system? How do I set infinite loops using for statement? How do I use three-parameter for loop control expression?

A ‘for loop’ is a bash programming language statement which allows code to be repeatedly executed. A for loop is classified as an iteration statement i.e. it is the repetition of a process within a bash script.

For example, you can run UNIX command or task 5 times or read and process list of files using a for loop. A for loop can be used at a shell prompt or within a shell script itself.

for loop syntax

Numeric ranges for syntax is as follows:

for VARIABLE in 1 2 3 4 5 .. N
do
	command1
	command2
	commandN
done

OR

for VARIABLE in file1 file2 file3
do
	command1 on $VARIABLE
	command2
	command...
Read More