Tuesday, December 15, 2009

Roxie is home, not doing so well.

Last night I brought Roxie home from the hospital.  Her blood sugar was lower than when she got there.  The prognosis isn't good and I'm not handling it well at all.  The doctor sent me home with some special food to push every 4 hours with a syringe.  I put her on my couch and started to prepare her food and she went into seizures.  It was very scary.  She barked and made noises I've never heard her make before.  I syringe fed her some pancake syrup and the seizure stopped, but she went limp and looked dead save for her breathing.  It was awful, I cried like a baby.  Joy wanted to take her to the vet and have her put down but I couldn't do it.  I pushed more syrup into here and in 10 minutes she was wide awake and running around like a brand new baby.

Now, I'm feeding her syrup along with her diet every 4 hours to prevent the seizures and it seems to work.  It's not a good long term plan but at least it makes her happier.  I have a sinking feeling in my gut that this won't work long term and I don't know what to do.  I'm kind of in a state of panic myself, I really love my Roxie and I can't face losing her right now.  I only pray that the prednisolone will start to inhibit her insulin production so that she will have a more stable blood sugar and a better life in her remaining days.  I'm so freaking sad about this that mere words can't even begin to describe my feeling of loss.  I love you Roxie...


Sunday, December 13, 2009

Roxie is in the hospital.

Roxie is my number one Ferret.  She's really a HE as I recently found out.  Roxie has been very ill for the past month or so and It's tearing my heart out.  She was diagnosed with insulinoma (cancerous tumor on the pancreas) and a tumor on his adrenal gland. I took Roxie to the best veterinarian around and she removed the tumors from the pancreas, and removed 1 adrenal gland.  Then an implant (capsule with medication) was inserted between his shoulder blades to prevent any future tumors.

Everything was fine for a few days and Roxie seemed to be getting way better, then a couple of days ago she started sleeping all the time and didn't care to get out of her cage for play time anymore.  I sensed her blood sugar was low so I gave her some pancake syrup and after a few minutes he started acting normal.  20 minutes later however, he was weak and sleepy again.  Off to the vet I went.  The vet tested his sugar and reported it was 40.  Even worse than before the surgery. He had to stay and receive an I.V. with glucose and meds to coat his stomach.

The doctor said that he seems to have a stomach ulcer and perhaps he's not eating due to pain.  The lack of food intake could be the cause for the low sugar.  I hope this is the case.  it's also possible that the insulinoma is back but not likely according to the doctor.  I only hope and prey that Roxie is better tomorrow and the doctor tells me exactly how to care for him at home so that another trip to the hospital won't be needed.  Please pray for my Roxie... I love you Roxie...

Sunday, November 1, 2009

Karmic Installed on 4 Machines

Well, I've installed Karmic on four of my machines and it's running well.  I don't like the way the new Grub2 looks by default and I'll be looking into customizing it's appearance.  If anyone has any tips (like how to remove the memtest86+ entries) please let me know.

I also just installed Flock browser 2.5.2 by hand.  I'm hoping the getdeb.net will soon start building packages for Karmic.  This blog post is being composed in Flock on Karmic.

Sunday, October 4, 2009

Karmic Testing

It's been a long time since I posted here.  I'm testing Ubuntu 9.10 and so far I like it.  It's performance isn't that great on my old lappy with an ATI 9600.  Well 2D isn't that great but 3D is.  I'll get back soon with more information when I have time.  So far it looks like it's going to be a great release.

UPDATE:

By following my own guide for Jaunty.  I was able to put back most of the missing video performance.  You will find the instructions here.  I guess Karmic is here to stay.

Wednesday, June 10, 2009

Set up an FTP Server on Ubuntu

Installation

1. sudo apt-get install proftpd gproftpd. This will install all the necessary config files for proftp along with the GUI (gui being gproftpd)

2. Once install check to see if the server is running by using pgrep proftpd. If you do not see a PID than start it by typing /etc/init.d/proftpd start or status to see if again,  the process is running.

Configuring Server

