Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart tdm after exiting session #36

Open
zeronoises opened this issue Apr 8, 2021 · 0 comments
Open

Restart tdm after exiting session #36

zeronoises opened this issue Apr 8, 2021 · 0 comments

Comments

@zeronoises
Copy link

zeronoises commented Apr 8, 2021

At the moment I have tdm successfully setup to start either a spectrwm or herbstluftwm session. Right now I find I'm switching frequently between them. Each time I drop from a session, I land back on the tty - obvs - but have to manually restart tdm. I would much prefer to drop to an active tdm - as would be the default behaviour with a graphical dm.

I use zsh: at the end of my .zprofile:

# start tdm

exec /usr/bin/tdm

And my .xinitrc:

#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec tdm --xstart --silent

EDIT: to be clear, at the end of each X session I drop back into TTY1 but still logged in - with a screen full of the remains of tdm's activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant