# <<Include(Lubuntu/Header)>>

Return to [[https://help.ubuntu.com/community/OBI]]
-----
||<tablestyle="float:right; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>||

= Lubuntu 14.04 LTS OEM non-pae, the OBI tarball =

||<#CCFF99> new OEM version '5' ||

== Background information ==

All new LTS releases have some bugs that may or may not be considered
annoying. Lubuntu 14.04 LTS is no exception. We expect that these bugs
will be squashed before the end of life of Lubuntu 13.10 (in July 2014).
Near the end of life, if you make a fresh install or upgrade Lubuntu
from 13.10 to 14.04 LTS, and update & dist-upgrade the system, we expect
that it will run well.

Furthermore the first point release (of iso files) will be released in
August 2014. We expect that '''Lubuntu 14.04.1 LTS''' will contain a well
debugged and polished system, and that it will be further improved
during the lifetime until the LTS end of life in April 2017.

== This tarball ==

'''Lubuntu_14.04oem-npae.tar.xz'''

is uploaded to make it convenient to manage Lubuntu 14.04 LTS now. There is one '''major tweak''' or work-around to start nm-applet, '''which puts a network indicator onto the panel''' (the 'two monitors' symbol when not connected, the 'arrow up arrow down' symbol when connected via Ethernet (wired) and a 'staircase' when connected via wifi). It is done using a terminal window (lxterminal).

The work-around does not work with the guest user but if the main user stays logged in (and connected via wifi), it should work also for the guest user.

There is an alias, 'TT', to make it easy to toggle the touchpad (in portable computers) to avoid unintented input when there is a mouse. Finally there are two aliases, that make it more convenient, 'l', and safer, 'rm', to use the terminal window.
{{{
alias TT='touchpad-toggle'
alias l='ls -l --group-directories-first'
alias rm='rm -i'
}}}

=== Update and dist-upgrade ===

The packages are updated and dist-upgraded to the file date shown at

[[http://phillw.net/isos/one-button-installer/tarballs]]

=== Grub menu visible for easy choice of kernel ===

=== Two kernels ===

The boot option '''forcepae''' was used during the installation and is active, which makes it possible to update and upgrade the non-pae kernel as well as the generic (PAE) kernel.
{{{
linux-3.13.0-non-pae '124'
linux-3.13.0-24-generic
}}}
The non-pae kernel files dated 04-May-2014 21:36 were downloaded from

[[http://phillw.net/isos/non-pae]]
{{{
ls -l
-rw-r--r--    899846 May  4 21:36 linux-firmware-image-3.13.0-non-pae_124_i386.deb
-rw-r--r--   6340890 May  4 21:36 linux-headers-3.13.0-non-pae_124_i386.deb
-rw-r--r--  39868542 May  4 21:36 linux-image-3.13.0-non-pae_124_i386.deb
-rw-r--r--    739474 May  4 21:36 linux-libc-dev_124_i386.deb
}}}
{{{
md5sum linux-*
fc8ed56bec7407d331f4045053a81802  linux-firmware-image-3.13.0-non-pae_124_i386.deb
ffbc1956eae396447e1803f13022c9f8  linux-headers-3.13.0-non-pae_124_i386.deb
b0a72589a6f412226b3ad272e0825750  linux-image-3.13.0-non-pae_124_i386.deb
0ecdfbdd2bb221dbc90cd676a6f7b825  linux-libc-dev_124_i386.deb
}}}

The non-pae kernel works for old processors without PAE capability. The generic kernel works for
processors with PAE capability (even if there is no PAE flag). The generic kernel is better when
there is more than 2 GB RAM; this is the task of PAE (physical address extension).


=== Files in /home/oem ===

{{{
clean-myself.bash
truncate-log
fix4oldIntelGraphics.txt
}}}

=== Tweak for using the new alias 'l' ===

The following code is commented away in '''/etc/skel/.bashrc''' to use alias l from '''/etc/bash.bashrc'''
{{{
#alias l='ls -CF'
}}}

=== Tweak for the network indicator ===

The following code is inserted into '''bashrc-extra.txt'''
{{{
ps -A|grep nm-applet $HOME/.config/lxsession/Lubuntu/autostart > /dev/null 
#ps -A|grep nm-applet > /dev/null 
if [  $? -ne 0 ]
then
 if [ "${USER:0:5}" != "guest" ]
 then
  nm-applet  &
  echo 'nm-applet' >> $HOME/.config/lxsession/Lubuntu/autostart
 fi
fi
ps -A|grep lxterminal $HOME/.config/lxsession/Lubuntu/autostart > /dev/null 
if [  $? -ne 0 ]
then
 if [ "${USER:0:5}" != "guest" ]
 then
  echo 'lxterminal' >> $HOME/.config/lxsession/Lubuntu/autostart
 fi
fi
}}}
before '''alias TT'''

and finally '''bashrc-extra.txt''' is appended to '''/etc/bash.bashrc'''

== Login information for the user OEM ==

user: oem

password: 123456

So when the system is installed, reboot, run as OEM and tweak the system to what you like, or to what your friend or customer wants, and then click on the desktop icon at the top left corner of the screen! At the next [re]boot, the computer will start a wizard to create the final user.

== Login as final user ==

The computer will start a wizard to create the final user. The network indicator will appear after the final user has started a '''terminal window''' from the menu or with the hotkey combination

'''ctrl +alt + t'''

This will be automatic after this first instance.

=== Install a new language ===

The end user is given the opportunity to select language, but it will not be installed properly at
the installation via the OEM dialogue (at least not Swedish, that I tested). But when the user
selects (from the main menu in Lubuntu)

'''Preferences--Language Support'''

and installs the relevant language, it will work after the next reboot.

'''Preferences--Keyboard Input Methods'''

The 14.04 LTS 'Trusty' version needs the keyboard layout to be set separately: select the tab 'Input Method', then 'Select an input method' (and select your language), then click the '+ Add' button

Then you can select keyboard with the applet on the panel, and it will survive at reboot.

== When the bug is fixed ==

When the bug is fixed for the network indicator, the special version of this tarball will be deprecated, so remove the tweak for the network indicator from '''/etc/bash.bashrc''' and '''$HOME/.config/lxsession/Lubuntu/autostart'''.

== Lubuntu_14.04oem-npae5 ==

||<#CCFF99> new OEM version '5' ||

The tarball '''Lubuntu_14.04oem-npae5.tar.xz''' is uploaded to make it convenient to manage Lubuntu 14.04 LTS now. The network indicator bug is fixed.

The same aliases are added

{{{
alias TT='touchpad-toggle'
alias l='ls -l --group-directories-first'
alias rm='rm -i'
}}}

=== Update and dist-upgrade ===

The packages are updated and dist-upgraded to the file date shown at

[[http://phillw.net/isos/one-button-installer/tarballs]]

=== Grub menu visible for easy choice of kernel ===

=== Two kernels ===

The boot option '''forcepae''' was used during the installation and is active, which makes it possible to update and upgrade the non-pae kernel as well as the generic (PAE) kernel.
{{{
linux-3.13.0-non-pae-1
linux-3.13.0-30-generic
}}}
The non-pae kernel files dated June-28-2014 were downloaded from

[[http://phillw.net/isos/non-pae]]
{{{
ls -l
-rw-r--r-- 1    899148 Jun 28 17:39 linux-firmware-image-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
-rw-r--r-- 1   6306246 Jun 28 17:39 linux-headers-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
-rw-r--r-- 1  39929364 Jun 28 17:39 linux-image-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
-rw-r--r-- 1    741022 Jun 28 17:39 linux-libc-dev_3.13.0-non-pae-1_i386.deb
}}}
{{{
md5sum linux-*
2ecbbe4291c32b1426e3af0593e5f4c8  linux-firmware-image-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
50d14b5ad97c29cda277d7dc3a453edc  linux-headers-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
092528c0156cc40b4f376f8eced2a694  linux-image-3.13.0-non-pae_3.13.0-non-pae-1_i386.deb
32f6821279e50ae9df5ecc7bb95b329e  linux-libc-dev_3.13.0-non-pae-1_i386.deb
}}}

-----
Return to [[https://help.ubuntu.com/community/OBI]]