Reply To: Remove WM's

#7202
Anonymous

    For the benefit of all future readers, this reply is intended to be “thorough”
    (so don’t bust my chops for sounding “patronizing” or whatever, by including details which may be obvious to you)

    Until we hear otherwise, I believe the following is applicable to both “full” and “base”:

    First, if you have enabled autologin, ensure you’ve set something other than the to-be-removed items as the default session.

    Next:
    sudo apt-get purge icewm icewm-common icewm-themes-antix icewmcc-antix desktop-defaults-icewm-antix
    sudo apt-get purge jwm menu-jwm-antix desktop-defaults-jwm-antix
    IIRC, no further packages depend on any of the above, but keep an eye on the output
    (if you’re warned “additional packages blahblah will also be removed”, hold off, don’t remove, post a followup forum reply)

    Next, delete these from your home directory:
    rm -Rf ~/.icewm
    rm -Rf ~/.jwm
    rm -Rf ~/.jwmrc

    Next, edit (asRoot) the following 2 files to remove any references to icewm and jwm”:
    /etc/slim.conf
    /usr/share/slim/slim.template (referenced by /usr/local/bin/slim-login “autologin setup” utility)

    Next check for any related files which may have been missed by the package uninstall operations:
    (and, in a followup post, maybe report any stragglers you discover, eh)
    sudo updatedb
    sudo locate jwm
    sudo locate .jwm
    sudo locate icewm
    sudo locate .icewm
    ^—- i can’t recall whether output of “locate” command differs for non-sudo users on a stock antiX system.
    (the following are examples of “whatall/whereall” might require manual cleanup)
    /usr/share/antiX/localizations/*/icewm*
    /etc/skel/.icewm/
    /usr/share/icewm/
    /uar/share/xsessions/icewm-session.desktop
    /usr/share/manu/icewm/
    /usr/share/doc/icewm-common/
    /usr/share/desktop-menu/.icewm/
    /usr/share/desktop-menu/.jwm/
    /usr/share/desktop-menu/templates/icewm.template
    /usr/share/desktop-menu/templates/jwm.template

    ^—– Until those 2 .template files have been removed (via purge operation, or via manual deletion)
    the “update menus” command will (still) work but will output some “blah not found” messages.

    ================

    As an optional followup step, you might want to edit /usr/local/bin/antixcc.sh
    and remove its reference to (launcher for) /usr/local/bin/icewmcc/icewmcc.sh
    (I can’t recall, maybe not necessary ~~ maybe the absence of icewm is recognized, and its launcher is automatically hidden)
    Bear in mind: future “control-centre-antix” package upgrade operations will overwrite (undo) this change.

    Someone else can (should) advise whether anything else — related to creating new user accounts — needs to be tweaked.