LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [ANN] adm is a tiny, cli-only desktop manager for slackware (https://www.linuxquestions.org/questions/slackware-14/%5Bann%5D-adm-is-a-tiny-cli-only-desktop-manager-for-slackware-4175647311/)

phalange 01-30-2019 12:11 PM

[ANN] adm is a tiny, cli-only desktop manager for slackware
 
Hi everyone, I'm working on a small CLI-only desktop manager in Python. I use it instead of xwmconfig, plus I don't like launching a big graphical interface to log into my window manager.

adm:
scans and filters the contents of /etc/X11/xinit and shows a list of xinitrc files
provides the basic system data (date, time, user, system, etc.) that are DM staples

When one of the available xinitrc files is selected, adm:
copies the file to the user's home directory, renaming as .xinitrc
makes a backup of the .xinitrc file already there
makes the newly copied .xinitrc file user executable
executes startx and thus launches the WM or DE

Advantages of adm are:
it is tiny, and provides the essential DM tools without the weight of a graphical DM
it automatically discovers newly installed WMs and DMs and dynamically updates its list
unlike xwmconfig, changes to a xinitrc file are always loaded, since the active file is replaced on every startup

adm needs:
python 3.6

There's no slackbuild yet, but of course you can make the script executable and drop it into an executable path. I also add it to my .bash_profile so it launches as soon as I log my user in.

I hope some of you find it handy; let me know if you have any feedback.

https://github.com/afhpayne/adm

tramtrist 01-30-2019 01:45 PM

Couldnt be any more straight forward... Worked like a charm for me. Nothing more to report :)

Poprocks 01-30-2019 08:57 PM

Neat idea! I'm almost surprised this hasn't been thought of before (or has it?)

phalange 01-31-2019 12:21 AM

Quote:

Originally Posted by Poprocks (Post 5955726)
Neat idea! I'm almost surprised this hasn't been thought of before (or has it?)

There are a few others I know of, mostly written in bash. And of course xwmconfig.


All times are GMT -5. The time now is 07:28 PM.