antiX questions re:removing select window managers and some file managers

Message
Author
User avatar
manyroads
Posts: 2622
Joined: Sat Jun 30, 2018 6:33 pm

antiX questions re:removing select window managers and some file managers

#1 Post by manyroads »

I am posting this first here, because I think I stand a much better chance of receiving useful, constructive assistance. (Implied message: I'm not so fortunate on the antiX forums). :lipsrsealed: It's probably me. :eek:

Anyway here's my inquiry. I have a desire (probably an unwise desire) to change the mix of wms and file manager tools on my antiX setup. I'd like to remove the following:
---fluxbox
---jwm
---herbstluft

I want to do the removal without borking the entire antiX setup- think surgical removal.

I want to add:
---openbox
---xfce

And I want to end up with the following on my setup working with the antiX tools:
---icewm
---openbox
---xfce (I realize this is a DE not a wm...)

The file managers I would like to remove are:
---rox
---spacefm

I would like to replace them with:
---PCmanFM
---Thunar

I am clear that what I'm trying to do likely breaks every rule imaginable. :bawling: I am happy breaking rules, but I want to preserve the environment if possible. :crossfingers: Here, I have to acknowledge that the saying "runs with scissors" is appropriate regarding my computer use.

Has anyone tried such a sacrilege and are there guides I can follow to improve my ability to achieve my objectives?
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
spanizdogs
Posts: 44
Joined: Sun Oct 15, 2017 5:51 am

Re: antiX questions re:removing select window managers and some file managers

#2 Post by spanizdogs »

Arch Wiki : very good for this kind of questions.

https://wiki.archlinux.org
Arcolinuxb I3 xfce.

User avatar
manyroads
Posts: 2622
Joined: Sat Jun 30, 2018 6:33 pm

Re: antiX questions re:removing select window managers and some file managers

#3 Post by manyroads »

spanizdogs wrote: Fri May 24, 2019 10:59 am Arch Wiki : very good for this kind of questions.

https://wiki.archlinux.org
Actually the arch wiki won't help at all with antiX specific questions... ;)
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

skidoo
Posts: 753
Joined: Tue Sep 22, 2015 6:56 pm

Re: antiX questions re:removing select window managers and some file managers

#4 Post by skidoo »

Yes, coverage (attendance) at antixforums can be spotty.

To accomplish your goal, you will probably need to become intimately familiar with the underlying scripts used by the antiX "desktop-session" mechanism. This is the "plumbing", the under-the-hood stuffs ~~ aside from inline comments within the scripts and/or the associated configuration files, no end-user documentation is available. When plumbing-related questions arise, your best resource may be probably is the antixforum "Old Forum Archive" https://antixlinux.com/archive/ because... although bits-n-pieces have been added to the plumbing across years, the older plumbing hasn't changed much. If it ain't broke, don't fix it... and the person who contributed a given script might not still be available for interrogation to provide explanation of how the anklebone is connected to the shinbone...

sudo updatedb && locate desktop-session
Begin by peeking into the scripts here: /usr/local/lib/desktop-session
then widen your exploration to include other matches returned by that locate command.

It will be helpful for you to setup a bash command (command fragment) alias
cd /usr/local && grep -inr
then, each time you are tracking down an unfamiliar term, or all the places mentioning a term of interest, you can quickly
cf 'some phrase'

Specific to openbox, looks like antiX-Dave (or, kmathern?) had begun work toward including "Update Menus" support and whatnot...
(see: /lib/desktop-session/lib-desktop-session.sh)

I can only mention a couple general tips/guidelines:
In antiX runlevels 2-5, startx isn't called directly.
xinit is minimal. It calls SLiM login manager, which calls desktop-session... and follow the bouncing ball.

After installing a new desktop manager (er, windowmanager), you will need to edit /etc/slim.conf and add the name of the newly-added item (its startup commandstring + desired args) to the listed choices. Similarly, to remove any of the "F1 to select session" choices, you can just remove its name from the "sessions" line within slim.conf

Just?
As a starting point, I do suggest "just" (vs succumbing to the temptation to squeaky clean remove all files related to currently-unused wms//sessions). IIRC, by purging JWM and iceWM and fluxbox you'll only regain about 25MB disk space... and will wind up with logspam from the update-menus script and others (which are hardcoded to expect the files associated with the 3 preinstalled window managers are present).

"(auto)update-menus"
The task of adding support for parsing//injecting content into additional, proprietary, static menu files used by various window managers, represents a significant a curation timesink. Good luck with that...
...and your menu customizations//changes will (still) be ignored by "desktop environments", including Xfwm, which each do their own thang...

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: antiX questions re:removing select window managers and some file managers

#5 Post by Richard »

Just trial away and see what happens. :)
It's not your first rodeo. :)
Always interesting, even when not my cup of tea.

I use Xfce4, Thunar & DoubleCommander.
Waiting on antiX-19 to see how it goes.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: antiX questions re:removing select window managers and some file managers

#6 Post by Richard »

Great tips from a man who knows the details.
Thanks, skidoo.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
figueroa
Posts: 1053
Joined: Fri Dec 21, 2018 12:20 am

Re: antiX questions re:removing select window managers and some file managers

#7 Post by figueroa »

A cleaner solution might be to start with the minimal iso and build up to what you want. That way you might be able to avoid a lot of residual cruft that was installed as dependencies in the full antiX. I'm curious as to why you choose Openbox. Do you want to be able to run Openbox by itself? XFCE works great with XFWM.

Regarding the WMs and file managers you would like to get rid of, they don't take up much storage. They are easy to purge. They don't have too many dependencies that were installed along with them. Purging rox-filer removes mountbox, and rox-filer is also a dependency of mountbox so you can have rox-filer without mountbox but not the other way around.

Added: What skidoo wrote while I was typing. Good advice.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
manyroads
Posts: 2622
Joined: Sat Jun 30, 2018 6:33 pm

Re: antiX questions re:removing select window managers and some file managers

#8 Post by manyroads »

figueroa wrote: Fri May 24, 2019 1:24 pm A cleaner solution might be to start with the minimal iso and build up to what you want. That way you might be able to avoid a lot of residual cruft that was installed as dependencies in the full antiX. I'm curious as to why you choose Openbox. Do you want to be able to run Openbox by itself? XFCE works great with XFWM.

Regarding the WMs and file managers you would like to get rid of, they don't take up much storage. They are easy to purge. They don't have too many dependencies that were installed along with them. Purging rox-filer removes mountbox, and rox-filer is also a dependency of mountbox so you can have rox-filer without mountbox but not the other way around.

Added: What skidoo wrote while I was typing. Good advice.
The reason for Openbox was/is simple, I want to learn it. Turns out of the wms I have tried I like OB & iceWM. For me, the others are just ok. All the rest really just has to do with keeping a completely systemd-free platform available for use. I'm interested in the Devuan effort... antiX and would love MX to stay systemd-optional.

All of the efforts really are learning experiences. I doubt seriously that I'll improve my wealth through these endeavors. :lipsrsealed:

I will share everything I learn that I deem potentially shareable/ useful. As always, no guarantees are expressed or implied. :number1: :footinmouth:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
figueroa
Posts: 1053
Joined: Fri Dec 21, 2018 12:20 am

Re: antiX questions re:removing select window managers and some file managers

#9 Post by figueroa »

manyroads wrote: Fri May 24, 2019 2:29 pm The reason for Openbox was/is simple, I want to learn it. Turns out of the wms I have tried I like OB & iceWM.
Good reason. Your onto something interesting.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
dreamer
Posts: 738
Joined: Sun Oct 15, 2017 11:34 am

Re: antiX questions re:removing select window managers and some file managers

#10 Post by dreamer »

manyroads wrote: Fri May 24, 2019 2:29 pm
figueroa wrote: Fri May 24, 2019 1:24 pm A cleaner solution might be to start with the minimal iso and build up to what you want. That way you might be able to avoid a lot of residual cruft that was installed as dependencies in the full antiX. I'm curious as to why you choose Openbox. Do you want to be able to run Openbox by itself? XFCE works great with XFWM.

Regarding the WMs and file managers you would like to get rid of, they don't take up much storage. They are easy to purge. They don't have too many dependencies that were installed along with them. Purging rox-filer removes mountbox, and rox-filer is also a dependency of mountbox so you can have rox-filer without mountbox but not the other way around.

Added: What skidoo wrote while I was typing. Good advice.
The reason for Openbox was/is simple, I want to learn it. Turns out of the wms I have tried I like OB & iceWM. For me, the others are just ok. All the rest really just has to do with keeping a completely systemd-free platform available for use. I'm interested in the Devuan effort... antiX and would love MX to stay systemd-optional.

All of the efforts really are learning experiences. I doubt seriously that I'll improve my wealth through these endeavors. :lipsrsealed:

I will share everything I learn that I deem potentially shareable/ useful. As always, no guarantees are expressed or implied. :number1: :footinmouth:
Thanks for your efforts manyroads! Your efforts creating "antiXfce" are not in vain even if MX Linux stays sysvinit. I think you make it slightly harder for yourself by incorporating two sessions. Why not make an Openbox ISO and an Xfce ISO? That way there is less entanglement between the "DEs". Just a thought. You have at least another year to complete your work, because Debian Stretch isn't going anywhere. I usually have two DEs installed myself, but it can make the menu more confusing. I don't mind an ISO with two sessions or more, I just thought it would be more work.

I also hope MX Linux stays with sysvinit. I think it's important for Linux. But I understand if they don't want to fight the app ecosystem and focus on building a great distro. I think whatever they choose MX Linux will become slightly smaller so there is no good choice really. But smaller can also be better, because it's easier to target a more uniform group of users.

Post Reply

Return to “antiX”