Merge branch 'master' of github.com:cycojesus/slackbuilds

This commit is contained in:
Gwenhael Le moine 2009-11-21 13:25:24 +07:00
commit f4353404d0
7 changed files with 299 additions and 0 deletions

View file

@ -0,0 +1,9 @@
--- /etc/X11/xdm/./GiveConsole 2009-06-03 12:40:26.000000000 +0700
+++ ./GiveConsole 2005-09-27 15:25:32.000000000 +0700
@@ -7,4 +7,6 @@
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
+kill -9 $(cat /var/run/Xsession.pid)
+
chown $USER /dev/console

View file

@ -0,0 +1,41 @@
! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
!
!
!
!
! $XFree86: xc/programs/xdm/config/Xres.cpp,v 1.6 2003/01/04 03:11:31 dawes Exp $
!
xlogin.Login.translations: #override\
Ctrl<Key>R: abort-display()\n\
<Key>Delete: delete-character()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
<Key>KP_Enter: set-session-argument() finish-field()
xlogin.Login.x: 200
xlogin.Login.y: 200
xlogin.Login.width: 300
xlogin.Login.foreground: #c0c0c0
xlogin.Login.background: #000048
xlogin.Login.font: *aqui*
xlogin.Login.greeting: CLIENTHOST
xlogin.Login.unsecureGreeting: CLIENTHOST
xlogin.Login.greetFont: *aqui*
xlogin.Login.greetColor: #c0c0c0
xlogin.Login.namePrompt: Login :
xlogin.Login.passwdPrompt: Mot de passe :
xlogin.Login.promptFont: *aqui*
xlogin.Login.promptColor: #c0c0c0
xlogin.Login.fail: Permission Refus<75>e
xlogin.Login.failFont: *aqui*
xlogin.Login.failColor: #c0c0c0
xlogin.Login.failTimeout: 1
xlogin.Login.allowRootLogin: false
xlogin.Login.allowNullPasswd: false
Xcursor.theme: whiteglass

View file

@ -0,0 +1,121 @@
--- /etc/X11/xdm/./Xresources 2009-06-03 12:40:26.000000000 +0700
+++ ./Xresources 2009-11-19 17:28:38.000000000 +0700
@@ -6,85 +6,36 @@
! $XFree86: xc/programs/xdm/config/Xres.cpp,v 1.6 2003/01/04 03:11:31 dawes Exp $
!
-Xcursor.theme: whiteglass
-
-
-
-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()
-
-xlogin*greeting: Welcome to CLIENTHOST
-xlogin*namePrompt: \040\040\040\040\040\040\040Login:
-xlogin*fail: Login incorrect
-
-#if WIDTH > 800
-xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
-xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
-xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
-xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
-xlogin*greetFace: Serif-24:bold:italic
-xlogin*face: Helvetica-18
-xlogin*promptFace: Helvetica-18:bold
-xlogin*failFace: Helvetica-18:bold
-#else
-xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
-xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
-xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
-xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
-xlogin*greetFace: Serif-18:bold:italic
-xlogin*face: Helvetica-12
-xlogin*promptFace: Helvetica-12:bold
-xlogin*failFace: Helvetica-14:bold
-#endif
-
-#ifdef COLOR
-xlogin*borderWidth: 1
-xlogin*frameWidth: 5
-xlogin*innerFramesWidth: 2
-xlogin*shdColor: grey30
-xlogin*hiColor: grey90
-xlogin*background: grey
-!xlogin*foreground: darkgreen
-xlogin*greetColor: Blue3
-xlogin*failColor: red
-*Foreground: black
-*Background: #fffff0
-#else
-xlogin*borderWidth: 3
-xlogin*frameWidth: 0
-xlogin*innerFramesWidth: 1
-xlogin*shdColor: black
-xlogin*hiColor: black
-#endif
-
-#if PLANES >= 8
-xlogin*logoFileName: /usr/lib64/X11/xdm/pixmaps/xorg.xpm
-#else
-xlogin*logoFileName: /usr/lib64/X11/xdm/pixmaps/xorg-bw.xpm
-#endif
-xlogin*useShape: true
-xlogin*logoPadding: 10
-
-
-XConsole.text.geometry: 480x130
-XConsole.verbose: true
-XConsole*iconic: true
-XConsole*font: fixed
-
-Chooser*geometry: 700x500+300+200
-Chooser*allowShellResize: false
-Chooser*viewport.forceBars: true
-Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-*
-Chooser*label.label: XDMCP Host Menu from CLIENTHOST
-Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
-Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-*
+xlogin.Login.translations: #override\
+ Ctrl<Key>R: abort-display()\n\
+ <Key>Delete: delete-character()\n\
+ <Key>F1: set-session-argument(failsafe) finish-field()\n\
+ Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
+ <Key>Return: set-session-argument() finish-field()
+ <Key>Left: move-backward-character()\n\
+ <Key>Right: move-forward-character()\n\
+ <Key>Home: move-to-begining()\n\
+ <Key>End: move-to-end()\n\
+ <Key>KP_Enter: set-session-argument() finish-field()
+
+xlogin.Login.x: 200
+xlogin.Login.y: 200
+xlogin.Login.width: 300
+xlogin.Login.foreground: #c0c0c0
+xlogin.Login.background: #000048
+xlogin.Login.font: *aqui*
+xlogin.Login.greeting: CLIENTHOST
+xlogin.Login.unsecureGreeting: CLIENTHOST
+xlogin.Login.greetFont: *aqui*
+xlogin.Login.greetColor: #c0c0c0
+xlogin.Login.namePrompt: Login :
+xlogin.Login.passwdPrompt: Mot de passe :
+xlogin.Login.promptFont: *aqui*
+xlogin.Login.promptColor: #c0c0c0
+xlogin.Login.fail: Permission Refus<75>e
+xlogin.Login.failFont: *aqui*
+xlogin.Login.failColor: #c0c0c0
+xlogin.Login.failTimeout: 1
+xlogin.Login.allowRootLogin: false
+xlogin.Login.allowNullPasswd: false
+Xcursor.theme: whiteglass

