!
! Xresources for xdm-slackware-theme
!

!
! Defines X cursor theme and size for xdm.
!
Xcursor.theme: Adwaita
Xcursor.size: 32

! Setups XDM so that user can start a given WM/DE with the following
! keyboard shortcuts :
!
!              WM/DE         ! keyboard Shortcuts
!     -----------------------+----------------------
!      failsafe              ! F1 or Ctrl + Return
!      blackbox              ! F2 or Alt + B
!      fluxbox               ! F3 or Alt + F
!      fvwm2                 ! F4 or Alt + V
!      kde                   ! F5 or Alt + K
!      twm                   ! F6 or Alt + T
!      window maker          ! F7 or Alt + W
!      xfce                  ! F8 or Alt + X
!
xlogin*login.translations: #override \
	Ctrl<Key>R: abort-display()\n\
	<Key>F1: set-session-argument(failsafe) finish-field()\n\
	<Key>Delete: delete-character()\n\
	<Key>Left: move-backward-character()\n\
	<Key>Right: move-forward-character()\n\
	<Key>Home: move-to-begining()\n\
	<Key>End: move-to-end()\n\
	Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
	<Key>KP_Enter: set-session-argument() finish-field()\n\
	Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
	<Key>Return: set-session-argument() finish-field()\n\
	<Key>F2: set-session-argument(blackbox) finish-field()\n\
	<Key>F3: set-session-argument(fluxbox) finish-field()\n\
	<Key>F4: set-session-argument(fvwm2) finish-field()\n\
	<Key>F5: set-session-argument(kde) finish-field()\n\
	<Key>F6: set-session-argument(twm) finish-field()\n\
	<Key>F7: set-session-argument(wmaker) finish-field()\n\
	<Key>F8: set-session-argument(xfce) finish-field()\n\
	Alt<Key>B: set-session-argument(blackbox) finish-field()\n\
	Alt<Key>F: set-session-argument(fluxbox) finish-field()\n\
	Alt<Key>V: set-session-argument(fvwm2) finish-field()\n\
	Alt<Key>K: set-session-argument(kde) finish-field()\n\
	Alt<Key>T: set-session-argument(twm) finish-field()\n\
	Alt<Key>W: set-session-argument(wmaker) finish-field()\n\
	Alt<Key>X: set-session-argument(xfce) finish-field()

! Defines visual aspect of the login dialog box.
!
! CLIENTHOST is replaced by the name of host
! DISPLAY_NUM is replaced by the number of the display on the server host
!
! see xrdb manual page for more about symbols above.
! 
!   echoPasswd is set to true so that characters enter by
!              user are printed into the password field.
!
! For more about the settings below, check xdm manual page.
! 
xlogin.Login.greeting: Welcome to CLIENTHOST:DISPLAY_NUM
xlogin.Login.namePrompt: Username:\040
xlogin.Login.passwdPrompt: Password:\040
xlogin.Login.echoPasswd: true
xlogin.Login.fail: Login incorrect

xlogin.Login.greetFace: Sans-15:style=Bold
xlogin.Login.face: Terminus-14
xlogin.Login.promptFace: Terminus-14
xlogin.Login.failFace: Sans-14:style=Bold

xlogin.Login.borderWidth: 1
xlogin.Login.frameWidth: 1
xlogin.Login.innerFramesWidth: 1
xlogin.Login.sepWidth: 1

! Note: 
!   inpColor set the input field background color. This option
!   is available since xdm 1.1.12.
!
xlogin.Login.background: white 
xlogin.Login.foreground: black
xlogin.Login.inpColor:   white

xlogin.Login.shdColor: #dedede
xlogin.Login.hiColor: #dedede

xlogin.Login.greetColor: black
xlogin.Login.promptColor: black
xlogin.Login.failColor: #aa0000

! Defines the logo displayed in the login box.
!
xlogin.Login.logoFileName: /etc/X11/xdm/slackware/pixmaps/s-logo-on-white.xpm
xlogin.Login.logoPadding: 4