1. Once installed proftp will be under a new category of programs called system tools. Go to system tool -> GA-ADMIN PROFTP

2. There are several tabs that gui provides in editing your FTP settings: they are server, users, transfers, discs, files, secuirty, and configuration

Server- name your server to your liking. Use your private IP address in the address field. Issuing an ifconfig at the cmd line will bring you your private IP.By default the server is set to an idle time of 120 seconds so adjust time if you wish to.

Users- this is where you will create all users that are allowed to your ftp site. You can create user accounts with anonymous access by un-checking the required password box. The users section is where you will designate directories/drives for remote users to access as well.

Transfers- Will show you files that where transfered between remote pc and server

Discs- Displays directories that are available to share along with how much space is currently available in those directories

Files-  shows statistics about what was downloaded by the user

Security- Gives a log file view of who was last logged  on the ftp server.

Configuration- If for whatever reason that your settings that you edited do not adjust you can change them here. Its easier to read by editing it here than terminal its a little cleaner and easier to see where and what you are editing

Home Router settings

Next, we are going to have to open up some ports on your router. Most newer routers they use port forwarding and with the older ones like my d-link router we create a new virtual server.

1. In your web browser go to the you gateway address which would be something like 192.168.0.1 or verify it by using ifconfig

2. The port that you want to open is port 21 or if you feel you will be vulnerable to attacks use 2121 or something along those lines

3. For the IP address of your sever it will be your private IP address

4. Save settings

Connecting to ftp server

1. Using a client such as filezilla which is free of charge or if you are an  intermediate-advance user use the command line. This is how we are going to connect to the ftp server

2. Find out Your public IP address using IPchicken.com. Once there it will display your public IP

3. You will use the public IP address to access you site along with a username, password, and port number. If everything is setup correctly you will be able to upload and download files. If you cannot go back and check that your settings are correct along with you private and public ip addresses



Monday, June 1, 2009

Non-Ubuntu Stuff...

I lost my job a couple of days ago. Being that I was a contracted worker I'm up the creek right now. Today I submitted my applications and resume to 22 different organizations. I have an interview tomorrow so any good luck or prayers you want to send this way would be appreciated. Hopefully my employment gap will be short and my new job better than the last. I'm not in the greatest of spirits right now so I'll close with this entry.

Monday, May 25, 2009

Jaunty - DVD Playback - Video Codecs - Players - Medibuntu Repository

Here is my shotgun approach for adding all codecs and enabling DVD playback with navigation. Please be sure to enable all your repositories before running this command.

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2 totem-xine xine-ui libxine1 libxinerama1 libxine1-all-plugins libxine1 libxine1-ffmpeg libdvdnav4 libdmx1 libdvdread4 gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly vlc smplayer smplayer-themes smplayer-translations && sudo /usr/share/doc/libdvdread4/install-css.sh


Adding the Medibuntu Repository

Below are the instructions to add the Medibuntu repository to your system's list of APT repositories. These are commands that should be run in the Terminal (Applications -> Accessories -> Terminal).

If you are new to Ubuntu, please see https://help.ubuntu.com/community/Repositories/Ubuntu for an overview of repositories.

Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution.

  • Any Ubuntu Release and keyring:

    sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update


  • Ubuntu 9.04 "Jaunty Jackalope":

    sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list


  • Ubuntu 8.10 "Intrepid Ibex":

    sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list


  • Ubuntu 8.04 "Hardy Heron":

    sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list


  • Ubuntu 7.10 "Gutsy Gibbon":

    sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list --output-document=/etc/apt/sources.list.d/medibuntu.list


  • Ubuntu 6.06 "Dapper Drake":

    sudo wget http://www.medibuntu.org/sources.list.d/dapper.list --output-document=/etc/apt/sources.list.d/medibuntu.list



Then, add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update



You may be asked to accept this package even though it cannot be authenticated. This is normal; typing "Yes" means you trust Medibuntu.

Install audio and video codecs in ubuntu

