minimal LXDE desktop on wheezy

Help with issues regarding installation of Debian

minimal LXDE desktop on wheezy

Postby cc » 2012-10-26 22:24

Hi

What is the best way to install possibly minimal LXDE desktop on Wheezy?
Last edited by cc on 2012-10-27 11:01, edited 2 times in total.
Squeeze / Wheezy / Gnome
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Re: minimal LXDE desktop

Postby dasein » 2012-10-26 22:28

The answer you already got at the "other" Debian forum is exactly correct. No need to "shop around" for a different answer.

:roll:
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: minimal LXDE desktop

Postby nadir » 2012-10-26 23:07

You got four answers, and all four answers are crap. I hope it won't hurt to actually answer a question: During installation deselect environment, reboot and "apt-get install lxde". "apt-cache show lxde | grep Dep" will tell you what comes with that, and it sure is tiny.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: minimal LXDE desktop

Postby craigevil » 2012-10-26 23:21

25 packages is reasonably minimal.
Code: Select all
$ apt-get install lxde -s
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  galculator gpicview libfm-data libfm-gtk-bin libfm-gtk1 libfm1 libmenu-cache1 libwnck-common libwnck22 libxres1
  lxappearance lxde-common lxde-core lxde-icon-theme lxinput lxmenu-data lxpanel lxrandr lxsession lxsession-edit
  lxshortcut lxterminal pcmanfm xarchiver
Suggested packages:
  lxlauncher lxtask lha rar
Recommended packages:
  gtk2-engines lxmusic menu-xdg network-manager-gnome lxpolkit gksu xscreensaver openssh-client ssh-client gvfs-backends
  gvfs-fuse arj
The following NEW packages will be installed:
  galculator gpicview libfm-data libfm-gtk-bin libfm-gtk1 libfm1 libmenu-cache1 libwnck-common libwnck22 libxres1
  lxappearance lxde lxde-common lxde-core lxde-icon-theme lxinput lxmenu-data lxpanel lxrandr lxsession lxsession-edit
  lxshortcut lxterminal pcmanfm xarchiver
0 upgraded, 25 newly installed, 0 to remove and 58 not upgraded.


if you want less than that just use openbox with a panel like tint2.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: minimal LXDE desktop

Postby emariz » 2012-10-27 01:26

nadir wrote:During installation deselect environment, reboot and "apt-get install lxde". "apt-cache show lxde | grep Dep" will tell you what comes with that, and it sure is tiny.

Not really. That would only state which packages are declared as dependencies in the dependency chain of LXDE, and not which packages were (would be) actually installed, because the list ignores the dependencies beyond the first level of the dependency chain and does not discriminate between installed and not-installed packages.
An easier approach is to open Aptitude's graphical interface before installing LXDE, take note of the number of installed packages and repeat the process afterwards.


craigevil wrote:25 packages is reasonably minimal.
Code: Select all
0 upgraded, 25 newly installed, 0 to remove and 58 not upgraded.

The number of packages that the package manager needs to install in order to complete the dependency chain of a package varies according to (among other factors) the packages already installed on the system.
Following your example, I could recommend Gnome Panel instead of LXDE, for it works great and is so light that uses zero packages. Look:

Code: Select all
$ aptitude install --simulate gnome-panel

No se instalará, actualizará o eliminará ningún paquete.
0 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B.
emariz
 
Posts: 2916
Joined: 2008-10-17 07:59

Re: minimal LXDE desktop

Postby nadir » 2012-10-27 02:20

Not really. That would only state which packages are declared as dependencies in the dependency chain of LXDE, and not which packages were (would be) actually installed, because the list ignores the dependencies beyond the first level of the dependency chain and does not discriminate between installed and not-installed packages.
An easier approach is to open Aptitude's graphical interface before installing LXDE, take note of the number of installed packages and repeat the process afterwards.

In the case of lxde it doesn't matter. It _is_ small, and one can see it by the output of said command.
Why it would matter which packages are already and are not already installed is beyond me.
If you are keen on the whole dependency list you can use apt-rdepends (oh, ah, uff: libc is in it. Who would have thought so?)

Code: Select all
 The following NEW packages will be installed:
  crda dnsmasq-base galculator gpicview gvfs-fuse iw leafpad libfm-data libfm-gtk-bin libfm-gtk1 libfm1 libjpeg-progs
  liblightdm-gobject-1-0 libmenu-cache1 libnetfilter-conntrack3 libnl-route-3-200 libobrender27 libobt0 libxmmsclient-glib1 lightdm
  lightdm-gtk-greeter lxde lxde-common lxde-core lxde-icon-theme lxinput lxmusic lxpanel lxpolkit lxrandr lxsession lxsession-edit
  lxshortcut lxterminal modemmanager network-manager network-manager-gnome obconf openbox openbox-themes pcmanfm wireless-regdb
  xscreensaver xscreensaver-data
