Changeset 22467 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 26, 2009 12:45:52 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r21412 r22467 95 95 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \ 96 96 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl \ 97 $(VBOX_PATH_X11_ADDITION_INSTALLER)/ x11config15suse.pl\97 $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf \ 98 98 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.include.header \ 99 99 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.include.footer \ … … 165 165 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(VBOX_LNX_ADD_INS_OUT_DIR) 166 166 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl $(VBOX_LNX_ADD_INS_OUT_DIR) 167 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/ x11config15suse.pl$(VBOX_LNX_ADD_INS_OUT_DIR)167 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf $(VBOX_LNX_ADD_INS_OUT_DIR) 168 168 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/90-vboxguest.fdi $(VBOX_LNX_ADD_INS_OUT_DIR) 169 169 $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxmouse_drv.o $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv.o -
trunk/src/VBox/Additions/x11/Installer/VBoxRandR.sh
r18265 r22467 69 69 if echo "$xout" | grep "1\.4\.99\.90[12345]" > /dev/null 70 70 then 71 echo "Warning: the version of the X Window system on your guest has aknown"72 echo "problem . Because of this, dynamic resizing and seamless mode will not work."71 echo "Warning: the version of the X Window system on your guest has known" 72 echo "problems which prevent dynamic resizing and seamless mode from working." 73 73 echo 74 74 exit 1 75 75 fi 76 # Check to see if the server is configured to use static modes only.77 for conf in "/etc/X11/xorg.conf-4" "/etc/X11/xorg.conf" "/etc/X11/.xorg.conf" "/etc/xorg.conf" \78 "/usr/etc/X11/xorg.conf-4" "/usr/etc/X11/xorg.conf" "/usr/lib/X11/xorg.conf-4" \79 "/usr/lib/X11/xorg.conf"80 do81 if [ -r $conf ]82 then83 if awk -v IN_SECTION=0 \84 'tolower($0) ~ /^[ \t]*section/ { IN_SECTION=1 } '\85 'tolower($0) ~ /^[ \t]*modes/ { if (IN_SECTION) { print "mode"; exit } } '\86 'tolower($0) ~ /^[ \t]*option[ \t]+\"preferredmode\"/ { if (IN_SECTION) { print "mode"; exit } } '\87 'tolower($0) ~ /endsection/ { IN_SECTION=0 }' \88 $conf 2>/dev/null | grep mode > /dev/null89 then90 echo "Disabling dynamic resizing as the X server is configured to only use static"91 echo "resolutions. To fix this, edit the server configuration file, remove all"92 echo "\"Modes\" lines from the \"Screen\" section and any Option \"PreferredMode\""93 echo "lines from \"Monitor\" sections and restart the server."94 echo95 exit 196 fi97 fi98 done99 76 # Don't write out error information in this case, as this script is also 100 77 # called from the installer, and vboxvideo will not yet be in place yet in
Note:
See TracChangeset
for help on using the changeset viewer.