Request: mx-switchuser improvement
It would be interesting, when using the mx-switchuser tool to have for information the list of the actual users, and the related tty# (ex: Ctrl+Alt+F#)
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32
oops wrote: ↑Sat Nov 03, 2018 12:59 pm
Request: mx-switchuser improvement
It would be interesting, when using the mx-switchuser tool to have for information the list of the actual users, and the related tty# (ex: Ctrl+Alt+F#)
Nice idea! And adding a click-to-change button to this to select from provided list of active VT-consoles
would make mouse-click-user easier to change to an active vt-console.
You could make it with providing password less command like
oops wrote: ↑Sat Nov 03, 2018 12:59 pm
Request: mx-switchuser improvement
It would be interesting, when using the mx-switchuser tool to have for information the list of the actual users, and the related tty# (ex: Ctrl+Alt+F#)
Nice idea! And adding a click-to-change button to this to select from provided list of active VT-consoles
would make mouse-click-user easier to change to an active vt-console.
You could make it with providing password less command like
#!/bin/bash
# /usr/local/bin/mx-switchuser
TEXTDOMAINDIR=/usr/share/locale
TEXTDOMAIN=mx-switchuser
if [ ! -e ~/.switchuser ] ; then
CHECKBOX=$(yad --form --title=$"User Switching" --text=$"This tool allows you to switch to a different user without closing down your current session.
To return to the original user, simply press Ctrl-Alt-F7. Go back again with Ctrl-Alt-F8.
$(who)
Do you want to switch to another user?" --field=$"Do not show this screen again":chk)
if [ $? -eq 0 ] ; then
if [ $CHECKBOX == "TRUE|" ] ; then
# screen always shown : touch ~/.switchuser_always_show_screen
# touch ~/.switchuser
touch ~/.switchuser_always_show_screen
fi
else
exit 1
fi
fi
dm-tool switch-to-greeter
exit 0
You do not have the required permissions to view the files attached to this post.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32