2011/10/21 Michał Siejak <mic...@siejak.pl>: > Back to the topic: xlsh github page now has proper wiki with HOWTOs on > compiling and installing it on Arch and Ubuntu Linux as well as > configuration articles. Head to: https://github.com/Nadrin/xlsh/wiki
Thanks for writing this, Michał. Some reports on getting it working on Debian. In order to start it as your X display manager you need the following line in your /etc/inittab: x:2:respawn:/usr/local/sbin/xlshd -f Similar to arch, but different runlevel. Since the xdotool in debian/wheezy does not support the --sync option to the search command, I had to apply the hack in attached diff to give the xterm window focus. I'm sure there are better ways, it it seems to work. Also, xlsh fails to set my PATH to what's in include/config.h, but rather leaves it as /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin as specified in xlshrc. I don't know why. -- Mikael Schönenberg
diff --git a/etc/xlshrc b/etc/xlshrc index ca9fbba..e1df4f4 100644 --- a/etc/xlshrc +++ b/etc/xlshrc @@ -19,7 +19,7 @@ fi xrdb -merge "$XRESFILE" xsetroot -solid "$BGCOLOR" if which xdotool; then - ( xwindow=$(xdotool search --sync --class $TERMINAL) - xdotool windowfocus "$xwindow" )& + ( xwindow=$(sleep 1 && xdotool search --class $TERMINAL) + xdotool windowfocus --sync "$xwindow" )& fi exec $TERMINAL -g 80x15+$px+$py -e $(which xlsh)