Further Lighten antiX

From antiX

Jump to: navigation, search
antiX + iceWM

IceWM and startx

Many thanks to macondo.


The first thing I did was su to root and then as root:

# apt-get update && apt-get dist-upgrade

this updated the list of applications in the database and upgraded them in case they hadn't been. It upgraded libmagic9 libnet-dns-perl and ttf-opensymbol.

Next:

# updatedb

Then I installed the apps icewm-themes (about 80 themes), numlockx, unclutter (makes the cursor disappear after 5 second, good for reading), my favorite editor: joe, the firewall 'firehol', and the fonts 'terminus', good for reading for long lapses.

# apt-get install icewm-themes numlockx unclutter joe firehol
xfonts-terminus
# updatedb (again)

Ctrl + Alt + Delete + r (will restart icewm) and make effective any changes made.

To config my firewall and using the default editor nano:

# nano /etc/default/firehol

I edited and left it looking like this:


START_FIREHOL=YES
FIREHOL_LOG_MODE="ULOG"

#If you want to have firehol wait for an iface to be up add it here
WAIT_FOR_IFACE=""

then I saved and exited nano:

Ctrl + O <Enter> the letter O is not a cap (saves)
Ctrl + x (exits)
# firehol-wizard <Enter>

let it run, press Enter when told to do so.

Set up time configuration. Launch 'SetClock' on menu, enter root password:

Default messages:

your current time zone is set to Europe/Greece
Do you want to change this? yes

Gives me a list, I chose my continent: America

then a list of cities in America, I chose: Panama

You may need to fix the time in the bios.

To start Icewm as default WM instead of fluxbox, edit .xinitrc with nano:

$ nano .xinitrc

got an empty file, I left it looking like this:

#!/bin/sh

numlockx &
unclutter &
icewm

saved/exited from nano

Alternatively, edit the .xession file

$ leafpad .xsession

and edit to

###exec startfluxbox
exec icewm-session

Make booting faster and simpler:

# nano /boot/grub/menu.lst

changed the booting time to zero and commented some lines to avoid seeing them when I booted, edited the file and left looking like this:

timeout 0
#color cyan/blue white/blue
#foreground ffffff
#background 0639a1

gfxmenu /boot/grub/message

title MEPIS at sda1, newest kernel
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 nomce quiet vga=791
resume=/dev/sda2
boot

title MEPIS at sda1, previous kernel (if any)
root (hd0,0)
kernel /boot/vmlinuz.old root=/dev/sda1 nomce quiet vga=791
resume=/dev/sda2
boot

title MEPIS at sda1, kernel 2.6.15-27-desktop
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-27-desktop root=/dev/sda1 nomce quiet
vga=791 resume=/dev/sda2
boot

title MEMTEST
kernel /boot/memtest86+.bin

saved/exited and went to edit /etc/inittab I like 'startx'


# nano /etc/inittab

here I changed the runlevel to 2 and commented an extra tty to save more ram:

id:2:initdefault:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/getty 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
#3:2345:respawn:/sbin/getty 38400 tty3
#4:2345:respawn:/sbin/getty 38400 tty4
#5:2345:respawn:/sbin/getty 38400 tty5
#6:2345:respawn:/sbin/getty 38400 tty6

Then went to /etc/fstab

and changed this line:

/dev/sda3 /home ext3 defaults,noatime,nodev,nosuid 1 2

saved exited

Remove xdm and other unwanted apps:

# dpkg -P xdm xterm gimp gnumeric minicom dillo links2 mutt pan
# reboot

when it began to reboot I pressed Delete, got into my BIOS, changed the time, pressed F10 (save/exit) and it continued rebooting, took me to login, entered my username/password, typed startx, icewm came up, the time was correct, so I'm a happy camper.

Now to config icewm: I got it all save in my yahoo mail so it's just a matter of copy/paste.

$ nano .icewm/preferences

(gives me an empty file) I copied/pasted my preferences:

See this post for icewm configuration:

Shutdown apps with F7 instead of Alt+F4

$ nano .icewm/prefoverride
KeyWinClose="F7

save/exit.

Personal tools