Tuesday, June 29, 2010

Lucid Ubuntu Minimal Desktop script


#! /bin/bash

sudo apt-get update && sudo apt-get upgrade

#remove uneeded packages

sudo apt-get --purge remove tasksel apparmor rsync command-not-found-data ufw at bind9-host

sudo apt-get install xorg gnome-core gdm gnome-utils gnome-system-tools

sudo apt-get install plymouth-x11 plymouth-theme-ubuntu-logo plymouth-label gnome-themes-selected
sudo apt-get install gnome-themes-ubuntu ubuntu-artwork
sudo apt-get install network-manager-gnome nm-applet startupmanager gksu

#used by nautilus to connect to windows share
sudo apt-get install gvfs-backends

#sudo apt-get install firefox synaptic

#clean-up
sudo apt-get install localepurge
sudo apt-get autoremove && sudo apt-get clean all && sudo apt-get autoclean all

sudo reboot

Thursday, April 29, 2010

Sun Virtualbox 3.1 USB devices grayed-out on Ubuntu Linux Host Solution

I found this solution online if USB device doesn't appear to the guest OS and is unavailable inside the guest OS or USB devices appear but are grayed out.

1. In the host (Lucid 10.04 for example), System - Administration - Users and Groups
2. Click on the unlock or key icon and give your password.
4. Click Manage Groups.
5. In the Groups settings List Box, navigate down to vboxusers
6. With vboxusers highlighted, click properties
7. Click the check box next to your normal user to indicate you want the normal user to be a member of the vboxusers group.
8. Navigate next to lp (printer manager account) in Groups settings List Box.
9. With lp highlighted, click properties
10. Click the check box next to your normal user to indicate you want the normal user to be a member of the lp group.
11. reboot the host.

Thursday, March 18, 2010

Saturday, March 13, 2010

Lemon POS database creation script for ubuntu 9.10


"Lemon is an open source point of sale for linux and other unix systems. It is targeted for the small and medium sized business, and has been conceived for ease of use and customization.
It allows to change the look by editing a CSS file and making personalized images. This, to provide a modern good-looking interface to impact the user and the client that looks at it.
It is considered a general point of sale, not focused to a specific sector. It can be used at a general store, a fast-food restaurant or a book store."


For those looking for the lemon_mysql.sql database creation script of Lemon POS 0.9.1 installed in Ubuntu 9.10 Karmic Koala. Unfortunately none is included in the default installation.

You can download the file here or create a text file named lemon_mysql.sql and cut and paste all the lines below then open a terminal/console and run the next command (inside the folder where you saved the file):
cat lemon_mysql.sql | mysql -u root -p



Of course provide the mysql’s root password when asked.

The script will create an EMPTY database with only one user (admin) with default password (linux). Use squeeze to create more users, to add products and offers, etc..

Hope this helps.