Install LXDE with prt-get
Most of LXDE ports are available in "lxde" (3rd party) repository, rest of them and their dependencies can be found in core/opt/xorg/contrib collections (no other (than lxde) third party collections required). Here are the steps to install lxde on crux:
step 1: configuring prt-get
- Download lxde.httpup file: http://crux.nu/portdb/?a=getup&q=lxde
- Copy lxde.httpup file to /etc/ports,
- Edit prt-get.conf, and add
where appropriate, also enable "runscripts"(IMPORTANT!)
if you (because of some unknown causes, of which I don't understand) do not want to enable this option you still can enable them by passing
--install-scriptsto prt-get via command line.
NOTE: lxde repository does not need to be listed above core/opt/xorg/contrib, but preferably it should be listed above gnome/kde/xfce/(3rd party repos).
ports -uto update ports tree and fetch lxde ports,
step 2: installing LXDE
From now on you have got three choices:
WARNING: It's not bad idea to install and configure X server before installing lxde, also sound server preferably.
- Install lxde ports that you want by hand ie.
prt-get depinst lxlauncher lxterminal
to see all ports available in lxde collection use:
ports -l | sed -n 's|^lxde/||p'
- Install lxde from one of two metaports:
- lxde (recommended):
prt-get depinst lxde
Installs most of lxde components.
prt-get depinst lxde-lite
Installs "barebone" lxde, the most BASICS components ;].
- lxde (recommended):
NOTICE: For list of components refer to that wiki page: http://crux.nu/Wiki/LXDEPorts
step 3: configuring login managers
Configuring process is similar to other distros, as far LXDE is supposed to be lightweight I advice booting it via slim or startx.
- KDM or GDM: should work out of box
- slim: edit your
~/.xinitrcfile and add
to the bottom ev. edit
/etc/slim.confto your likening. Add slim to SERVICES in rc.conf
- startx: edit
~/.xinitrcfile as shown above, start via command line or inittab or rc.local.
- add here another login managers if you know them
Fix it by yourself and let me know (in that order) (contact at the bottom of that wiki page).
I get footprint mismatch in port xxx
Most likely it will happen some day ;], usually it's nothing terrible, footprint mismatch like:
=======> ERROR: Footprint mismatch found: MISSING -rwxr-xr-x root/root usr/lib/lxpanel/plugins/volumealsa.so NEW -rwxr-xr-x root/root usr/lib/lxpanel/plugins/volume.so =======> ERROR: Building '/usr/ports/lxde/lxpanel/lxpanel#0.3.8.1-1.pkg.tar.gz' failed.
will happen because you don't have alsa installed, which concludes to point that there is many software configurations and it's not always easy to track it. If you think you have found something serious contact me (contact at the bottom of that wiki page).
I can't type anything in lxterminal
That's probably because lxterminal does not know which shell you are using, setup your shell via chsh command ie.
chsh -s /bin/bash user
Just move or create all *.desktop-files files you need to/in ~/.local/share/applications/ - folder. I moved the whole folder /usr/share/applications/ to /usr/share/applications_copy/ and moved only stuff I need from /usr/share/applications_copy/ to ~/.local/share/applications/. If you don't see some icons check if the icon referred in *.desktop-file really exist.
my problem is not listed here
Contact me aka "maintainer of the lxde ports" (contact at the bottom of that wiki page).
In case of any troubles with lxde crux ports, suggestions, advices, constructive criticism, contact me: