Re: tuning my startup sequence (xrandr)

Joe Corneli <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <CAN+qofnE69epsZU+M6rE3PJa3d5qTGKc7xsrd5+2=oPAXTdTmQ@mail.gmail.com>
> Maybe I just need to adjust the ratpoison.desktop file so that it
> launches my .xinitrc...

OK, this chain seems to get the job done:

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<
/usr/share/xsessions/custom.desktop

[Desktop Entry]
 Encoding=UTF-8
 Name=Custom
 Exec=/home/jac2349/.xinitrc
 Comment=Custom setup
 Icon=
 Type=Application

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8< ~/.xinitrc

#!/bin/bash

xrandr --output HDMI2 --auto --left-of HDMI1 &
emacs &
exec ratpoison

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8< ~/.ratpoisonrc

set border 0
set bargravity c
alias esck escape F3
alias esci escape C-t

esck
banish

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8< ~/.emacs

(start-process-shell-command "ratpoison-restart" "ratpoison-restart"
			     "ratpoison --command restart")

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<

I find it a bit curious that the last step is (seemingly) needed, but
indeed the dual-head setup from .xinitrc isn't "recognized" when RP
first starts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.