Remove WM's

  • This topic has 4 replies, 2 voices, and was last updated Mar 3-9:45 pm by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7200
    Member
    sleekmason

      Is it possible to remove JWM and IceWM, keeping Fluxbox on a base install without upsetting a bunch of other stuff (menus, common files etc)?

      #7202
      Anonymous
        Helpful
        Up
        0
        ::

        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.

        #7203
        Member
        sleekmason
          Helpful
          Up
          0
          ::

          Outstanding skidoo!, Thank you for your reply. Love having options:) Think I’ll give it a go.

          #7204
          Member
          sleekmason
            Helpful
            Up
            0
            ::

            Oh Man!:)

            Upon: sudo updatedb
            sudo locate jwm, It gave me a nice list:

            /etc/jwm
            /etc/jwm/debian-menu
            /etc/skel/.config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /home/sleek/.config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /root/.config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/local/share/live-files/files/etc/skel/.jwm
            /usr/local/share/live-files/files/etc/skel/.jwm/menu
            /usr/local/share/live-files/general-files/etc/.config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/FAQ/jwm.html
            /usr/share/antiX/FAQ/images/wm/jwm.jpg
            /usr/share/antiX/localisation/ar/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/bg/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/ca/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/cn/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/cs/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/da/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/de/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/el/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/en/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/es/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/et/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/eu/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/fa/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/fi/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/fr/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/hr/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/hu/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/is/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/it/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/ja/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/ko/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/lt/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/mk/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/nb/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/nl/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/pl/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/pt/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/pt-br/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/ro/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/ru/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/sk/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/sl/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/sq/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/sr/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/sv/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/tr/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/antiX/localisation/uk/config/rox.sourceforge.net/ROX-Filer/pb_antiX-jwm
            /usr/share/desktop-menu/.jwm
            /usr/share/desktop-menu/.jwm/menu-applications
            /usr/share/desktop-menu/templates/jwm.template
            /usr/share/desktop-session/wm-menus/jwm-wm-menu
            /var/cache/apt/archives/desktop-defaults-jwm-antix_0.4.4_all.deb
            /var/cache/apt/archives/jwm_2.3.7-1_amd64.deb

            I decided to go for it. I transferred every line from the terminal to a text file named 1.txt in ~/home, and then:

            xargs rm -rf <1.txt
            From the terminal as root.

            Then did the same for IceWM as well. Rebooted and see no issues! er . . yet. If something changes I’ll post back here.

            • This reply was modified 5 years, 2 months ago by sleekmason.
            #7210
            Anonymous
              Helpful
              Up
              0
              ::

              Thanks for posting the list of leftovers for “base edition”.

              /usr/share/antiX/FAQ/jwm.html
              ^—- If you’re so inclined (preparing a respin?), might followup by grep()ing the sibling /usr/share/antiX/FAQ/*.html documents & edit to weed out any now-broken hyperlinks. Aside from that, I don’t forsee any further “issues” based on the files in that list.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.