Build ICEwm system from core 17.1

Forum Forums General Tips and Tricks Build ICEwm system from core 17.1

This topic contains 14 replies, has 5 voices, and was last updated by BobC Apr 22-3:26 pm.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #8821
    Member

    BobC

    I finally did a build up from core, I used IceWM and roaming WiFi. I did it on the old Dell D620. I should be able to get memory used to about 65.0 mb. I’m at 71.0 mb now, but that’s using Xterm and 5 getty sessions, no Conky, no Background. I just wanted to see if I could get it to work…

    I didn’t have major problems. The worst problem was getting X to run when not root, needing to add 2 lines to /etc/X11/Xrapper.config.

    allowed_users=console
    needs_root_rights=yes

    I will see if I can get the history and a memory readout next time I bring up the browser. I suppose its not totally realistic with no conky or screensaver, but it was quite an adventure to get it loaded and get X windows to come up and work.

    Memory footprint:

     Private  +   Shared  =  RAM used	Program
    
    216.0 KiB +  54.0 KiB = 270.0 KiB	startx
    220.0 KiB +  53.0 KiB = 273.0 KiB	gpm
    208.0 KiB +  67.5 KiB = 275.5 KiB	x-session-manag
    280.0 KiB +  88.0 KiB = 368.0 KiB	init
    344.0 KiB +  57.5 KiB = 401.5 KiB	wpa_cli
    364.0 KiB +  64.5 KiB = 428.5 KiB	acpid
    292.0 KiB + 137.0 KiB = 429.0 KiB	cron
    244.0 KiB + 203.5 KiB = 447.5 KiB	xinit
    364.0 KiB + 195.5 KiB = 559.5 KiB	dbus-launch
    380.0 KiB + 421.0 KiB = 801.0 KiB	ck-launch-session
    476.0 KiB + 332.5 KiB = 808.5 KiB	su
    592.0 KiB + 289.0 KiB = 881.0 KiB	login
    680.0 KiB + 593.0 KiB =   1.2 MiB	dbus-daemon (2)
    748.0 KiB + 600.5 KiB =   1.3 MiB	getty (5)
      1.4 MiB + 101.0 KiB =   1.5 MiB	udevd
      1.5 MiB + 111.0 KiB =   1.6 MiB	rsyslogd
    984.0 KiB + 775.5 KiB =   1.7 MiB	icewmbg
      1.1 MiB + 898.5 KiB =   1.9 MiB	icewmtray
      1.7 MiB +   1.0 MiB =   2.7 MiB	console-kit-daemon
      2.2 MiB + 632.0 KiB =   2.9 MiB	dhclient (2)
      2.9 MiB + 102.0 KiB =   3.0 MiB	wpa_supplicant
      3.0 MiB + 893.5 KiB =   3.8 MiB	polkitd
      5.1 MiB +   1.5 MiB =   6.5 MiB	bash (3)
      5.9 MiB +   1.2 MiB =   7.1 MiB	icewm
      6.9 MiB + 666.5 KiB =   7.6 MiB	xterm
     18.8 MiB + 712.5 KiB =  19.5 MiB	Xorg
    ---------------------------------
                             68.2 MiB
    =================================
    

    So what did I install on top of core? I use a program called comm to compare the antix install list to a current list, and what wasn’t there in core is listed here. My notes say I should (ie untested at this point) be able to process add list onto a core install with:
    xargs -a pkgschgd.add.txt apt-get install`

    Too bad I haven’t been able to figure out how to port ksnakeduel to a non-kde environment. It really brought a lot in with it. But I like playing it, oh well.

    Menus are working, but many programs aren’t on them. Haven’t investigated that, yet.

    I don’t like the standard theme, wish I had my rollup shade windows, oh well.

    Anyway, for one evening’s work I did fairly well…

    Anyone know a way to take this list and remove from it all the packages required by any other on the list?

    
    acpid
    acpi-support
    acpi-support-base
    acpitool
    adwaita-icon-theme
    aisleriot
    alsamixer-equalizer-antix
    apt-file
    aptitude
    aptitude-common
    arandr
    aspell
    aspell-en
    at-spi2-core
    autokey-common
    autokey-gtk
    clipit
    conky-legacy-all
    cpp
    cpp-6
    dbus-x11
    dconf-gsettings-backend:amd64
    dconf-service
    deborphan
    desktop-file-utils
    dictionaries-common
    diskscan
    docbook-xml
    docbook-xsl
    emacsen-common
    esound-common
    ethtool
    exfat-fuse
    exfat-utils
    f3
    feh
    ffmpeg
    fonts-dejavu-core
    gcolor2
    gconf2
    gconf2-common
    gconf-service
    gcr
    geany
    geany-common
    gexec
    giblib1:amd64
    gir1.2-atk-1.0:amd64
    gir1.2-freedesktop:amd64
    gir1.2-gdkpixbuf-2.0:amd64
    gir1.2-glib-2.0:amd64
    gir1.2-gtk-3.0:amd64
    gir1.2-gtksource-3.0:amd64
    gir1.2-notify-0.7:amd64
    gir1.2-pango-1.0:amd64
    gksu
    glib-networking:amd64
    glib-networking-common
    glib-networking-services
    gnome-keyring
    gnome-mpv
    gparted
    gpm
    gsettings-desktop-schemas
    gstreamer1.0-alsa:amd64
    gstreamer1.0-plugins-bad:amd64
    gstreamer1.0-plugins-base:amd64
    gstreamer1.0-plugins-good:amd64
    gstreamer1.0-plugins-ugly:amd64
    gstreamer1.0-pulseaudio:amd64
    gstreamer1.0-tools
    gtk2-engines:amd64
    gtk2-engines-murrine:amd64
    gtkdialog
    guile-2.0-libs:amd64
    icewm
    icewm-common
    icewm-themes-antix
    iso-codes
    kate-data
    katepart
    kdelibs5-data
    kdelibs5-plugins
    kdelibs-bin
    kde-runtime
    kde-runtime-data
    kdoctools
    ksnakeduel
    liba52-0.7.4:amd64
    libaa1:amd64
    libappindicator1:amd64
    libapt-pkg-perl
    libaspell15:amd64
    libass5:amd64
    libatasmart4:amd64
    libatk-bridge2.0-0:amd64
    libatkmm-1.6-1v5:amd64
    libatomic1:amd64
    libatspi2.0-0:amd64
    libattica0.4:amd64
    libaudclient2:amd64
    libaudiofile1:amd64
    libavc1394-0:amd64
    libavcodec57:amd64
    libavdevice57:amd64
    libavfilter6:amd64
    libavformat57:amd64
    libavresample3:amd64
    libavutil55:amd64
    libbluray1:amd64
    libboost-filesystem1.62.0:amd64
    libboost-iostreams1.62.0:amd64
    libboost-system1.62.0:amd64
    libbs2b0:amd64
    libcaca0:amd64
    libcairo-gobject2:amd64
    libcairomm-1.0-1v5:amd64
    libcairo-perl
    libcanberra0:amd64
    libcanberra-gtk3-0:amd64
    libcanberra-gtk3-module:amd64
    libcap2-bin
    libcdio13:amd64
    libcdio-cdda1:amd64
    libcdio-paranoia1:amd64
    libcdparanoia0:amd64
    libchromaprint1:amd64
    libclucene-core1v5:amd64
    libcolord2:amd64
    libcrystalhd3:amd64
    libcwidget3v5:amd64
    libdbusmenu-glib4:amd64
    libdbusmenu-gtk4:amd64
    libdbusmenu-qt2:amd64
    libdc1394-22:amd64
    libdca0:amd64
    libdconf1:amd64
    libde265-0:amd64
    libdlrestrictions1
    libdpkg-perl
    libdrm-amdgpu1:amd64
    libdrm-intel1:amd64
    libdrm-nouveau2:amd64
    libdrm-radeon1:amd64
    libdv4:amd64
    libdvdnav4:amd64
    libdvdread4:amd64
    libebur128-1:amd64
    libedit2:amd64
    libenchant1c2a:amd64
    libencode-locale-perl
    libepoxy0:amd64
    libept1.5.0:amd64
    libesd0:amd64
    libexif12:amd64
    libexiv2-14:amd64
    libexporter-tiny-perl
    libfaad2:amd64
    libfam0:amd64
    libffmpegthumbnailer4v5
    libfftw3-double3:amd64
    libfile-listing-perl
    libflite1:amd64
    libfluidsynth1:amd64
    libfontenc1:amd64
    libfribidi0:amd64
    libgc1c2:amd64
    libgck-1-0:amd64
    libgconf-2-4:amd64
    libgcr-3-common
    libgcr-base-3-1:amd64
    libgcr-ui-3-1:amd64
    libgif7:amd64
    libgirepository-1.0-1:amd64
    libgksu2-0
    libgl1-mesa-dri:amd64
    libglade2-0:amd64
    libglew2.0:amd64
    libglibmm-2.4-1v5:amd64
    libglib-perl
    libglu1-mesa:amd64
    libgme0:amd64
    libgnome-keyring0:amd64
    libgnome-keyring-common
    libgpgme11:amd64
    libgpgme++2v5
    libgsm1:amd64
    libgstreamer1.0-0:amd64
    libgstreamer-plugins-bad1.0-0:amd64
    libgstreamer-plugins-base1.0-0:amd64
    libgtk2-perl
    libgtk-3-0:amd64
    libgtk-3-common
    libgtkmm-2.4-1v5:amd64
    libgtksourceview-3.0-1:amd64
    libgtksourceview-3.0-common
    libgtop-2.0-10:amd64
    libgtop2-common
    libharfbuzz-icu0:amd64
    libhtml-parser-perl
    libhtml-tagset-perl
    libhtml-tree-perl
    libhttp-cookies-perl
    libhttp-date-perl
    libhttp-message-perl
    libhttp-negotiate-perl
    libhunspell-1.4-0:amd64
    libhyphen0:amd64
    libid3tag0:amd64
    libiec61883-0:amd64
    libilmbase12:amd64
    libimlib2:amd64
    libindicator7:amd64
    libiodbc2:amd64
    libio-html-perl
    libio-socket-ssl-perl
    libisl15:amd64
    libjavascriptcoregtk-4.0-18:amd64
    libjpeg-turbo-progs
    libjson-glib-1.0-0:amd64
    libjson-glib-1.0-common
    libkactivities6
    libkate1:amd64
    libkatepartinterfaces4
    libkcmutils4
    libkde3support4
    libkdeclarative5
    libkdecore5
    libkdegames6abi1
    libkdegamesprivate1abi1
    libkdesu5
    libkdeui5
    libkdewebkit5
    libkdnssd4
    libkemoticons4
    libkeybinder0
    libkfile4
    libkhtml5
    libkio5
    libkjsapi4
    libkjsembed4
    libkmediaplayer4
    libknewstuff3-4
    libknotifyconfig4
    libkntlm4
    libkparts4
    libkpty4
    libkrosscore4
    libktexteditor4
    libkxmlrpcclient4
    liblcms2-2:amd64
    libldb1:amd64
    liblilv-0-0
    liblist-moreutils-perl
    libllvm3.9:amd64
    liblua5.2-0:amd64
    liblwp-mediatypes-perl
    liblwp-protocol-https-perl
    libmad0:amd64
    libmhash2:amd64
    libmjpegutils-2.1-0
    libmms0:amd64
    libmng1:amd64
    libmodplug1:amd64
    libmp3lame0:amd64
    libmpc3:amd64
    libmpcdec6:amd64
    libmpeg2-4:amd64
    libmpeg2encpp-2.1-0
    libmplex2-2.1-0
    libmpv1:amd64
    libnepomuk4
    libnepomukquery4a
    libnepomukutils4
    libnet-http-perl
    libnet-ssleay-perl
    libnl-route-3-200:amd64
    libnotify4:amd64
    libntrack0
    libntrack-qt4-1
    libnuma1:amd64
    libofa0:amd64
    libopencore-amrnb0:amd64
    libopencore-amrwb0:amd64
    libopencv-calib3d2.4v5:amd64
    libopencv-core2.4v5:amd64
    libopencv-features2d2.4v5:amd64
    libopencv-flann2.4v5:amd64
    libopencv-highgui2.4-deb0:amd64
    libopencv-imgproc2.4v5:amd64
    libopencv-objdetect2.4v5:amd64
    libopencv-video2.4v5:amd64
    libopenexr22:amd64
    libopenjp2-7:amd64
    libopenmpt0:amd64
    liborc-0.4-0:amd64
    libpam-gnome-keyring:amd64
    libpango1.0-0:amd64
    libpangomm-1.4-1v5:amd64
    libpango-perl
    libpangox-1.0-0:amd64
    libpangoxft-1.0-0:amd64
    libparted-fs-resize0:amd64
    libpciaccess0:amd64
    libpcre2-8-0:amd64
    libpgm-5.2-0:amd64
    libphonon4:amd64
    libplasma3
    libpolkit-agent-1-0:amd64
    libpolkit-backend-1-0:amd64
    libpolkit-qt-1-1:amd64
    libpostproc54:amd64
    libpulse-mainloop-glib0:amd64
    libpython2.7:amd64
    libqca2:amd64
    libqt4-dbus:amd64
    libqt4-declarative:amd64
    libqt4-designer:amd64
    libqt4-network:amd64
    libqt4-opengl:amd64
    libqt4-qt3support:amd64
    libqt4-script:amd64
    libqt4-sql:amd64
    libqt4-svg:amd64
    libqt4-xml:amd64
    libqt4-xmlpatterns:amd64
    libqt5svg5:amd64
    libqtcore4:amd64
    libqtdbus4:amd64
    libqtgui4:amd64
    libqtwebkit4:amd64
    libraptor2-0:amd64
    librarian0
    librasqal3:amd64
    libraw1394-11:amd64
    librdf0:amd64
    libregexp-assemble-perl
    librest-0.7-0:amd64
    librubberband2:amd64
    libsbc1:amd64
    libsdl2-2.0-0:amd64
    libsecret-1-0:amd64
    libsecret-common
    libsensors4:amd64
    libserd-0-0:amd64
    libshine3:amd64
    libshout3:amd64
    libsidplay1v5
    libsigc++-2.0-0v5:amd64
    libsmbclient:amd64
    libsnappy1v5:amd64
    libsodium18:amd64
    libsolid4
    libsoprano4
    libsord-0-0:amd64
    libsoundtouch1:amd64
    libsoup2.4-1:amd64
    libsoup-gnome2.4-1:amd64
    libsoxr0:amd64
    libspandsp2:amd64
    libspeex1:amd64
    libsratom-0-0:amd64
    libsrtp0
    libssh-gcrypt-4:amd64
    libstartup-notification0:amd64
    libswresample2:amd64
    libswscale4:amd64
    libtag1v5:amd64
    libtag1v5-vanilla:amd64
    libtalloc2:amd64
    libtbb2:amd64
    libtdb1:amd64
    libtevent0:amd64
    libtheora0:amd64
    libthreadweaver4
    libtimedate-perl
    libturbojpeg0:amd64
    libtwolame0:amd64
    libudisks2-0:amd64
    liburi-perl
    libv4l-0:amd64
    libv4lconvert0:amd64
    libva1:amd64
    libva-drm1:amd64
    libva-wayland1:amd64
    libva-x11-1:amd64
    libvdpau1:amd64
    libvisual-0.4-0:amd64
    libvo-aacenc0:amd64
    libvo-amrwbenc0:amd64
    libvorbisfile3:amd64
    libvpx4:amd64
    libvte-2.91-0:amd64
    libvte-2.91-common
    libvte9
    libvte-common
    libwavpack1:amd64
    libwayland-cursor0:amd64
    libwayland-egl1-mesa:amd64
    libwbclient0:amd64
    libwebkit2gtk-4.0-37:amd64
    libwebp6:amd64
    libwebpmux2:amd64
    libwebrtc-audio-processing1:amd64
    libwildmidi2:amd64
    libwildmidi-config
    libwww-perl
    libwww-robotrules-perl
    libx264-148:amd64
    libx265-95:amd64
    libx86-1:amd64
    libxaw7:amd64
    libxdo3:amd64
    libxfce4ui-common
    libxfont1:amd64
    libxfont2:amd64
    libxft2:amd64
    libxkbfile1:amd64
    libxklavier16:amd64
    libxml2-utils
    libxmmsclient6
    libxmu6:amd64
    libxmuu1:amd64
    libxnvctrl0:amd64
    libxpm4:amd64
    libxslt1.1:amd64
    libxss1:amd64
    libxv1:amd64
    libxvidcore4:amd64
    libxvmc1:amd64
    libxxf86dga1:amd64
    libyajl2:amd64
    libzbar0:amd64
    libzmq5:amd64
    libzvbi0:amd64
    libzvbi-common
    lm-sensors
    lxappearance
    lxkeymap
    lxtask
    lxterminal
    mediterranean-themes
    menu-xdg
    mesa-utils
    mrxvt
    mrxvt-common
    mrxvt-mini
    murrine-themes
    ntrack-module-libnl-0
    oxygen-icon-theme
    p11-kit
    p11-kit-modules:amd64
    palemoon
    perl-openssl-defaults:amd64
    phonon:amd64
    phonon-backend-gstreamer:amd64
    phonon-backend-gstreamer-common:amd64
    pinentry-gnome3
    pkg-config
    plasma-scriptengine-javascript
    pmount
    pm-utils
    policykit-1
    powermgmt-base
    python-dbus
    python-gi
    python-gobject
    python-keybinder
    python-pyinotify
    python-simplejson
    python-talloc
    python-xklavier
    python-xlib
    qdbus
    qtchooser
    qtcore4-l10n
    rarian-compat
    rox-filer
    samba-libs:amd64
    screenshot-antix
    scrot
    sgml-base
    sgml-data
    simplescreenrecorder
    soprano-daemon
    spacefm-common
    spacefm-gtk3
    synaptic
    udev
    udevil
    udisks2
    vbetool
    wmctrl
    wpagui
    x11-utils
    x11-xkb-utils
    x11-xserver-utils
    xauth
    xbattbar
    xbitmaps
    xclip
    xdemineur
    xdg-utils
    xdotool
    xfce-keyboard-shortcuts
    xfonts-100dpi
    xfonts-base
    xfonts-encodings
    xfonts-terminus
    xfonts-utils
    xgalaga
    xinit
    xmahjongg
    xml-core
    xscreensaver
    xscreensaver-data
    xserver-common
    xserver-xorg
    xserver-xorg-core
    xserver-xorg-input-all
    xserver-xorg-input-libinput
    xserver-xorg-input-synaptics
    xserver-xorg-legacy
    xserver-xorg-video-fbdev
    xserver-xorg-video-intel
    xserver-xorg-video-vesa
    xterm
    yad
    zenity
    zenity-common
    

    Inxi as it is:

    root@d620:/home/bobc/packagecomp# inxi -Fxz
    System:    Host: d620 Kernel: 4.9.87-antix.1-amd64-smp x86_64
               bits: 64 gcc: 6.3.0
               Desktop: IceWM 1.4.2
               Distro: antiX-17.1_x64-core Heather Heyer 17 March 2018
    Machine:   Device: portable System: Dell product: Latitude D620 serial: <filter>
               Mobo: Dell model: 0FT292 serial: <filter>
               BIOS: Dell v: A08 date: 04/03/2007
    Battery    BAT0: charge: 56.6 Wh 137.3% condition: 41.2/56.6 Wh (73%)
               model: Panasonic DELL J825J8 status: Full
    CPU:       Dual core Intel Core2 T5500 (-MCP-) 
               arch: Conroe rev.2 cache: 2048 KB
               flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 6661
               clock speeds: max: 1667 MHz 1: 1667 MHz 2: 1333 MHz
    Graphics:  Card: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller
               bus-ID: 00:02.0
               Display Server: X.Org 1.19.2
               drivers: intel (unloaded: modesetting,fbdev,vesa)
               Resolution: 1440x900@60.03hz
               OpenGL: renderer: Mesa DRI Intel 945GM
               version: 2.1 Mesa 13.0.6 Direct Render: Yes
    Audio:     Card Intel NM10/ICH7 Family High Def. Audio Controller
               driver: snd_hda_intel bus-ID: 00:1b.0
               Sound: ALSA v: k4.9.87-antix.1-amd64-smp
    Network:   Card-1: Broadcom Limited NetXtreme BCM5752 Gigabit Ethernet PCIE
               driver: tg3 v: 3.137 bus-ID: 09:00.0
               IF: eth0 state: down mac: <filter>
               Card-2: Broadcom Limited BCM4311 802.11a/b/g
               driver: b43-pci-bridge bus-ID: 0c:00.0
               IF: wlan0 state: up mac: <filter>
    Drives:    HDD Total Size: 162.0GB (4.5% used)
               ID-1: /dev/sda model: SAMSUNG_HM160HI size: 160.0GB
               ID-2: USB /dev/sdb model: STORAGE_DEVICE size: 2.0GB
    Partition: ID-1: / size: 7.8G used: 2.7G (37%) fs: ext4 dev: /dev/sda12
               ID-2: swap-1 size: 4.24GB used: 0.00GB (0%)
               fs: swap dev: /dev/sda3
    Sensors:   System Temperatures: cpu: 54.0C mobo: N/A
               Fan Speeds (in rpm): cpu: N/A
    Info:      Processes: 144 Uptime: 5:42 Memory: 461.9/1993.5MB
               Init: SysVinit runlevel: 5 Gcc sys: N/A
               Client: Shell (bash 4.4.121) inxi: 2.3.54 
    root@d620:/home/bobc/packagecomp# 
    
    
    • This topic was modified 8 months, 1 week ago by BobC.
    • This topic was modified 8 months, 1 week ago by BobC.
    • This topic was modified 8 months, 1 week ago by BobC.
    #8860
    Member

    BobC

    I do want to see if I can get the menus to generate completely. Needs to be investigated. Might look at installing the AntiX menu system, but afraid that will cause other problems.

    Need to figure out where to tell it to run startx in the boot sequence if at run level 5 after login. My guess is it needs to be in the user login script, but I don’t know how that works. I am just fine with a character based login.

    I may end up with a memory-cheap “Debian style” respin of AntiX, lol

    #8897
    Member

    736b69646f6f

    take this list and remove from it all the packages required by any other on the list?

    #!/bin/bash
    ### Usage:
    ###    ignoredeps.sh </path/to/mylist.txt>
    ###
    ### Purpose:
    ###    given a list of currently installed packages
    ###    (e.g. 'dpkg --get-selections | cut -f1 > /path/to/mylist.txt')
    ###    create a 'dpkg --set-selections' picklist, more reliably than
    ###    by using 'apt-mark showmanual' or by parsing /var/log/dpkg.log*
    ###
    ### ref: https://wiki.debian.org/ListInstalledPackages
    
    ### cleanup leftovers from prior runs
    [[ -e /tmp/depdata.txt ]] && rm /tmp/depdata.txt;
    [[ -e /tmp/depsorted.txt ]] && rm /tmp/depsorted.txt;
    
    ### trim away architecture suffix, e.g. ":amd64"
    sed -i 's/:.*//' $1
    
    ### read $1 and generate a list of dependencies
    while IFS='' read -r line || [[ -n "$line" ]]; do
        apt-cache depends $line >> /tmp/depdata.txt
        #OPTIONAL: indicate progress of this long-running operation
        echo "checking $line"
    done < "$1"
    grep 'Depends:' /tmp/depdata.txt | awk -F ": " '{print $NF}' | sort -u > /tmp/depsorted.txt
    ### also matches lines declaring "PreDepends" and oddballs like "<python:any>"...
    
    ### ...but any <oddball> items will not match original list
    comm -23 $1 /tmp/depsorted.txt > /tmp/picklist.txt
    
    ### OPTIONAL: cleanup
    #rm /tmp/depdata.txt && rm /tmp/depsorted.txt
    
    echo "generated /tmp/picklist.txt"
    ### OPTIONAL: inspect and edit the list
    leafpad /tmp/picklist.txt & disown
    exit 0
    #8902
    Member

    BobC

    Thanks for posting, Did you write it or find it someplace?

    I’ll try to look at it and understand. I’m just learning the script language, so I have to find examples of things to learn from.

    For example, I hadn’t even noticed the :amd64 on the lines, yet.

    I am thinking that I could come up with a more generic sequence that would work with whatever window manager.

    The programs still require configuration. I guess that is to be expected…

    #8911
    Member

    BobC

    Ahhh, that’s very cool… So here are the packages I actually added to the core install. And if one didn’t want ksnakeduel or aisleriot, for example, it wouldn’t drag in their dependencies…

    acpi
    acpi-support
    acpitool
    aisleriot
    alsamixer-equalizer-antix
    apt-file
    aptitude
    arandr
    at-spi2-core
    autokey-gtk
    clipit
    conky-legacy-all
    deborphan
    diskscan
    ethtool
    exfat-fuse
    exfat-utils
    f3
    gcolor2
    geany
    gexec
    gksu
    gnome-keyring
    gnome-mahjongg
    gnome-mpv
    gparted
    gpm
    gstreamer1.0-plugins-bad
    gstreamer1.0-plugins-good
    gstreamer1.0-plugins-ugly
    gstreamer1.0-tools
    gtk2-engines
    icewm-themes-antix
    ksnakeduel
    leafpad
    libcanberra-gtk3-module
    libgl1-mesa-dri
    libgtk2-perl
    libjpeg-turbo-progs
    libpam-gnome-keyring
    lm-sensors
    lxappearance
    lxkeymap
    lxtask
    lxterminal
    mediterranean-themes
    menu-xdg
    mesa-utils
    mrxvt
    mrxvt-mini
    murrine-themes
    palemoon
    perl-openssl-defaults
    pmount
    python-keybinder
    rarian-compat
    rox-filer
    screenshot-antix
    simplescreenrecorder
    spacefm-gtk3
    synaptic
    udevil
    udisks2
    vbetool
    wpagui
    x11-utils
    xbattbar
    xclip
    xdemineur
    xfce-keyboard-shortcuts
    xfonts-100dpi
    xfonts-base
    xfonts-terminus
    xgalaga
    xinit
    xmahjongg
    xscreensaver
    xserver-xorg
    xserver-xorg-input-synaptics
    xserver-xorg-legacy
    xserver-xorg-video-fbdev
    xserver-xorg-video-intel
    xserver-xorg-video-vesa
    xterm
    
    #8938
    Member

    andfree

    During last weeks, I have been trying to build an icewm system from core 17.1 (see here), or even from net 17.1 (see here). It’s going to be used on machines 15 years old, so I want it as lightweight as it could be.

    Ceni is installed on the core, but not on the net version. On the net, I firstly connected via ethernet and installed ceni. After that, I connected wirelessly still can’t connect wirelessly.

    For both versions, the steps for getting X to run when not root were the same:
    1) Install xserver-xorg, xserver-xorg-legacy, xinit.
    2) add to /etc/X11/Xrapper.config this line:

    needs_root_rights=yes

    The line below was already there, so no need for me to add it myself:

    allowed_users=console

    I also installed icewm and a terminal (rxvt-unicode), and then I ran “startx”.

    Afterwards, I installed palemoon-nonsse2. I find it the best performing browser for these old machines and for the kind of use I do. I also think about installing dillo (for reading text-only pages) and one browser for use out of X (links2?).

    My thoughts about menus should be a separate post. For the moment, I can say I removed all the tray icons, except sources monitors and the clock.

    I haven’t decided yet about the apps I want to install. Maybe I’ll build a super minimal system for the one machine, using Midnight Commander as file manager and, generally, using terminal apps. On the other machines, I’ll maybe conclude rox-filer and/or spacefm and other “heavier” apps. But I think I’ll install iso-snapshot to all of them, so as to be able to create isos of the built systems.

    I also haven’t decided if I should start from core or from net version. On the net, I had to install some packages for unlocking and mounting disk partitions. I also noticed there was not volume, and installing alsamixer (alsa-utils) haven’t fixed it. I suppose that the net version doesn’t contain drivers. Packages installed on my built-from-core system are about 200 more than those installed on my built-from-net one. I can’t say yet if I need the most of them or not.

    • This reply was modified 8 months, 1 week ago by andfree.
    • This reply was modified 8 months ago by andfree.
    • This reply was modified 8 months ago by andfree.
    #8950
    Member

    BobC

    Yes, I saw your posts. I think the net version is designed to install to hard wired machines. Mine are mostly laptops, and I don’t want to need to mess with cabling temporarily and then setting up for wifi, so that’s why I used core.

    I think the important question is not how many packages, but instead why did you load that particular one (ie was there a particular function it provides that is needed), and that is why the effort here to see which packages were loaded that caused the others to be needed. The same programs could be used to analyse the core distro itself to see if there is anything not needed that could be removed, and then the ones it brought in could be autoremoved.

    I got the menus working well by adding the antix menu package.

    For some odd reason, I can suspend/resume manually, and I can hibernate, but I can’t wake it up again. So that’s an issue.

    Once open issues are fixed, I will remove all the “stuff” I added, like games, and get back to a small footprint IceWM system, sort of like an IceWm mini-base, and try making myself a respin.

    #8976
    Member

    andfree

    It seems you are right about the net version. I didn’t remember well. Installing ceni is not enough for connecting wirelessly. I edited my previous post on this point. Maybe the wireless-tools are needed. I’ll try it when I have time and also an ethernet connection.

    The menu-manager-antix package is the one that got your menus working well? I installed it, but haven’t noticed yet a remarkable improvement.

    Suspend is a general issue for me. I can’t wake up one of the laptops, even on the installed (base) system. I’ll be back on this.

    And the purpose of mine is creating systems more minimal than the base one, too.

    #8979
    Member

    BobC

    I have suspend/resume, hibernate/wakeup, and suspend-hybrid/wakeup-resume working now. Elogind fixed those. I got the desktop stuff working last night as well, but it ended loading a few more things into memory than I wanted, so I will have to tweak that, still, but no actual problems left at this point, other than needing to reconnect wifi after a reboot.

    #9072
    Member

    BobC

    Got it to login and bring up roaming wifi and start X-windows automatically.

    Disk space used is similar to full AntiX – Libreoffice + my Games at this point, but I’m not worried at its still under 3.5 gb.

    Memory use is at 52.1 mb under icewm with no conky or background or screensaver. I’m very happy with that.

    root@d620:/home/bobc# ps_mem.py
    Private + Shared = RAM used Program

    96.0 KiB + 111.0 KiB = 207.0 KiB sh
    108.0 KiB + 118.0 KiB = 226.0 KiB startx
    220.0 KiB + 67.0 KiB = 287.0 KiB gpm
    216.0 KiB + 83.5 KiB = 299.5 KiB icewm-session
    296.0 KiB + 69.5 KiB = 365.5 KiB acpid
    280.0 KiB + 114.0 KiB = 394.0 KiB init
    344.0 KiB + 69.5 KiB = 413.5 KiB wpa_cli
    292.0 KiB + 166.0 KiB = 458.0 KiB cron
    244.0 KiB + 242.5 KiB = 486.5 KiB xinit
    328.0 KiB + 373.0 KiB = 701.0 KiB getty (2)
    480.0 KiB + 369.5 KiB = 849.5 KiB su
    772.0 KiB + 168.0 KiB = 940.0 KiB dbus-daemon
    712.0 KiB + 327.0 KiB = 1.0 MiB login
    740.0 KiB + 476.0 KiB = 1.2 MiB mrxvt-mini
    1.4 MiB + 121.0 KiB = 1.5 MiB udevd
    1.5 MiB + 119.0 KiB = 1.6 MiB rsyslogd
    964.0 KiB + 985.5 KiB = 1.9 MiB icewmbg
    1.0 MiB + 1.0 MiB = 2.0 MiB icewmtray
    2.6 MiB + 296.0 KiB = 2.9 MiB wpa_supplicant
    2.7 MiB + 972.0 KiB = 3.7 MiB dhclient (2)
    4.7 MiB + 1.6 MiB = 6.3 MiB bash (3)
    6.1 MiB + 1.2 MiB = 7.4 MiB icewm
    16.2 MiB + 920.5 KiB = 17.1 MiB Xorg
    ———————————
    52.1 MiB
    =================================
    root@d620:/home/bobc# ping http://www.ibm.com
    PING http://www.ibm.com(g2600-1407-0021-028d-0000-0000-0000-0b3a.deploy.static.akamaitechnologies.com (2600:1407:21:28d::b3a)) 56 data bytes
    64 bytes from g2600-1407-0021-028d-0000-0000-0000-0b3a.deploy.static.akamaitechnologies.com (2600:1407:21:28d::b3a): icmp_seq=1 ttl=57 time=313 ms

    #9078
    Forum Admin
    rokytnji
    rokytnji

    I love watching tinkerers in action. Keep up the good tripping. 😀

    Beer, Bikes, and BBQ. It's what we do. Master of none.
    Not all who Wander are Lost.
    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

    #9337
    Member

    BobC

    Such a shame. Tired of trying to type and losing it all. Finally got it in as a .txt attachment. I guess the rules have changed again. Yes, I really do have problems with authority, lol.

    Anyway, its all done. Its a “Debianized AntiX IceWM” that runs in 60 or 70 mb and the ISO is under 600 mb. It looks like Debian, but RUNS like AntiX! I’m not saying its better than anything, probably not really, maybe a few savings here and there, but mostly just an interesting exercise.

    Package list is attached…

    • This reply was modified 7 months, 4 weeks ago by BobC.
    • This reply was modified 7 months, 4 weeks ago by BobC.
    • This reply was modified 7 months, 4 weeks ago by BobC.
    Attachments:
    1. pkglist.txt
    #9382
    Member

    BobC

    Something interesting, after a hibernate and resume, it gains back memory because wpa_suplicant doesn’t try to run for the hard wired ethernet when its not connected.

    Something I learned today…. To copy from selected text in a terminal to the clipboard buffer so you can paste to a GUI program like Palemoon or Geany select the text and run…
    xclip -o | xclip -i -selection clipboard
    Of course if you had a Keyboard shortcut to do that, they you could just select and hit the key, then be able to paste here…

    One I learned the other day is using Awk to get column 2 and from column 6 to the end of a line (ie if the last stuff on the line is text with spaces so you don’t know how many columns there are, like with the list of packages and descriptions (in a file called pkglist) and write it to a new file called pkglist.txt. So, I’m taking all the other columns before 6 and making them empty, then printing the whole line, which is now 2 and 6+

    awk '{$1=$3=$4=$5=""; print $0}' pkglist >pkglist.txt

    Another thing I learned is that I can take the package list straight from dpkg -l to do this instead of writing a pkglist file if I don’t really need that
    dpkg -l | awk '{$1=$3=$4=$5=""; print $0}' >pkglist.txt

    So I don’t know if all this is useful for anyone else, but if someone happens to search for how to copy selected text from the selection buffer in terminal to paste into browser or editor via the clipboard buffer via command line, they might find this post, and make life a little better.

    If I had to use this frankenstein, I’d need my conky, screensaver and games I suppose, and my hibernate mod, and it would be a lot better to me than stock Debian, but I don’t think its “better” than stock AntiX Base or Full, heck it *IS* AntiX Core + toys, so it is what it is…

    # ps_mem.py
    Private + Shared = RAM used Program

    4.0 KiB + 42.0 KiB = 46.0 KiB startx
    8.0 KiB + 63.5 KiB = 71.5 KiB icewm-session
    40.0 KiB + 47.0 KiB = 87.0 KiB gpm
    4.0 KiB + 122.5 KiB = 126.5 KiB su
    64.0 KiB + 69.0 KiB = 133.0 KiB init
    24.0 KiB + 110.5 KiB = 134.5 KiB rpc.statd
    96.0 KiB + 47.5 KiB = 143.5 KiB wpa_cli
    4.0 KiB + 140.0 KiB = 144.0 KiB login
    4.0 KiB + 155.5 KiB = 159.5 KiB xinit
    16.0 KiB + 145.0 KiB = 161.0 KiB getty (2)
    76.0 KiB + 104.0 KiB = 180.0 KiB rpcbind
    96.0 KiB + 93.0 KiB = 189.0 KiB cron
    160.0 KiB + 60.5 KiB = 220.5 KiB rpc.idmapd
    20.0 KiB + 283.0 KiB = 303.0 KiB dbus-launch (2)
    304.0 KiB + 53.5 KiB = 357.5 KiB acpid
    468.0 KiB + 94.5 KiB = 562.5 KiB udevd
    196.0 KiB + 386.5 KiB = 582.5 KiB gconfd-2
    48.0 KiB + 685.0 KiB = 733.0 KiB at-spi-bus-launcher
    148.0 KiB + 627.5 KiB = 775.5 KiB icewmtray
    164.0 KiB + 613.5 KiB = 777.5 KiB icewmbg
    760.0 KiB + 104.0 KiB = 864.0 KiB rsyslogd
    284.0 KiB + 634.0 KiB = 918.0 KiB at-spi2-registryd
    440.0 KiB + 605.5 KiB = 1.0 MiB polkitd
    740.0 KiB + 329.5 KiB = 1.0 MiB mrxvt-mini
    584.0 KiB + 707.5 KiB = 1.3 MiB dbus-daemon (4)
    1.5 MiB + 88.0 KiB = 1.6 MiB wpa_supplicant
    1.2 MiB + 681.0 KiB = 1.9 MiB console-kit-daemon
    912.0 KiB + 1.0 MiB = 1.9 MiB bash (3)
    1.3 MiB + 639.0 KiB = 2.0 MiB dhclient (2)
    7.1 MiB + 1.7 MiB = 8.8 MiB icewm
    20.5 MiB + 1.3 MiB = 21.8 MiB Xorg
    ———————————
    48.7 MiB
    =================================

    • This reply was modified 7 months, 3 weeks ago by BobC.
    #9580
    Member
    sleekmason
    sleekmason

    Hi Bob, This is all really good stuff. At some point I’ll get around to doing this again, and this thread will be my goto. Thank you.

    Have noticed in your shots that xorg is using about a third of what mine is. Is this due to removing conky and setting to no background?
    Digging your last post about xclip. Didn’t know that.

    #9594
    Member

    BobC

    The xorg memory requirement seems to change with login manager, background, and kernel version, given the same machine.

    I’m no expert, just been experimenting, and finding things that work is all…

    I don’t know how to run IceWM correctly, for example, when I use it as provided by AntiX full, it uses less memory, but I don’t know why.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.