57
x/theme-xdm/xdm/Xsetup_0 Executable file
View file

@ -0,0 +1,57 @@
#!/bin/sh
# $Xorg: Xsetup_0,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
# Fix backspace problem in login box:
sysmodmap=/etc/X11/xinit/.Xmodmap
if [ -f $sysmodmap ]; then
/usr/bin/xmodmap $sysmodmap
fi
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin";
wish8.4 -name Powerbox <<EOF &
wm geometry . -0-0
button .halt \
-bg black \
-activebackground black \
-activeforeground #e0e0e0 \
-fg #4f4f5f \
-highlightbackground black \
-font aqui\ 10 \
-text halt \
-borderwidth 0 \
-cursor left_ptr \
-command { exec halt 2>/dev/console >/dev/console }
button .reboot \
-bg black \
-activebackground black \
-activeforeground #e0e0e0 \
-fg #4f4f5f \
-highlightbackground black \
-font aqui\ 10 \
-text reboot \
-borderwidth 0 \
-cursor left_ptr \
-command { exec reboot 2>/dev/console >/dev/console }
button .console \
-bg black \
-activebackground black \
-activeforeground #e0e0e0 \
-fg #4f4f5f \
-highlightbackground black \
-font aqui\ 10 \
-text console \
-borderwidth 0 \
-cursor left_ptr \
-command { exec killall xdm 2>/dev/console >/dev/console }
pack .console .halt .reboot -side left -fill both
EOF
umask 022
# saving PID of Powerbox process
echo $! > /var/run/Xsession.pid
#xv -root -quit -viewonly /usr/X11R6/lib/X11/xdm/pixmaps/FreeBSD.jpg
fbsetbg -f /usr/X11R6/lib/X11/xdm/pixmaps/headphones.jpg
#xsnow &

View file

@ -0,0 +1,61 @@
--- /etc/X11/xdm/./Xsetup_0 2009-05-30 08:47:39.000000000 +0700
+++ ./Xsetup_0 2009-11-19 15:34:23.000000000 +0700
@@ -8,11 +8,50 @@
/usr/bin/xmodmap $sysmodmap
fi
-# If the nifty KDE background loader is around, use it:
-if [ -x /opt/kde/bin/kdmdesktop ]; then
- /opt/kde/bin/kdmdesktop
-elif [ -x /usr/bin/kdmdesktop ]; then
- /usr/bin/kdmdesktop
-else
- /usr/bin/xsetroot -solid SteelBlue
-fi
+PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin";
+
+wish8.4 -name Powerbox <<EOF &
+wm geometry . -0-0
+button .halt \
+-bg black \
+-activebackground black \
+-activeforeground #e0e0e0 \
+-fg #4f4f5f \
+-highlightbackground black \
+-font aqui\ 10 \
+-text halt \
+-borderwidth 0 \
+-cursor left_ptr \
+-command { exec halt 2>/dev/console >/dev/console }
+button .reboot \
+-bg black \
+-activebackground black \
+-activeforeground #e0e0e0 \
+-fg #4f4f5f \
+-highlightbackground black \
+-font aqui\ 10 \
+-text reboot \
+-borderwidth 0 \
+-cursor left_ptr \
+-command { exec reboot 2>/dev/console >/dev/console }
+button .console \
+-bg black \
+-activebackground black \
+-activeforeground #e0e0e0 \
+-fg #4f4f5f \
+-highlightbackground black \
+-font aqui\ 10 \
+-text console \
+-borderwidth 0 \
+-cursor left_ptr \
+-command { exec killall xdm 2>/dev/console >/dev/console }
+pack .console .halt .reboot -side left -fill both
+EOF
+
+umask 022
+# saving PID of Powerbox process
+echo $! > /var/run/Xsession.pid
+
+#xv -root -quit -viewonly /usr/X11R6/lib/X11/xdm/pixmaps/FreeBSD.jpg
+fbsetbg -f /usr/X11R6/lib/X11/xdm/pixmaps/headphones.jpg
+#xsnow &

View file

@ -0,0 +1,10 @@
--- /etc/X11/xdm/Xstartup 2009-06-03 12:40:26.000000000 +0700
+++ Xstartup 2009-11-19 15:36:59.557499617 +0700
@@ -1,4 +1,7 @@
#!/bin/sh
# Register a login (derived from GiveConsole as follows:)
#
+
+kill -9 $(cat /var/run/Xsession.pid)
+
/usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB