VirtualBox

Ignore:
Timestamp:
Jun 14, 2013 3:14:43 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86427
Message:

Additions/linux: cleaned up xorg.conf set-up and fixed a case when no original file was present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r45135 r46563  
    285285    # By default, we want to run our xorg.conf setup script
    286286    setupxorgconf="true"
    287     # On all but the oldest X servers we want to use our new mouse
    288     # driver.
    289     newmouse="--newMouse"
     287    # All but the oldest supported X servers can automatically set up the
     288    # keyboard driver.
     289    autokeyboard="--autoKeyboard"
    290290    # On more recent servers our kernel mouse driver will be used
    291291    # automatically
     
    410410            vboxmouse_src=vboxmouse_drv.o
    411411            automouse=""
     412            autokeyboard=""  # Actually not true for 6.8, but it doesn't matter.
    412413            ;;
    413414        * )
     
    459460                        generated="$generated  `printf "$i\n"`"
    460461                    else
    461                         "$lib_dir/x11config.sh" $newmouse $automouse $nopsaux "$i"
     462                        "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux "$i"
    462463                    fi
    463464                    configured="true"
     
    473474            if test -z "$configured"; then
    474475                touch "$main_cfg"
    475                 "$lib_dir/x11config.sh" $newmouse $automouse $nopsaux --noBak "$main_cfg"
     476                "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux --noBak "$main_cfg"
    476477                touch "$nobak"
    477478            fi
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette