LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2014, 08:03 AM   #1
Eireannach
LQ Newbie
 
Registered: May 2014
Location: Ireland
Posts: 29

Rep: Reputation: 5
Debian minimal install LXDE or Openbox


Hi,

I am currently running Debian Wheezy with XFCE installed from a Debian Live ISO

I am thinking of replacing this with a minimal install and adding LXDE or alternatively no DE but using Openbox window manager (as done in Crunchbang). I am trying to get as light as I can but without losing too much functionality . I am going to follow the instructions here //http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/

Does anyone have any advice as to which option might be better ? Pros/ cons etc

Eireannach
 
Old 06-09-2014, 08:08 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
If you want to have that full DE experience, then go for LXDE.

When I want light, I go OpenBox. You don't get all that call DE stuff like a main menu and a task bar, but that's not really a deal breaker for me. The OpenBox menu is a right click on the desktop (sure, if you have windows minimized, that may be a problem but a keybinding could fix that), and as far as switching windows, IMHO Alt=Tab is faster than using a task bar. If you need the notification area and such, you could probably do them as well without a panel as well.
 
Old 06-09-2014, 08:18 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,095
Blog Entries: 21

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
The laptop I did this on still sits on the shelf. Not touched for months. It was done more as a self teaching experiment than as a working install environment.

I still use the M/C shop Computer though. I got rid of lXpanels on it though and went back to straight fluxbox on it with KDE-Lite as a alternative Desktop environment to boot into via Slim Login Manager.

It took me some troubleshooting to get LXDE the way I wanted it. I pretty much took that trail alone without help.

http://forum.lxde.org/viewtopic.php?f=11&t=31202

A AntiX core install is like a Debian net install. In practice and uses Debian repos.
 
Old 06-09-2014, 09:52 AM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
You don't need to start over from scratch. You can simply:

Code:
apt-get install lxde
or:

Code:
apt-get install openbox
Now you can choose LXDE or Openbox from your login screen.
 
Old 06-09-2014, 09:58 AM   #5
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
If you want to go even lighter than LXDE or Openbox, you might consider one of the LinuxBBQ releases. "Cream" was just released, featuring 76 window managers (and it still fits on a CD!).
 
Old 06-09-2014, 09:58 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I personally would just go for Openbox, then pick from LXDE what you might need to get a better experience (themeswitcher, power-manager, ...).
But it depends highly on how you use your system and how you define lightweight. For example, if you use Vim or Gvim asd texteditor you don't have a need for LXDE's text editor, if you use Xterm or Urxvt for terminal emulation you won't need LXDE's LXTerm, ... . Not installing that software will make your system smaller on the disk, but will have no advantage in memory usage, since software that doesn't run doesn't need resources.
 
Old 06-09-2014, 11:47 AM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,120
Blog Entries: 2

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
Originally Posted by Eireannach View Post
Hi,

I am currently running Debian Wheezy with XFCE installed from a Debian Live ISO

I am thinking of replacing this with a minimal install and adding LXDE or alternatively no DE but using Openbox window manager (as done in Crunchbang). I am trying to get as light as I can but without losing too much functionality . I am going to follow the instructions here //http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/

Does anyone have any advice as to which option might be better ? Pros/ cons etc

Eireannach
If you really want a mininal install, use debootstrap with the --variant=minbase option. I was able to get a Debian install with Fluxbox and some other basic tools under 275MiB.
 
Old 06-09-2014, 04:52 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by snowpine View Post
You don't need to start over from scratch. You can simply:

Code:
apt-get install lxde
or:

Code:
apt-get install openbox
Now you can choose LXDE or Openbox from your login screen.
This is not needed. Lxde is based on OpenBox. Install Lxde and you will have the choice of Lxde or OpenBox at login in the sessions list already.

The meta package for OpenBox is pretty plane.

I personally have used the Debian version of Lxde, pretty much as it comes from the Lxde folks. May be better now but I prefer OpenBox with the Tint2 panel.

Tint2 is kind of a pain to set up until you find the tools.

Be sure to install the debian menu package as this will save you from having to edit the OB menu. This is not hard to do but if you have not used OB before it may leave a bad taste.

OB is a vastly under rated and under used system. I prefer Xfce myself but if they get as crazed as, for instance, KDE has always been and Gnome has become, I will have OB on in a hurry.

A good place to see a very nice OTB OpenBox install is to get a CD from Manjaro (Arch based). They configure a very nice OpenBox and you can see the tools they provide for it and Tint2. These are native tools to both of them.

Lxde is a nice attempt to build a DE out of OpenBox. Comes across, to me, as simply a bloated OpenBox.
 
Old 06-09-2014, 05:13 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
OpenBox.
 
Old 06-09-2014, 08:17 PM   #10
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by widget View Post
OB is a vastly under rated and under used system. I prefer Xfce myself but if they get as crazed as, for instance, KDE has always been and Gnome has become, I will have OB on in a hurry.
And nothing stops you from using the two together, for the time being. I used to use OB on top of XFCE at work on a P4, very nice experience.
 
