When connecting my Laptop (HP 6910p) to an external monitor, the monitor says “no signal”, but indicates correct electrical connection. This makes me conclude that the VGA port is not outputting anything.
Trying to activate it using “Fn”+“F4” (XF86Display) brings nothing. Looking at the shortcut keys mapping shows that XF86Display is not mapped.
OK. That can be fixed, but I’ve no idea how to map it.
Second issue: is the VGA port even active? I’ve no idea, and no clue on how to make it active.
Here’s the relevant section output of my “sudo lshw” command:
While probably not relevant to this particular issue, this is not actually irrelevant. The Lubuntu Team stopped supporting it a while ago and you only have month’s of support from the Ubuntu community. So you better start paying attention to the lyrics of said song now if you don’t want to hear a lot of it real soon.
They made switch to qt and also kwin could be used, which is wide supported. If instead used old version before switch to lxqt(need upgrade probably to 24.04 due 22.04 not so lubuntu stable for lxqt, but 24.04 could have additional issues…), so if there is upgrade to some lxqt(maybe with kwin under hood, but that is also an option), some control settings could be used for output.
If still on lxde on 20.04, then maybe some xorg settings has to be set(with control centre or probably also with xrandr), but also maybe some driver need to be used for old Intels, like crocus driver which is setup in dri settings for intel instead of old mesa version before switch to crocus by default in 22.04 or 24.04(maybe default in mesa, don’t know, then still intel will be used). Crocus is switch for mesa for old intel drivers and it is default development since then for this drivers.
Thanks for your reply.
20.04 is lxqt, no issue there. I don’t expect need for an extra driver, both the built-in screen and the VGA output use the same chipset.
Also, I don’t see this as an lxqt problem, this is more basic and in the kernel, which is still supported.
I attach the xrandr output.
macro@1dk6910p:~$ sudo xrandr
[sudo] password for macro:
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS-1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1280x800 60.00*+ 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)
SVIDEO-1 disconnected (normal left inverted right x axis y axis)
macro@1dk6910p:~$
Usually the experience I’ve had with similar issue, is that there is a keystroke sequence to enable external monitors. I’ve seen this in Dell’s, IBM’s, Hp’s, etc some not all.
Those that require /utilize a keystroke will have a small monitor icon on the top row of keys, which mean the Fn button plus button identified that cycles the output usually internal 1 push, external 2nd push, internal and external on the third push. then cycles back.
Then in some models a quick Bios setting is required to allow the key stroke. (rarely in my experience, but can’t be ruled out)
and yes this ties in with @wxl statement above if the hardware /systemboard shunt’s the circuit you won’t see it.
This is exactly the behaviour I expect. The key is “Fn”+“F4” and returns “XF86Display”.
The problem is, I’ve no idea which command it needs to execute. THAT is my question.
Update:
after searching around, I was able to concoct a script that toggles the VGA output:
#!/bin/bash
extern=VGA-1
if xrandr | grep “$extern connected (”; then
xrandr --output “$extern” --auto
else
xrandr --output “$extern” --off
fi
Works perfectly, is placed in /usr/bin and is executed from “Fn+F4”. Oddly, it changes the Lubuntu desktop appearance, but all other windows on the laptop display are unaffected.
Oh, well.
With the script above, the toggle on/off of the VGA port works perfectly.
The local screen stays at 1280 x 800 and the external screen is at 1920 x 1080.
All active windows/programs look the same on both screens. Perfect.
But when enabling the external VGA screen, the desktop (on both screens) is rearranged, the icons are moved to the left and are larger. Very odd.
If I turn off the VGA output (Fn+F4 again), the desktop on the laptop returns to its normal look.
No idea of the cause, but no big deal. Important is that my applications look OK when doing presentations on a projector.
Ok, so the auto switch does one of two things according to the manual:
For connected (I take this to mean “plugged in”) but disabled (this is more what you were trying to figure out above) outputs: enable using preferred mode
For disconnected but enabled outputs: disable them
There’s a preferred switch that that does the same thing, but doesn’t enable or disable. Maybe switch auto with with preferred?