For Ubuntu 9.04 “Jaunty Jackalope”:

Open up a terminal (applications -> accessories -> terminal) and copy/paste this code:

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

For Ubuntu 8.04 “Hardy Heron”:

Open up a terminal (applications -> accessories -> terminal) and copy/paste this code:

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

For Ubuntu 8.10 “Intrepid Ibex”:

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2

(if you use 64bit, replace w32codecs with w64codecs)

————–

Install a different media player (optional)

The default media player (totem) is good, but I like vlc media player better, especially for watching a dvd.

In a terminal type:

sudo apt-get install vlc

If you are looking for a better audio player, I suggest either exaile or bmpx.

You now have 99% of the codecs in the world installed on your system.

Looking for real player? click me.


Wednesday, April 22, 2009

Ubuntu Juanty Jackalope vs. ATI Radeon Mobility 9600

Okay - After lots of begging for help on the Ubuntu Forums, I found a workable configuration for my ATI graphics card in my old eMachines M6809 laptop. With out these settings in my /etc/X11/xorg.conf file it was totally unsatisfactory. Now however, it's near full speed as compared to Hardy and the infamous MS WinXP Pro.  Here are the settings I'm now using.

Section "Device"
Identifier     "Configured Video Device"
Option         "AccelDFS"                               "on"
Option         "AccelMethod"                         "XAA"
Option         "MigrationHeuristic"                "smart" # "greedy" works well also
Option         "EnablePageFlip"                      "on"
Option         "EnableDepthMoves"                "on"
Option         "ColorTiling"                            "on"
Option         "FBTexPercent"                         "0"
Option         "RenderAccel"                          "on"
EndSection

Sunday, April 19, 2009

Timekpr Version 0.3.0 is released!

This program will track and control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can or cannot log in. With this application, administrators can limit account login time duration or account access hours.

DEVELOPMENT:

  • This program is heavily depended on Linux-PAM and its time and access modules.
  • If you would like to contribute to the code, join the timekpr-maintainers team on launchpad.

CURRENT SUPPORTED:
  • Ubuntu   - Jaunty, Intrepid, Hardy
  • Kubuntu - Jaunty, Intrepid, Hardy
  • Xubuntu - Jaunty, Intrepid, Hardy