0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.4 MB of archives.
After this operation, 47.8 MB of additional disk space will be used.

I'd say for an environment that _is_ small.
--no-install-recommends:
Code: Select all
The following NEW packages will be installed:
  galculator gpicview leafpad libfm-data libfm-gtk-bin libfm-gtk1 libfm1 libmenu-cache1 libobrender27 libobt0 lxde lxde-common
  lxde-core lxde-icon-theme lxinput lxpanel lxrandr lxsession lxsession-edit lxshortcut lxterminal obconf openbox pcmanfm
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,492 kB of archives.
After this operation, 21.5 MB of additional disk space will be used.


apt-get install gnome
Code: Select all
After this operation, 743 MB of additional disk space will be used.

--no-recommends:
Code: Select all
After this operation, 542 MB of additional disk space will be used.


In theory you might be right. In practice, in this case, it does not matter.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: minimal LXDE desktop

Postby nadir » 2012-10-27 03:27

Doing what i said above (deselect environment and "apt-get install lxde" ) will result in
229 packages being installed
with 261 MB

apt-get install lxde --no-install-recommends willl result in
65 packages being installed
with 76 MB
(one will have to add X)

For xfce the numbers are similar:
196 packages
with 230 MB
and without recommends:
105 packages
with 130 MB.

To make it short: xfce can be installed like said above. Straight away. lxde should be installed with --no-install-recommends and then one can start with what all lxdl'ers love to do, day in and out, : pointless fiddling, if possible with xml files (Nah, it really uses 2MB less RAM than xfce. The fiddling is worth the trouble).
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: minimal LXDE desktop

Postby emariz » 2012-10-27 03:35

nadir wrote:In the case of lxde it doesn't matter. It _is_ small, and one can see it by the output of said command.

There lies the problem. It is not that command what proves your statement, for I just showed you that many other packages not mentioned there would also be installed, and these packages may be more numerous and use more resources than those declared in the dependency chain. If you only want to say that LXDE's resource usage is small, I agree, but not because of that command.
Your following message, on the other hand, was way more conclusive.
emariz
 
Posts: 2916
Joined: 2008-10-17 07:59

Re: minimal LXDE desktop

Postby nadir » 2012-10-27 03:39

emariz wrote:
nadir wrote:In the case of lxde it doesn't matter. It _is_ small, and one can see it by the output of said command.

There lies the problem. It is not that command what proves your statement, for I just showed you that many other packages not mentioned there would also be installed, and these packages may be more numerous and use more resources than those declared in the dependency chain. If you only want to say that LXDE's resource usage is small, I agree, but not because of that command.
Your following message, on the other hand, was way more conclusive.

It hurts, but i guess you are right.
(iow: i was wrong).

Shit knows why lxde installs xmms (and what not). I ain't got interest to investigate that. I like it easy.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: minimal LXDE desktop

Postby adenukolnis » 2012-10-27 04:15

nadir wrote:--no-install-recommends:


definately go with --no-install-recommends
or even
apt-get install lxde-core --no-install-recommends
or even
apt-get install lxsession lxpanel lxappearance --no-install-recommends
along with your favorite window manager, file manager, etc...
adenukolnis
 
Posts: 459
Joined: 2012-02-24 18:36

Re: minimal LXDE desktop

Postby debil » 2012-10-28 11:34

adenukolnis wrote:
nadir wrote:--no-install-recommends:


definately go with --no-install-recommends
or even
apt-get install lxde-core --no-install-recommends
or even
apt-get install lxsession lxpanel lxappearance --no-install-recommends
along with your favorite window manager, file manager, etc...

And to lessen the tautology, put
Code: Select all
APT::Install-Recommends "0";

inside your /etc/apt/apt.conf
Q: Why is the Eunux kernel so bloated?
A: It was made in the image of its founder.
User avatar
debil
 
Posts: 1338
Joined: 2008-05-11 08:55
Location: Mazes of Menace, surrounded by brown puddings

Re: minimal LXDE desktop on wheezy

Postby efflandt » 2012-11-25 06:23

Videos at http://www.element14.com/community/docs ... rasp_group go through a minimal installation to get a feel for lxde in Debian. Although, those videos show it in a virtualbox.

Raspberry Pi is a $35 ARM computer on a small board (now w/512 MB RAM) that runs a slim version of Debian called Raspian (wheezy) w/lxde from SD card.
efflandt
 
Posts: 14
Joined: 2012-11-25 04:15


Return to Installation

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable