Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1859
Joined: Sat Jun 30, 2018 6:33 pm

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

#1

Post by manyroads » Sun May 19, 2019 1:49 pm

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 - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

User avatar
spanizdogs
Forum Novice
Forum  Novice
Posts: 83
Joined: Sun Oct 15, 2017 5:51 am

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

#2

Post by spanizdogs » Fri May 24, 2019 10:59 am

Arch Wiki : very good for this kind of questions.

https://wiki.archlinux.org
DT + LT : Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 Desktop: Xfce 4.12.3 Distro: MX-18.3_x64 Continuum Apr 7 2019 base: Debian GNU/Linux 9 (stretch)
Laptop System: TOSHIBA product: Satellite Pro P300

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1859
Joined: Sat Jun 30, 2018 6:33 pm

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

#3

Post by manyroads » Fri May 24, 2019 12:48 pm

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 - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

skidoo
Forum Regular
Forum Regular
Posts: 1448
Joined: Tue Sep 22, 2015 6:56 pm

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

#4

Post by skidoo » Fri May 24, 2019 12:51 pm

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: 2838
Joined: Fri Dec 12, 2008 10:31 am

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

#5

Post by Richard » Fri May 24, 2019 1:00 pm

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.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network

NB: antiX19b2full-xfce; MX18.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-5-686, 150GB HDD

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

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

#6

Post by Richard » Fri May 24, 2019 1:06 pm

Great tips from a man who knows the details.
Thanks, skidoo.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network

NB: antiX19b2full-xfce; MX18.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-5-686, 150GB HDD

User avatar
figueroa
Forum Regular
Forum Regular
Posts: 403
Joined: Fri Dec 21, 2018 12:20 am

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

#7

Post by figueroa » 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.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
manyroads
Forum Regular
Forum Regular
Posts: 1859
Joined: Sat Jun 30, 2018 6:33 pm

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

#8

Post by manyroads » 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:
Pax vobiscum,
Mark Rabideau - http://many-roads.com
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Testing: antiX19

User avatar
figueroa
Forum Regular
Forum Regular
Posts: 403
Joined: Fri Dec 21, 2018 12:20 am

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

#9

Post by figueroa » Fri May 24, 2019 3:58 pm

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
Forum Regular
Forum Regular
Posts: 508
Joined: Sun Oct 15, 2017 11:34 am

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

#10

Post by dreamer » Fri May 24, 2019 6:14 pm

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”