CHANGE-LOG FOR VERSION 0.3.0:

  • Timekpr-gui gives a warning if no other user than administrator is present (Bugs #345515 and #330261, thanks to BearTM)
  • An administrator will not be able to restrict him self (Bug ##286529)
  • Removed hard reference to /etc/timekpr in timekpr-client.py (Bug #314061), allows for configuration of timekpr dir (no gui for this)
  • Added a man page (Bug #302770)
  • Added i18n support (Bug #302782), this release includes translations for Danish, Finnish, French, German, Hungarian, Norwegian Bokmal and Swedish. Please help to translate timekpr into more languages!
  • Timekpr works with Jaunty (Bug #344538)
  • Fixed packaging error for KDE (Bug #345515)
  • Fixed a bug that could kick any user who was logged in all day, also unrestricted users and administrators

HISTORY & CREDITS:

  • This project was born after Charles Jackson's (crjackson) request for a program that time-limits user accounts:
    Ubuntu Forums. You can also find a progression of the history posted at the
    Bucknasty. blog.
  • This is a complete re-write in python and vast improvement from the original timekpr bash script:
    Waggledance.
  • Even Nedberg initially began to improve the original bash script from Chris Jackson. Savvas Radević packaged it and soon began co-development.
  • Special thanks go to Charles Jackson (crjackson), who has contributed a lot by suggesting, brainstorming useful features, writing the initial blueprint, and
    being the primary tester.
  • We would also like to thank all the people posting to that topic in ubuntu forums for their comments.

Additional Information
Developers Even Nedberg and Savvas Radević (or .nedberg and forger) of the Ubuntu forums have rewritten the package using python as opposed to the bash shell script of it's previous form. timekpr now has a full featured interface with the ability to change and grow as needed.

I have requested an additional feature of a black-out setting that would let you slice a chunk of time right out of the normally allowable login hours. This would be for designated home work time, or other required activities. Please bookmark this page for future updates.
- Charles
INSTRUCTIONS
Download the deb file and double click on it to install. Configure your users, click apply and then quit when done. Just remember to check back here to always get the latest version available.

Intrepid Ibex Users should install by adding Even's PPA repository to there software sources list, and then use your package manager to install. This will always give you the latest version and keep your system updated.

Stable repository:
deb http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu jaunty main

deb-src http://ppa.launchpad.net/timekpr-maintainers/ppa/ubuntu jaunty main

Development repository:
deb http://ppa.launchpad.net/nedberg/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/nedberg/ppa/ubuntu jaunty main


Prior to installation, you must Un-install any previous versions by running the code below in a terminal session.
sudo dpkg --purge timekpr



Saturday, April 4, 2009

Ubuntu 9.04 - Jaunty Jackalope Testing

I've been testing the soon to be released version of Ubuntu 9.04 beta. I am very impressed with it's performance and stability so far. Only time will tell however if it's going to be suitable for my laptop with an Intel GMA X3100.  Intel video adapters have a poor history with Linux and I couldn't run Intrepid due to poor video performance.  Hardy runs fine however. The performance issues stem from the latest/greatest xorg system. The drivers just haven't caught up yet.  So far the beta on LiveCD runs great though, and I have high expectations.

Thursday, March 12, 2009

Sound Solutions for Hardy,Intrepid and Jaunty Jackalope

This is a re-post from Ubuntu-Geek, but it works so great I wanted to put it here for safe keeping.

If you have just upgraded to or installed  Hardy or Intrepid  or Jaunty and you have some sound somewhere, but not everywhere for everything, this is a fast way to get all the missing stuff you need and give you some  tools to figure out what is going on. If you hear the startup sound but nothing else, or if some applications
work and others don’t, this is for you. If you have no sound at all, there is a link at the end of this post for more extensive troubleshooting help but you should try this first anyway as it may solve your problem and will not make matters worse.Make sure that your system is fully updated.

Credit goes to markbuntu forum article

Required Packages

First you need to get some missing packages with Synaptic. These packages were not installed by default but are important for getting your sound working properly:

asoundconf-gtk
This is a little Default sound card application for choosing the default sound card for alsa.

gnome-alsamixer
This is a gui mixer, far easier to use than the command line alsamixer.

alsa-oss
This is the wrapper for oss applications so they will use alsa instead of grabbing the sound card all for themselves.

libasound2
libasound2-plugins
These are the plugins for alsa

padevchooser
This is the Pulse Audio device chooser and will pull in the pavucontrol which is the Pulse Audio Volume Control and papref which is the Pulse Audio Preferences along with the Pulse Audio Volume Meters.

gstreamer0.10-pulseaudio
This is the gstreamer plugin for pulseaudio

ubuntu-restricted-extras
This is the package with all the restricted codecs and java and flashplayer so you can watch youtube and play your mp3s,etc..If you have other applications like mplayer, vlc, amarok, or audacious be sure to get any extra packages available for them also.

Single command to install everything you need
sudo apt-get install asoundconf-gtk alsa-oss libasound2 libasound2-plugins padevchooser gstreamer0.10-pulseaudio ubuntu-restricted-extras

Setting things up

Once you have all these packages installed, close any application that may be trying to use sound and go to System/Preferences/Sound and set all the preferences from automatic to PulseAudio except Default Mixer Tracks which you should set to your sound card. Go to System/Preferences/Default Sound Card and choose pulseaudio.
Next, right click on the little speaker on the top panel, that is the Panel Volume Control. Click Open Volume Control and make sure it is set to the same thing as the Default Mixer Tracks. Click on Preferences and make sure that Master and PCM and whatever else you want to control are selected. Make sure that any boxes labeled SPDIF or IEC958 are not checked. Close the Preferences box. Push up the sliders in the volume control and make sure the little speakers do not have little red mute marks on them. Go to Applications/Sound and Video/GNOME ALSA Mixer and see if there is anything you missed because sometimes, for some cards, not all the
options are in the Panel Volume Control.

Go to Applications/Sound and Video and select Pulse Audio Device Chooser. This will put a little icon on the panel near the Panel Volume Control. Click on the new icon and choose Volume Control. This will open the Pulse Audio Volume Control. Go to Output Devices and see if your sound card is there, it will be listed as ALSA PCM on front:…(ALC8 via DMA or whatever your sound card is. If you have a usb device it will be listed as ALSA PCM on front:…(USB Audio) via DMA or something like that. Make sure the sliders are up and the device is not muted.

If any of the above is giving you problems, try rebooting.

Now, open Rythmbox and play something. If you have nothing handy just play one of the radio stations, you should hear something. In the Pulse Audio Volume Control/Playback you should see something like this
Rythmbox: Playback Stream and some Volume sliders that you can adjust.

More than one Device

If you have more than one device listed in Output Devices, Rythmbox may be playing in the wrong one if you do not hear anything so right click on the stream and choose move stream and move it to another device.

If you have more than one device and you want to use them all, like a usb headset and your speakers, go back to the Pulse Audio Device chooser on the panel and select Configure Local Sound Server/Simultaneous Output and click the box:

“Add virtual output device for simultaneous output on all local sound cards”

Now you can right click on the stream and move it to your new device. You should have sound from all your sound devices now or at least a clue about how it is supposed to work.

Other stuff

Another thing you may need to do, Check in System/Administration/Users and Groups that your users and root are enabled as members of the following groups:

pulse
pulse-access
pulse-rt

This seems to be a particular problem for some people after getting recent updates.

If you still have problems look in to the following references (They are very good)

http://ubuntuforums.org/showthread.php?t=843012

http://ubuntuforums.org/showthread.php?p=5931543

Monday, February 16, 2009

Changing Display Monitors in Hardy

Once in a while someone needs to either replace or reconfigure their display monitor to correct refersh rates and or resolution settings. It's a very simple procedure in Hardy. I haven't tried it in Intrepid or above yet. I'll post back after testing in 8.10. Anyway just paste the code below in a terminal screen. Once the GUI comes up, just click on the monitor icon to the right of the model listed in the drop down box, look through the list and make your pick. The rest is self explanatory.

gksudo displayconfig-gtk


Saturday, February 14, 2009

Open Office 3 on Ubuntu Hardy

Lots of people are wanting to install Open Office 3 on Ubuntu Hardy including some of my family members.  I'll keep this sweet and short and assume that you already know a little bit about Ubuntu.

1) Go to System>Administration>Software Sources

2) Add this to the sources list:
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu hardy main

3) Let the sources list applet reload and update

4) Run the Ubdate Manager from; System>Administration>Update Manager

5) Install the updates

6) Enjoy Open Office 3 on your Hardy installation

Tuesday, February 10, 2009

Reinstall all of your packages after a fresh Re-install of Ubuntu

People sometimes have to do a reinstall of their Ubuntu system for various reasons (been playing/experimenting with configuration/drivers/other packages or just because something is badly broken) but remembering all the extra packages you have installed can be a chore - but here is the simple solution:On your old system (assuming it is still working), start up Synaptic and go:

File-Save Markings and choose a file name along with a location (like a USB drive) that you can use when you have installed your new system)

This file contains a list of all your currently installed packages, and when you have installed and booted up your new system (and configured your repositories to the best for your location ) then start up Synaptic and go:

File-Read Markings and point it at your saved file, and after that has completed then select Apply to kick off the download & installation of all of those packages you had installed previously!

There are also apt-get command line functions that achieve the same outcome, so those who don’t have/use Synaptic can still do this.

You will still have to do any special configuration changes that you had on the old system, but at least all of the packages are now in the new system.

This is also very handy for moving to new hardware/duplicating setups etc.

Be aware that doing this between different Ubuntu versions may cause complications because some packages may not be in a later version or have different names.

Note:- Don’t forget to backup your sources before you reinstall.

sudo cp /etc/apt/sources.list ~/sources.list.backup

Otherwise if you have added any PPAs or other sources, this tip won’t work.

Kudos to dcstar

Thursday, February 5, 2009

Install Vista Fonts on Ubuntu

  1. On Ubuntu run: sudo apt-get install cabextract
  2. Download PowerPoint Viewer 2007.
  3. Extract the .exe: cabextract -F ppviewer.cab PowerPointViewer.exe
  4. Prepare a separate target installation directory: sudo mkdir /usr/share/fonts/vista
  5. Extract the actual fonts: sudo cabextract -F '*.TT?' -d /usr/share/fonts/vista ppviewer.cab
    Tip: You may substitute ~/.fonts instead of /usr/share/fonts for local, single-user installation which does not require root access.
  6. Update the cache: fc-cache -fv

Wednesday, February 4, 2009

Making Linux FEEL faster...

What we want is perceived performance
Take a file manager for example. Let's focus on Konqueror (it's a nice case study, and it's a nice file manager). Suppose I hit the home button on my panel, which shows one of the (usually hidden and prelaunched) Konqueror instances and prompts it to browse my home directory.

If you have lots of RAM, it won't be a problem -- both Konqueror and the contents of your home directory will be in memory, so it'll be blindingly fast. But if you're rather short of memory, it's a different matter -- what happens next determines whether you feel your computer slow or fast.

If Konqueror has been paged out, it will appear to be frozen (or take longer to "start up") for a couple of seconds, until Linux has paged necessary code paths in. If, on the contrary, my home directory has been evicted from the RAM cache, Konqueror will show up instantly and be responsive, while the home directory loads.

I'd much rather wait for the directory display than have to wait for Konq to unfreeze because it was paged out. The difference is that in the first scenario, I can close the window, use the menus, navigate among the window controls, change the URL, abort the operation; in the second case, I'm screwed until Linux decides to fully pagein whatever Konq needs.

What we want is perceived performance, not throughput. It matters to me that I can manipulate my file manager half-a-second after I've hit the home button. It doesn't matter to me that, because of this preference, the home directory actually takes one second longer to finish displaying.

Variations of this pattern can be found everywhere: in file open dialogs, in multimedia applications with collection managers, basically everywhere an operation requires some sort of progress report.


The solution
There are two distinct and complementary measures we'll take to solve this problem. Keep reading to find out about them.

Tuning swappiness to prevent impromptu RAM hijacking
Swappiness is the name Linux kernel developers gave to the preference between paging applications out to disk and (in practice) shrinking caches. If it's close to 0, Linux will prefer to keep applications in RAM and not grow the caches. If it's close to 100, Linux will prefer to swap applications out, and enlarge the caches as much as possible. The default is a healthy 60.

The irony of this preference is that, in fact, paging an unused application out generally produces a net performance increment, since the cache really helps a lot when it's needed -- but this net performance increment translates to a net drop in perceived performance, since you usually don't care whether a file uncompresses a few seconds later, but you do care (a lot) when your applications don't respond instantaneously.

On a desktop computer, you want swappiness to be as close to zero as possible. The reason you want to do this (even though it might hurt actual performance) is because this will immunize your computer to memory shortages caused by temporary big file manipulations (think copying a big video file to another disk). The cache will still be as big as possible, but it won't displace running applications.

With swappiness turned down, the Linux kernel no longer attempts to enlarge the cache by paging applications out. Not unless you're experiencing an extremely high memory shortage.

To make the change:
sudo gedit /etc/sysctl.conf

Paste this to end of the file:
vm.swappiness=10


Filesystem caches are more important than other caches
We've already established that the filesystem cache is important because, without it, file browsing goes extremely slowl. Now lets tell Linux that we want it to prefer inode/dentry cache to other caches.

Back to the terminal we go:
sudo gedit /etc/sysctl.conf

Paste this to the end of the file:
vm.vfs_cache_pressure=50

Values close to 100 provide no gain. Values close to zero can cause huge swap activity during big filesystem scans.

Know this - These tips work well for me, however ymmv and as always - If you don't understand any of what I've said here, just leave your system alone. There is always the possibility that something COULD go wrong (though very unlikely), so play with this at your own risk.

It's a good practice to back up any file you are altering (prior to making that change and saving). If you back up the files mentioned and something goes wrong, it's always very easy to fix.

Good luck - and enjoy the improved speed of your desktop.

Disclaimer: The preceeding information was taken from rudd-o.com. I have posted the edited content here for my own use, and other family members to refer to.

Thursday, January 29, 2009

How to Install Flash on Ubuntu 8.10 64-bit

Close all internet browes and proceed to your menu bar as follows:
Go to Applications --> Accessories --> Terminal

Once the terminal is open, paste in the following code:

sudo apt-get install nspluginwrapper flashplugin-nonfree

Press the enter key --> type your password when prompted --> complete the install

Restart your browser and all should be well.

If you run into any problems Click Here!

Wednesday, January 14, 2009

BleachBit

BleachBit deletes unnecessary files to free valuable disk space, maintain privacy, and remove junk. Rid your system of old clutter including cache, temporary files, cookies, and broken shortcuts. Designed for Linux systems, it wipes clean Bash, Beagle, Epiphany, Firefox, Flash, Java, KDE, OpenOffice.org, Opera, RealPlayer, rpmbuild, VIM, XChat, and more.
Install BleachBit in Ubuntu

Download the .deb package from here or use the following command


Blogged with the Flock Browser

Saturday, January 10, 2009

How to Install Mozilla Prism in Ubuntu

Prism is a simple XULRunner-based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site-Specific Browsers (SSB). An SSB is designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and other accoutrements of a traditional web browser. An SSB also offers tighter integration with the operating system and desktop than a typical web application running through a web browser. Applications running in an SSB are therefore able to benefit from many of the advantages of the desktop and of the web at the same time.

Benefits

Separate process: Web apps can hog memory or processor cycles or even bring down the whole browser in extreme cases. By running each app in its own process, we minimize the impact of any mishaps. We can also benefit from  operating system tools that less us view the memory/CPU consumption of a specific application.

Minimal user interface: A general-purpose browser UI is not necessary or appropriate for most web apps. It is more efficient to provide a UI that is specific to the application. This also cuts down on UI clutter (hence the term distraction-free browser).

Basic desktop integration: Support of desktop features can make using the app more natural and convenient for end users. This includes the ability to create desktop shortcuts, to place the application icon in the tray or dock and to display pop-up notifications.

Customization: Apps can be run using a shared browser runtime and customized using client-side script (similar to Greasemonkey).

Custom stylesheets can be used to tweak the UI.

Available Prism Packages in Ubuntu 8.04

prism-facebook
prism-google-analytics
prism-google-calendar
prism-google-docs
prism-google-groups
prism-google-mail
prism-google-reader
prism-google-talk
prism-twitter

Install Prism packages for google using the following command

sudo aptitude install prism-google-talk prism-google-mail prism-google-docs prism-facebook prism-google-analytics

You can install all the packages mentioned above.This will complete the prism packages installation.

You need to make sure that you have installed flash plugin for firefox otherwise google apps won’t work.

sudo aptitude install flashplugin-nonfree


Thursday, January 1, 2009

Happy New Year!

2008 has come and gone (thank God). There have been many changes for me; Boss and co-workers fired unexpectedly, major updates to Ubuntu, a stable release (non-beta) of timekpr, family deaths, economic problems and now the first black president for the USA.  Phew, what a year it's been. Well I'm ready to get on with things and welcome 2009. I'm really grateful I'm still employed with all the economic downfalls as of late. I'm really looking forward to Ubuntu 9.04 and my tax return. I hope everyone reading this blog has a happy new year full of promise and rewards. Bye for now.

Blogged with the Flock Browser