Sunday 21 December 2008

Roll your own Vinux!


This is a very rough guide as to how I created the very first version of Vinux from a default install of Ubuntu 8.10 (Intrepid Ibex).

1. Change the desktop theme, background, font size and style etc., to fit your needs or preferences and add, remove or rearrange any desktop icons or panel applets as required.

2. Install the 3D Settings Manager by typing 'sudo apt-get install compizconfig-settings-manager' into a terminal, enable Compiz by typing 'compiz --replace' , modify the Compiz settings, create appropriate key-bindings and then disable Compiz by typing 'metacity --replace' .

3. Start Assistive Technologies and then set appropriate speech and magnification settings in the Orca Preferences window.

4. Create an .orbitrc file for the root account by typing 'sudo su - root' then the following four lines exactly as they are written (without the bullet points) into a terminal one at a time:
  • cat> ~/.orbitrc << EOF
  • ORBIIOPIPv4=1
  • ORBIIOPUNIX=0
  • EOF
5. Enable the 'Disable gksu keyboard grab' option in the General page of the Orca Preferences window.

6. Type 'sudo visudo' into a terminal, find the line which reads 'Defaults env_reset' and then add the line 'Defaults env_keep+="GTK_MODULES"' underneath it. Press Ctrl+X to exit, Y to save changes and Enter to finish.

7. Modify the launching of any application on the Administration menu that will not run with Orca by opening the Main Menu entry on the Preferences menu, find the launcher you want to modify, open its Properties, change it to an 'Application in Terminal' and add the word 'sudo' before the default Command.

8. Add 'deb http://www.remastersys.klikit-linux.com/repository remastersys/' to your /etc/apt/sources.list and then install remastersys by typing 'sudo apt-get install remastersys' into a terminal.

9. Remove any applications you do not require by typing 'sudo apt-get remove name-of-application' into a terminal to reduce the size of the iso image.

10. Type 'sudo remastersys backup' into a terminal and after about 20-30 minutes or so your new live CD image called Custom_Live_CD.iso will be waiting for you in the /home/remastersys/remastersys directory.