I've set 3 different server layouts, tv-out only, lcd only and dual-head lcd+tv and I'd like to choose between them by hitting F1 at SLiM's login screen. But, to do so, i need to add something like "-layout some_layout" to startxfce4-containing lines inside ~/.xinitrc.
Thus, it would look something like this:
Code: Select all
DEFAULT_SESSION=startxfce4
case $1 in
xfce4)
exec startxfce4 -- -layout lcd-only
;;
xfce4-tv)
exec startxfce4 -- -layout tv-only
;;
xfce4-tv-lfp)
exec startxfce4 -- -layout tv-lcd
;;
*)
exec $DEFAULT_SESSION
;;
esacThanks in advance.


