Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131469 Details for
Bug 193256
sys-libs/gpm - adding functionality to start 1 *or* 2 mice in init-script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add functionality to gpm init-script to handle 1 or 2 mice (depending on presence)
gpm-portage.patch (text/plain), 1.86 KB, created by
Rowan Thorpe
on 2007-09-20 22:44:10 UTC
(
hide
)
Description:
Add functionality to gpm init-script to handle 1 or 2 mice (depending on presence)
Filename:
MIME Type:
Creator:
Rowan Thorpe
Created:
2007-09-20 22:44:10 UTC
Size:
1.86 KB
patch
obsolete
>diff -Naur /usr/portage/sys-libs/gpm/files/gpm.conf.d.old /use/portage/sys-libs/gpm/files/gpm.conf.d >--- /usr/portage/sys-libs/gpm/files/gpm.conf.d.old 2005-08-20 11:05:58.000000000 +0300 >+++ /use/portage/sys-libs/gpm/files/gpm.conf.d 2007-08-25 00:04:53.000000000 +0300 >@@ -6,6 +6,7 @@ > #MOUSE=imps2 > #MOUSEDEV=/dev/psaux > MOUSEDEV=/dev/input/mice >+#MOUSEDEV=/dev/input/by-path/platform-i8042-serio-1-mouse > > # Extra settings > >@@ -21,3 +22,11 @@ > > #APPEND="-g 1 -A60" > #APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A60" >+ >+# Extra mouse? ;-) >+ >+MOUSE2=imps2 >+MOUSEDEV2=/dev/input/by-id/usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-mouse >+#RESPONSIVENESS2= >+#REPEAT_TYPE2=raw >+#APPEND2="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -A60" >diff -Naur /usr/portage/sys-libs/gpm/files/gpm.rc6.old /use/portage/sys-libs/gpm/files/gpm.rc6 >--- /usr/portage/sys-libs/gpm/files/gpm.rc6.old 2004-07-15 04:07:47.000000000 +0300 >+++ /usr/portage/sys-libs/gpm/files/gpm.rc6 2007-08-25 00:06:54.000000000 +0300 >@@ -21,13 +21,23 @@ > checkconfig || return 1 > > local params="" >+ local params2="" >+ local mouse2cmd="" > [ -n "$RESPONSIVENESS" ] && params="$params -r $RESPONSIVENESS" > [ -n "$REPEAT_TYPE" ] && params="$params -R$REPEAT_TYPE" > [ -n "$APPEND" ] && params="$params $APPEND " >- >+ if [ -n "$MOUSE2" ] && [ -c "$MOUSEDEV2" ]; then >+ [ -n "$RESPONSIVENESS2" ] && params2="$params2 -r $RESPONSIVENESS2" >+ [ -n "$REPEAT_TYPE2" ] && params2="$params2 -R$REPEAT_TYPE2" >+ [ -n "$APPEND2" ] && params2="$params2 $APPEND2 " >+ fi >+ > ebegin "Starting gpm" >+ if [ -n "$MOUSE2" ] && [ -c "$MOUSEDEV2" ]; then >+ mouse2cmd="-M -m ${MOUSEDEV2} -t ${MOUSE2} ${params2}" >+ fi > start-stop-daemon --start --quiet --exec /usr/sbin/gpm \ >- -- -m ${MOUSEDEV} -t ${MOUSE} ${params} >+ -- -m ${MOUSEDEV} -t ${MOUSE} ${params} ${mouse2cmd} > eend ${?} > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193256
: 131469