:: Re: [DNG] [ASCII][PATCH] startx to …
Página Inicial
Delete this message
Reply to this message
Autor: viverna
Data:  
Para: dng
Assunto: Re: [DNG] [ASCII][PATCH] startx to a new tty
Steve Litt <slitt@???> il 18-09-18 00:29:59 ha scritto:
> Your idea merits more research. The "we must cover every corner case"
> crowd can use startx in its Redhat-diminished state, while people like
> us use a <20 line shellscript. Perhaps call it viverna.

I call it "ax" (acronym for Avvia (italian word for starts) X).
At first I wrote "ax" because I liked change WM/DE very often. I like
lxde and openbox but I used gnome2 (in the past) and I use rarely kde
and play with other WM/DE. Change .xinitrc is easy but not immediate
and I developed several years ago a personal shell script. So when I
want run lxde:

ax lxde

when I want run openbox:

ax openbox... and so on.

Almost a year ago I rewrite this shell script to be suitable for
distribution, I will be happy if it may be useful for someone:

https://notabug.org/viverna/ax

Execute: ax [your_favorite_wmde]
for example:
ax lxde
ax kde
ax without parameters run last WM/DE or the default.

ax understands WM/DE reading $ETCPREFIX/etc/ax/client
(for me $ETCPREFIX is /usr/local).
"client" file has a very simple syntax:
NAME_WMDE NAME_EXECUTABLE MULTIPLE_ARGS_EXECUTABLE

for example:
https://notabug.org/viverna/ax/src/master/etc/client

usage:
https://notabug.org/viverna/ax/src/master/USAGE.txt
xinit args are the output of args.sh file in $ETCPREFIX/etc/ax/

I use everyday and works well but it is my personal case and it needs
more tests.

--
viverna