-> 2018-02-18 Sun 09:50, Mayuresh Kathe, <[email protected]>:
> a startx starts up the graphical environment, but only partially
> works as expected. i have included the .cwmrc and .xinitrc and
> request help.

What exactly did you expect? What actually happened?

Not much to help you with without knowing what's wrong in the first
place.

> -- cwmrc --
> #fontname "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1"
> 
> bind CM-t terminal
> bind CM-l lock
> bind CM-s ssh
> bind CM-r restart
> bind CM-q quit
> 
> command top "xterm -e top"
> 
> 
> -- xinitrc --
> #!/bin/sh
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/etc/X11/xinit/.Xresources
> sysmodmap=/etc/X11/xinit/.Xmodmap
> 
> if [ -f $sysresources ]; then
>     xrdb -merge $sysresources
> fi
> 
> if [ -f $sysmodmap ]; then
>     xmodmap $sysmodmap
> fi
> 
> if [ -f "$userresources" ]; then
>     xrdb -merge "$userresources"
> fi
> 
> if [ -f "$usermodmap" ]; then
>     xmodmap "$usermodmap"
> fi
> 
> id1=$HOME/.ssh/identity
> id2=$HOME/.ssh/id_dsa
> id3=$HOME/.ssh/id_rsa
> id4=$HOME/.ssh/id_ecdsa
> if [ -x /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 -o -f $id4 ];
> then
>       eval `ssh-agent -s`
>       ssh-add < /dev/null
> fi
> 
> xclock -digital -update 1 -geometry 200x30-1+1 &
> xconsole -iconic -geometry 400x60-1-1 &
> xterm -geometry 80x24+100+100 &
> xsetroot -solid black &
> synclient touchpadoff=1 &
> cwm || xterm
> 
> if [ "$SSH_AGENT_PID" ]; then
>       ssh-add -D < /dev/null
>       eval `ssh-agent -s -k`
> fi

You might want to move the "cwm || xterm" line to the bottom of the
file. As far as I know the call to the WM should be the last one in
~/.xinitrc.

Kind regards
Christian
-- 
[ Insert favourite quote here. ]

Attachment: signature.asc
Description: PGP signature

Reply via email to