Re: tuning my startup sequence (xrandr)

Joe Corneli <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <CAN+qof=QmgbGjcdvh2ND4-avo2Va_a_a4Ue0_2O0cag0w90FuA@mail.gmail.com>
Going through this one more time on a new install: the one thing I
forgot to add last time was to make .xinitrc executable.

On Fri, May 4, 2012 at 1:26 PM, Joe Corneli <[email protected]> wrote:
>> 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.