Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a brand new ASUS N76 with newly installed 12.10. HDMI port is not recognized by Ubuntu while working perfectly well with Windows 8. xrandr does not even show as known connector :

Output of xrandr:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080      60.0*+   59.9     40.0  
VGA1 disconnected (normal left inverted right x axis y axis)

Any help is welcome.

share|improve this question
Are you using native binary drivers or the open source ones included in Ubuntu? – jap1968 Jan 19 '13 at 13:46
i have installed Bumblebee because of optimus features of nvidia GT650M on board. Everything else should be native. – Philou Jan 19 '13 at 14:34
not much help there ... – Philou Jan 20 '13 at 17:33
hummm .. Allo !?? ... – Philou Jan 21 '13 at 22:57
nobody there ? huh ? – Philou Jan 30 '13 at 20:55

Asus N76 has connected HDMI via nVidia graphic chip. See bumblebee multi-monitor setup:

After you configure bumblebee (change bumblebee nvidia xorg.conf conf file and restart), you can run application on HDMI screen using:

export DISPLAY=:8 LD_LIBRARY_PATH=/usr/lib/nvidia-current:$LD_LIBRARY_PATH 
optirun some-command

I'm using this command to run another gnome sesstion:

optirun gnome-session --session=gnome-classic

You can also manage inputs using xinput comand. Connect external keyboard after an HDMI screen active and use commands

export DISPLAY=:0  // for internal display
export export DISPLAY=:8 LD_LIBRARY_PATH=/usr/lib/nvidia-current:$LD_LIBRARY_PATH // for HDMI

xinput // find your device and it id, you can use xinput | grep "part of name"
xinput list-props <device id> | grep "Device Enabled"   // find enabled property state and (property id).
xinput set-prop <device id> <property id> <value> // to set value

This is my script which enable Lenovo devices on HDMI screen, if exists:


# switch to main display to make sure, that Xserver is running and xinput will provide list of devices.
export DISPLAY=:0

# find list of devices to work with. See `xintput` command output
DEVICES="`xinput | grep "Lenovo Multimedia Remote with Keyboard N5902" | sed -e 's/.*id=\([0-9]*\).*/\1/'`"

# switch to nVidia Xserver at DISPLAY 8
export DISPLAY=:8 LD_LIBRARY_PATH=/usr/lib/nvidia-current:$LD_LIBRARY_PATH

# Test xinput command. If it fail, enable DEVICES at main Xserver.
# Otherwise enable DEVICES at Xserver running on DISPLAY 8
if [ $? != 0 ]; then
    echo "HDMI Xserver is not running."

} else {
    echo "HDMI Xserver is running."

    for DEV in $DEVICES
        PROP=`xinput list-props $DEV | grep "Device Enabled" | sed -e 's/.*(\([0-9]*\).*/\1/'`
        echo "$DEV - $PROP"
        xinput set-prop $DEV $PROP 1
        xinput list-props $DEV | grep "Device Enabled"
} fi

# switch back to DISPLAY 0 and update DEVICES status according to MAIN_STATUS.
export DISPLAY=:0

    PROP=`xinput list-props $DEV | grep "Device Enabled" | sed -e 's/.*(\([0-9]*\).*/\1/'`
    xinput set-prop $DEV $PROP $MAIN_STATUS
    xinput list-props $DEV | grep "Device Enabled"

Here is another approach which use synergy server/client for key/mouse switchting. But it's too slow for gaming.

Good luck.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.