64-BIT LXDE Xubuntu 12.04

LXDE Guide
Beginner's Guide
Arachnophilia HTML
Araneae HTML Editor
Debian Remastersys
FastStone Image Editor
MyStuff Menu
Openbox Menu
Openbox Themes
Poor Mans Radio Player
PhotoFiltre Editor
Tint2 Panel
Wbar Dock
ApplicationXubuntuLXDE Xubuntu
audio controlpavucontrol*pavucontrol*
audio-videoparole gmusicbrowsevlc
calculatorxcalc* gcalctoolxcalc*
display managerlightdm*lightdm*
file browserthunar*pcmanfm thunar*
graphicsgimpphotofiltre faststone
image viewerristrettogthumb
menu editoralacartelxmed
monitor controlxfce4-displayarandr lxrandr
officeabiword* gnumeric*abiword* gnumeric*
power managerxfce4-power-manager*xfce4-power-manager*
search toolcatfish*catfish*
session managerxfce4-sessionlxsession
system monitorxfce4-taskmanager*xfce4-taskmanager*
text editorleafpad*leafpad*
web browserfirefox*firefox*
window managerxfwm4openbox

There are at least 3 advantages for using LXDE on Xubuntu rather than just installing Lubuntu, namely,

[1] Download the latest copy of 64-bit, xfce Xubuntu 12.04 from Ubuntu. Install it. The table on the left shows the main applications that you have installed with this system. I chose to keep the ones with an astrick (*), because they are already installed and are as good or better than their lxde counterparts. I removed:

akonadi-backend-mysql akonadi-server alacarte file-roller gcalctool gigolo gimp gmusicbrowser gnome-search-tool kdepim-runtime openjdk6 parole pidgin pidgin-data pidgin-microblog ristretto thunderbird thunderbird-l10n-en-us xfce4-panel xfce4-session xfce4-settings xfce4-utils xfce4-volumed xfdesktop4 xfdesktop4-data xfwm4 yelp yelp-xsl and all the libakonadi-... .

[2] Reload Synaptic and install:

lxde-core lxappearance lxappearance-obconf lxrandr lxsession-edit arandr gstreamer0.10-gnomevfs.

This installs the basic lxde desktop since lxde-core consists of pcmanfm, lxpanel, lxsession, openbox and xscreensaver. In addition, I install the following applications:

fortune-min fortune-mod gdebi gthumb librecode0 lxmed oracle-java skype startupmanager vlc and libdvdcss (libdvdcss.deb).

See [5]-[7] for a guide to install oracle-java and lxmed. To get fortunes into the terminal interface, edit /etc/bash.bashrc to add the word fortune on a new line just before the final fi. The table on the right shows the new LXDE-XFCE Xubuntu system, with an asterix (*) indicating a carry-over from the base xfce system.

[3] Reboot and choose LXDE as default desktop. Launch pcmanfm (Accessories/File browser) to see if the system has an icon theme. If not, then either install lxde-icon-theme, or open Preferences/Customize Look and Feel/Icon Theme and choose one of the installed ones.

[4] Open the terminal and update (in the following order):

   sudo apt-get update
   sudo apt-get dist-upgrade.

[5] To have a good Java, go to the Oracle Website, and download jdk-7u4-linux-x64.tar.gz, or whatever is the latest 64-bit java tarball for Linux. Put it in your Downloads Directory, if it isn't already there, and open it using the terminal:

    tar -xvf ~/Downloads/jdk-7u4-linux-x64.tar.gz.

This should put in your home directory a folder, named something like jdk1.7.0_03. Now enter into the terminal:

   sudo apt-get install build-essential
   sudo mkdir -p /usr/lib/jvm/jdk1.7.0
   sudo mv jdk1.7.0_03/* /usr/lib/jvm/jdk1.7.0/ .

This command is just moving the downloaded java files to the newly created directory. Now do each of these commands in turn:

    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
   sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1
    sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1 .

Next, creat a Mozilla plugin in your home directory:

   mkdir ~/.mozilla/plugins/ .

Finally, create a symbolic link to your Mozilla plugins folder:

   ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/ .

You can now use Synaptic and remove openjdk-6-jre and the other icedtea and OpenJDK installations. Finally, to make sure that OpenJDK remnants are not going to confuse your computer, configure your javas to make theOracle-Java components the default:

   sudo update-alternatives --config javac,
   sudo update-alternatives --config java,
   sudo update-alternatives --config javaws.

[6] To have a good menu editor, go to sourceforge and download lxmed-20110717.tar.gz. Right click on the tarball, and extract it to the Desktop. This should put a folder labeled lxmed in the Desktop directory. Install lxmed:

    cd Desktop/lxmed
    sudo apt-get install build-essential
    sudo mkdir -v /opt/lxmed
    sudo cp -v content/lxmed /usr/bin
    sudo chmod -v +x /usr/bin/lxmed
    sudo cp -v content/LXMenuEditor.jar /opt/lxmed
    sudo cp -v content/uninstall.sh /opt/lxmed
    sudo chmod -v +x /opt/lxmed/uninstall.sh
    sudo cp -v content/lxmed.png /opt/lxmed
    sudo cp -v content/lxmed.desktop /usr/share/applications

A GUI menu editor should now be present: Preferences/Main Menu Editor. Lxmed is a java program and requires a good Java software like Oracle Java (see [6]) be installed to run successfully.

[7] The Oracle Java installed in [6] may not be on the Main Menu. It is a good idea to have a Java launcher there. Therefore, use lxmed (Main Menu Editor) to put Java on the menu. Use as exec, but first confirm that this is the correct path to javaws in your computer, the following:


[8] To install the latest Wine application, go to Debian1, download and install the amd64 .deb package of ia32-libs. Go to Debian2, download and install the amd64 .deb package of ia32-libs-gtk. Go to Debian3 and download all the amd64 packages (last time that I did it there were 16 packages). Put all the packages downloaded here into a directory named wine in your home directory. To install these packages and a windows font package, enter in terminal the following:

   sudo dpkg -i wine/*
   sudo apt-get install -f
   sudo apt-get install ttf-mscorefonts-installer .

To get Wine Windows Program Loader to show in the Main Menu/System, you may have to edit its .desktop file in /usr/share/applications so that


[9] Use the GUI's in Preferences (Openbox Configuration Manager, Customize Look and Feel, etc) to configure your system. Install your favorite Linux and Wine applications.

[10] Configure the Openbox Application Menu. Copy the text file named menu.xml in /etc/xdg/openbox to your home directory and edit it to include the applications that you want in the desktop openbox menu. Enter applications according to the pattern in the image on the right. Put the icons of .png type associated with your apps into /usr/share/icons. Place a copy of your modified menu.xml in the following 3 openbox directories (replacing any menu.xml already there):

   ~/.config/openbox .

Edit the rc.xml or lxde-rc.xml in the above 3 openbox directories so that the line following <menu>   is    <showIcons>yes</showIcons> . For more information including a template for a complete menu.xml, see Openbox Menu.

While the rc.xml or lxde-rc.xml are open, edit their keybinding parts (see Section 3 of LXDE Guide). Make sure keybindings exist for at least terminal, pcmanfm, main menu, lxpanel and screenshooter. Some day these will come in useful!

[11] Install upgrade-system and bleachbit (as root)to do a general system clean-up.

[12] To make a .iso copy of your LXDE-XFCE system, see section 19 of the LXDE Guide for a guide on using the Ubuntu Remastersys application.