CRUX
Contents
|
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: crux.nu/portdb/?a=getup&q=lxde
- Copy lxde.httpup file to /etc/ports,
- Edit prt-get.conf, and add
prtdir /usr/ports/lxde
where appropriate, also enable "runscripts"(IMPORTANT!)runscripts yes
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-scripts
to 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). - Run:
ports -u
to 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. - lxde-lite:
prt-get depinst lxde-lite
Installs "barebone" lxde, the most BASICS components ;].
- lxde (recommended):
NOTICE: For list of components refer to that wiki page: 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
~/.xinitrc
file and addexec startlxde
to the bottom ev. edit/etc/slim.conf
to your likening. Add slim to SERVICES in rc.conf - startx: edit
~/.xinitrc
file as shown above, start via command line or inittab or rc.local. - add here another login managers if you know them
Troubleshooting
download link in port xxx is broken
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).
contact maintainer
In case of any troubles with lxde crux ports, suggestions, advices, constructive criticism, contact me:
crux.nu/Wiki/BartlomiejPalmowski
- LXDE
- Linux Distributions