LXDE fast install

Netinstall >

Overview of the install

updated Nov 2019

It looks like this for the Netinstall CD..
  1. Run the Netinstall CD
  2. Restart and login to root
  3. check sources file, sudoers, fstab, interfaces
  4. copy config files to home, or mount home if partition already present
  5. run apt-uptate and full-upgrade, then install the desktop...

(see my install scripts at the bottom of this page)

for LXDE
 

add if you like: synaptic apt-xapian-index gdebi

I go without lxde and lightdm now, and add here: openbox lxpanel lxtask leafpad

and you may need firmware such as firmware-amd-graphics firmware-linux firmware-linux-nonfree firmware-iwlwifi


for plain openbox
 


necessary packages and may be missing after a Netinstall without internet:
 



Possible error with Xorg without installing a display manager, when you run startx:

parse_vt_settings Cannot open /dev/tty0 (Permission Denied)

or
xf86OpenConsole: Cannot open virtual console 7 (Permission Denied)

fix with:
 
 

change "allowed_users=console"
to
 

or the other way is to install elogind with,
 



6.   Install packages

file manager..
 

media player/encoder/desktop apps..
 


no longer with me, but could be useful:
k3b libk3b6-extracodecs normalize-audio marble pinta cheese catfish pyrenamer xfburn xpad

Just add/remove what you like to/from this.



7.   Install the build dependencies (as on the Netinstall page)

with a fast connection you can get this done in an hour, but then setting up takes time - of course, days!
You can always cancel apt downloading of packages and resume it later on, just use Ctrl-C to cancel. Press up arrow and Enter in the terminal to hit the same apt-get command again and apt will continue with downloading.

Which leaves Ranger, compton, Libre Office, video editors, ffmpeg, Avidemux, Bombono, XnViewMP, web browser, Viking, Qgis, Refractasnapshot, ClamTK ......to install from downloaded packages.



Last set up things

power options in Xfce-power-manager

edit ~/.config/user-dirs.dirs to change which dir's get the "Documents", "Music", "Video" icons in Thunar, if installed.

If you install Synaptic and you want a launcher: copy the .desktop file from /usr/share/app's to ~/.local/share/applications/ and change "Exec=synaptic" to: Exec=gksu /usr/sbin/synaptic, or use the command in openbox menu (see configuring lxde)

For gparted, use gksu /usr/sbin/gparted


Polkit error message on start-up

After a fresh install May '13, I had this report pop up on start-up:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
-which is the gnome polkit trying to run when LXDE has its own polkit running already.

So we fix this with editing the polkit .desktop file in autostart, like so:
 
and paste this line at the end, Ctrl-X,y,Enter:
 



Post netinstall scripts

These are pretty basic but they help to automate some work and help me not to forget anything at the time. Adapt them to your needs.

1. system files setup script

the system files that I rsync to the new system are contained in a heap of folders in a dir called netinstall_1910, that are named with the location the files are normally found at, e.g. etc-xdg-menus folder contains files found at /etc/xdg/menus.

for how to chroot, see my chrooting page

 

2. Package install script
 



Next page:

Upgrading Debian - package updating, release upgrade, kernel upgrade