VirtualBox

Opened 9 years ago

Last modified 8 years ago

#15112 new defect

Guest Additions autorun doesn't work with Mate Desktop (doesn't recognize mate-terminal)

Reported by: kuacceshi Owned by:
Component: guest additions Version: VirtualBox 5.0.14
Keywords: Cc:
Guest type: Linux Host type: all

Description

Please reference lines 44-63 of autorun.sh in VBoxGuestAdditions_5.0.14.iso ...

# Get the name and execute switch for a useful terminal emulator
#
# Sets $gxtpath to the emulator path or empty
# Sets $gxttitle to the "title" switch for that emulator
# Sets $gxtexec to the "execute" switch for that emulator
# May clobber $gtx*
# Calls mywhich
getxterm() {
    # gnome-terminal uses -e differently to other emulators
    for gxti in "konsole --title -e" "gnome-terminal --title -x" "xterm -T -e"; do
        set $gxti
        gxtpath="`mywhich $1`"
        case "$gxtpath" in ?*)
            gxttitle=$2
            gxtexec=$3
            return
            ;;
        esac
    done
}

Lines 52 and 53 should be changed to the following (adding mate-terminal):

    # gnome-terminal and mate-terminal use -e differently to other emulators
    for gxti in "konsole --title -e" "gnome-terminal --title -x" "mate-terminal --title -x" "xterm -T -e"; do

This allows autorun to function within the Mate Desktop environment.

Change History (4)

comment:1 by Frank Mehnert, 9 years ago

Makes sense. See r59583.

comment:2 by Michael Thayer, 9 years ago

Just a question - does this successfully fall back to xterm without the added Mate support?

comment:3 by Frank Mehnert, 9 years ago

Yes, it does.

comment:4 by kuacceshi, 8 years ago

This is fixed in current version. This bug can be marked resolved.

Note: See TracTickets for help on using tickets.

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