ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] tuning my startup sequence (xrandr)


From: Joe Corneli
Subject: Re: [RP] tuning my startup sequence (xrandr)
Date: Fri, 4 May 2012 13:26:47 +0100

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]