Ubuntu - 4 GB Ram on 32 bit machine

Linux, Ubuntu

I have a 32bit machine at work, that has 4 gigs of RAM.  In order to get my kernel to recognize the correct amount of RAM I have _ALWAYS_ customized and recompiled a new kernel, which obviously removed my ability to upgrade to the latest/greatest from the repositories.

Well, those days are over for me!  This week I rebuilt my machine, and opted to use Ubuntu 9.04 Alpha 4 (which by the way is very stable and awesome).  And since I had a fresh system, I wanted to look around and see if there was an easier way to handle my RAM challenge.

Look no further.  Just install the following packages and then reboot, its just that easy.

linux-server

linux-image-server

linux-headers-server

linux-restricted-modules-server (I actually had to do the one for my kernel linux-restricted-modules-2.6.28-7-server)

The result is a nicely set up, compiz enabled, Gnome environment, but with a whopping 4 gb of memory.

sudo apt-get install linux-server linux-image-server linux-headers-server linux-restricted-modules-2.6.28-7-server

#
# Here is the Mem section from running 'top'
#
Mem:   4040568k total,  3833644k used,   206924k free,    87580k buffers



Modfiying Laptop Cooling with i8k (Dell E1505)

Linux, Technology, Ubuntu

Ever since installing Ubuntu 8.10, I have noticed my laptop operating temps are a little hotter than I like.  Not dangerous hot, but definitely in the "uncomfortable to my lap" range.  After a little research I found the package "i8kutils".

Definition: i8kutils: Dell Inspiron and Latitude laptop utilities This is a collection of utilities to control Dell Inspiron and Latitude laptops. It includes programs to turn the fan on and off, to read fan status, CPU temperature, BIOS version and to handle the volume buttons and Fn-keys. The package includes also a small Tk applet, designed to be swallowed in the gnome panel, which monitors the CPU temperature and comtrols automatically the fans accordingly to user defined thresholds. The programs require the kernel module i8k.o which can be compiled from the package sources or found in Linux kernel 2.4.14 and later versions. The kernel module has been tested only on Inspiron 8000 laptops but it should work on any Inspiron and Latitude laptops.  (from About.com)

 

WARNING.  Be careful with your settings, you might break your stuff!

Step 1:  Install i8kutils

sudo apt-get install i8kutils

 

Step 2: Modify /etc/modules 

sudo gedit /etc/modules

Add this i8k force=1 to the end of the file and save it.

 

Step 3:  Create i8kmon file (it will be a new file)

sudo gedit /etc/i8kmon

Here is the config I used for my laptop:

 # Run as daemon, override with --daemon option
set config(daemon)      0

# Automatic fan control, override with --auto option
set config(auto)        1

# Report status on stdout, override with --verbose option
set config(verbose)    1

# Status check timeout (seconds), override with --timeout option
set config(timeout)    1

# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
set config(0)   {{-1 0}  -1  45  -1  55}
set config(1)   {{-1 1}  45  60  55  70}
set config(3)   {{-1 2}  60  128  70  128}

# end of file

 

Once you are ready, you can either restart the system or run the following command:

sudo modprobe i8k force=1

 

 

Optional Step 4:  Install/config gnome-swallow-applet

sudo apt-get install gnome-swallow-applet

Right-click on the toolbar to add the new swallow applet.  Then, in the application to watch enter i8kmon

 

The gnome-swallow-applet along with i8kmon is pretty neat.  It allows you to see the current temp as well as what fan speed is currently running.  But it also allows you to force the speed up or down when you want. 

Results: It wasn't uncommon for my laptop to work in the 120F+ range, now after running acpi -f -t  in terminal, you can see the results.

alynch@badonkadonk:~$ acpi -f -t
     Battery 0: Full, 100%
     Thermal 0: ok, 99.5 degrees F

 

Turn your Ubuntu 8.10 into gOS

Google, Linux, Ubuntu

I have to admit, after seeing Dave opting to install gOS recently I got a little envious.  So, I decided to turn my compiz/emerald Ubuntu 8.10 into a nice little gOS environment.  Turns out it was pretty dang quick and easy.

First step get the GTK theme. 

After installing gOS 3.0 in a VM I realized that it was a spiffed up Gnome.  Good sign!  After a couple searches I came up with this theme on deviant art (gOS-3-0-Theme)  Lucky for me, that theme contained the gOS icons, gtk theme, wallpaper, AND an Emerald theme.  (nice!)

Next, get google-gadgets.

Google-gadgets is similar to the gadgets you see in Vista, but better since there is a .deb for it :).  Go here to grab the latest release, download it, and double-click on it to install the deb.  If you want to have it start on boot, create a startup entry for it in System > Preferences > Sessions > and execute ggl-gtk or ggl-gtk -ns if you don't want the sidebar.

Finally, the menu bar.

The lastest release of gOS uses wbar for some reason, but from browsing the source it looks like the code hasn't been updated since late '07.  So, I chose AWN (avant window navigator) instead.  The fact that you can install AWN by installing it via apt-get install avant-window-navigator helps. :)

 

Ahhh, don't you just love Linux!

 

0

Reencode videos for Blackberry 8100

Linux, Ubuntu

After much searching/trying stuff I have found a way to successfully re-encode videos that can play on my Blackberry Pearl.


mencoder -vf expand=:::::4/3,scale=240:180 "[entervideohere]" -o "[enteroutputhere]" -of avi -ovc lavc -oac mp3lame -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64

Obviously you need to have mencoder installed

I am not completely sure what other dependencies there are, since I tried installing so many different tools....but I THINK you need the following:  lame, ffmpeg .

 

0

Windows and Linux...at the same time!

Linux, Virtualization, Ubuntu

 

Be prepared ... cool geek stuff ahead.

I think I came across this blog entry on digg, but I can't remember for certain. But wherever the original source, it is awesome.

Long story short, you can run a virtual Windows machine (with vmware server) and connect to it via seamless rdp allowing you to interact with your windows applications right on your linux desktop.

Here is a screenshot example. You can see my Gnome panel at the top of the screen, and the Windows taskbar at the bottom.

 

 

While this is cool in a gadgety sort of way, it is also going to be so much nicer for IE browser testing and who knows what else.

Here is a blog post detailing exactly how to get your own symbiosis up and running.

NOTE: in the example below the "\" in his examples were removed for some reason... your launcher should look like this

rdesktop -A -s 'c:\seamlessrdp\seamlessrdpshell.exe c:\windows\explorer.exe' WindowsIpAddressHere -u YOURUSERNAME -p YOURPASSWORD

 

Windows-Linux-Symbiosis-Not-a-Dream-Anymore

+1

PCLinuxOS doesn't dissappoint

Linux

Just a quick shout out to PCLinuxOS from a long time Ubuntu user. Nice work!

I haven't found any reason to declare Ubuntu a clear victor over PCLOS. In fact, I am really enjoying this OS for the time being.

Here is a screenshot of my current config. (click image for fullsize)

tags:
Linux, PCLinuxOS

Search

Fuelly