summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda13
1 files changed, 9 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index d50b740ba..9745e274f 100755
--- a/anaconda
+++ b/anaconda
@@ -410,10 +410,15 @@ if (display_mode != 't' and method and
# if no mouse we force text mode
mousedev = mousehw.get()
if display_mode != 't' and mousedev[0] == "None - None":
- print _("No mouse was detected. A mouse is required for graphical "
- "installation. Starting text mode.")
- display_mode = 't'
- time.sleep(2)
+ # ask for the mouse type
+ if mouse.mouseWindow(mousehw) == 0:
+ print _("No mouse was detected. A mouse is required for graphical "
+ "installation. Starting text mode.")
+ display_mode = 't'
+ time.sleep(2)
+ else:
+ sys.stdout.write(_("Using mouse type: "))
+ sys.stdout.write(mousehw.shortDescription()+'\n')
#
# startup X server is we're not already running under an X session