Old 06-09-2014, 09:19 PM   #11
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by widget View Post
Lxde is a nice attempt to build a DE out of OpenBox. Comes across, to me, as simply a bloated OpenBox.
Precisely. LXDE is little more than Openbox with a panel and desktop icons.
 
Old 06-09-2014, 11:16 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Randicus Draco Albus View Post
Precisely. LXDE is little more than Openbox with a panel and desktop icons.
To be fair, LXDE is much more than just a panel and icons:
Code:
Components

    Core desktop components
        PCManFM, a fast and lightweight file manager with features like Drag & Drop support, tabbed browsing (Similar to Firefox), Built-in file searching utility, fast load of large directories, File association support (Default application), Thumbnail for image files, bookmarks support, correct handling of non-UTF-8 encoded filenames and more. It's based on libfm.
        libfm, A glib/gio-based library providing some file management utilities and related-widgets missing in gtk+/glib. This is the core of PCManFM. The library is desktop independent (not LXDE specific) and has clean API. It can be used to develop other applications requiring file management functionality. For example, you can create your own file manager with facilities provided by libfm.
        LXLauncher, an easy-mode application launcher for small screens
        LXPanel, desktop panel. The panel can generate a menu for installed applications automatically from *.desktop files. It can be configured from GUI preference dialog, and there is no need to edit config files. The component provides a "Run" dialog with autocompletion.
        LXSession, a session manager, is used to automatically start a set of applications and set up a working desktop environment. Moreover, the session manager is able to remember the applications in use when a user logs out and to restart them the next time the user logs in.
        LXSession Edit, an edit manager for session management. The window manager in use in LXDE can be changed, the tool offers the ability to turn on disabled applications.
        Openbox, a window manager and obconf
        libmenu-cache a library used to loading freedesktop.org spec complaint desktop menu. It creates some on-disk caches to speed up loading.
        LXMenu Data, a collection of files, intended to adapt LXDE menus to the freedesktop.org menu specification. The data can be used in conjunction with libmenu-cache.

    Accessories
        Leafpad, a text editor
        Xarchiver, archiving
        GPicView, a fast and intuitive image viewer.
        LXTerminal, a terminal emulator
        LXMusic, a minimalist xmms2-based music player
        LXFind, a search program
        Galculator, a lightweight yet powerful calculator

    System Tools
        LXTask, a task manager and system monitor
        LXDM, a lightweight display manager used for logging in

    Configuration Tools
        LXAppearance, a theme switcher. You can change the theme, icons, and fonts used by applications easily.
        LXRandr, a screen manager. Manages screen resolution and external monitors.
        LXShortCut, an easy way to edit application shortcuts
        LXInput, a config tool to configure your keyboard and mouse under LXDE
        LXDE Common, the default settings configuration file for integrating the different components of LXDE. LXDE Common manages the system behavior and functions to integrate icons and artwork.
http://wiki.lxde.org/en/Main_Page

With the switch to LXQt it will become components that are now missing, like lxqt-powermanagement (which by the way works fine without LXQt). LXDE/LXQt is indeed a fully blown DE, not just a WM with panels.

Last edited by TobiSGD; 06-09-2014 at 11:17 PM.
 
Old 06-10-2014, 04:06 AM   #13
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Most of the accessories will be added to a WM by a user. Most people will add things like image viewer, editor and audio player. Who would not install a terminal? Although every OS, no matter how minimal, will include one.

Nothing special in the system tools

"Core components." Again most Openbox users will install a panel and file manager, so nothing special there.

In conclusion; other than a few extra themes provided by LXAppearance, LXDE does not have much more than a stand alone Openbox. All they did was create a new panel and add desktop icons, which anyone can do.
 
Old 06-10-2014, 06:58 AM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
So all the applications written by them are not more than a panel an desktop icons because the user has options to add something else to a WM? In that view DEs simply don't exist, even KDE has nothing that couldn't be done by a third parts app. Sorry, but I don't buy that.
 
Old 06-10-2014, 07:14 AM   #15
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by widget View Post
This is not needed. Lxde is based on OpenBox. Install Lxde and you will have the choice of Lxde or OpenBox at login in the sessions list already.
I gave the OP both commands so they can choose. Apologies for not explicitly mentioning that "LXDE is based on Openbox, so it is redundant to install Openbox if you already have LXDE."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create desktop (or task bar) shortcut to some file on Debian LXDE, OpenBox? vvladimir Linux - Newbie 2 06-08-2014 06:40 AM
Offline LXDE install on minimal debian install sycho123321 Linux - Newbie 2 06-04-2014 05:47 PM
Slackware 14 on VirtualBox, minimal XCFE/LXDE install AdiLQ123 Linux - Newbie 19 06-18-2013 03:35 AM
[SOLVED] Can I tweak LXDE/Openbox to do this? jsteel Linux - General 4 12-16-2010 02:37 AM
KDE/OpenBox/LXDE samac Slackware 4 11-21-2009 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration