JayM wrote: Wed May 01, 2019 1:44 am
[...]
I'm very interested in running this on my old netbook if either a 32-bit version is in the offing or if there's a script that I can run on the stock 32-bit MX installation that's on it to turn it into this Openbox spin. Thanks.
Hi @JayM, I am using my minimal script to strip down MXLinux and then adding OpenBox.
Here's the stripping commnds:
Code: Select all
#!/bin/bash
sudo apt update
sudo apt-get remove --purge aisleriot asunder chromium-bsu chromium-bsu-data clementine clipit dconf-editor dict fbreader featherpad feh firefox galculator geany geany-common gimp gimp-data gmtp gnome-hearts gnome-mahjongg gnome-ppp gnome-schedule gscan2pdf gsmartcontrol gtkhash gtkhash-common guvcview* hexchat htop lbreakout2 lbreakout2-data libreoffice* lightning luckybackup luckybackup-data mc mc-data nomacs nomacs-l10n onboard onboard-common onboard-data orage pdfshuffler peg-e pppoeconf qpdfview* samba samba-common samba-common-bin samba-libs simple-scan smtube swell-foop thunar-gtkhash thunderbird vlc xfce4-notes xfce4-notes-plugin xfce4-sensors-plugin xfce4-taskmanager xfce4-dict
#
sudo apt autoremove --purge
Here's the rest of what I'm using... notes & all.
Code: Select all
OpenBox dependencies:
build-essential
pkg-config
libpango1.0-dev
libglib2.0-dev
libxml2-dev
libxcursor-dev
libimlib2-dev
libstartup-notification0-dev
xlibs-dev
libxext-dev
x11proto-randr-dev
For Debian menu use:
menu
menu-xdg
Building and installing the program
Once you have the above dependancies installed, you are ready to build Openbox. You can obtain the source code from github.com (or as through tar archives (eg. linux from scratch)):
$ git clone https://github.com/Mikachu/openbox.git
Run bootstrap script to obtain configuration scripts
$ ./bootstrap
Then run:
$ ./configure --prefix=/usr --sysconfdir=/etc
...configure detects the build evironment...
$ make
...openbox builds...
$ sudo make install
...openbox installs...
If you do not want to install to /usr, then you should use ./configure --prefix=<whatever you want> --sysconfdir=/etc --datarootdir=/usr/share. If you don't do this, the Openbox log in options will not be available, because they need to be installed to /usr/share/xsessions.
If the configure command fails and the reason is not obvious, you should look in the generated config.log file to discover the cause of the problem.
For 64-bit distributions
When building Openbox on the 64-bit versions of Debian or Fedora, use:
$ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
$ make
$ sudo make install
I hope this helps you out.