Re: How to refresh the list of outputs detected by xrandr?
Dnia czwartek, 19 listopada 2015 15:46:33 Łukasz Maśko pisze: > Dnia czwartek, 19 listopada 2015 14:01:26 Chris Wilson pisze: > [...] > > > > Is there a way to generate such notification using currently available > > > software tools, or am I limited to fix in the kernel to make it notify > > > dock change? > > > > Hmm, can't see a way to synthesize uevents. But still calling xrandr > > should be enough to do a forced reprobe of outputs. Without a hotplug > > event, there is a small 15s cache of the most recent probe. > > As far as I've noticed - it does not. But maybe I should wait a bit longer. > I'll check it as soon as possible. Unfortunately, in my case xrandr does not refresh its state. I left my laptop connected for more than a minute, but it was still reporting "home settings", not the ones, it really should see at work. I had to un-dock it and re-dock it while it was on, then xrandr started reporting proper outputs and modes. So I need a way to generate undock/dock event by software. -- Łukasz Maśko_o) Lukasz.Masko(at)ipipan.waw.pl /\\ Registered Linux User #61028 _\_V Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana" ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
On Freitag, 20. November 2015 03:21:56 CEST, Hacksign wrote: So anybody tell me how can I configure my Xorg in order to get effect of kali linux (2560x1440 with 96x97 dpi, but cursor & fonts are bigger)? For fonts you can override the xft.dpi or fonconfig setting, some DE's provide a GUI for that. The cursor will likely just load a theme with increased size. Again, the DE will likely allow you to configure that, you basically alter ~/.icons/default/index.theme to include the desired one. Cheers, Thomas ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
Hi there, Recently I happened to boot my laptop with kali live iso,and I found there is something I cant understand about resolution & dpi stuffs. Check this image below: http://www.hacksign.cn/.png This screenshot is taken on same laptop with same resolution but with different dpi. And both Linux distrobition use Xorg to manage UI stuffs. On kali linux (black cursor with 96x96 dpi),fonts and mouse cursor is bigger than a high dpi setting environment(white cursor with 120x120 dpi). Both cursor is 48x48 px. So anybody tell me how can I configure my Xorg in order to get effect of kali linux (2560x1440 with 96x97 dpi, but cursor & fonts are bigger)? ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
emm sorry about the title. I forgot to change it as I do a' reply to list' operation ;( Just read the history email ~~ thanks ~ On 11/19/2015 09:27 PM, Chris Wilson wrote: On Thu, Nov 19, 2015 at 02:19:25PM +0100, Łukasz Maśko wrote: Hello. I have a Dell E7250 laptop. I'm using it with docking stations with external monitors connected. I have one dock at home and another one at work. The monitors connected to them differ, both in models and connectors (and therefore are recognized as different xrandr outputs). At home it looks like this: $ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm 1920x1080 60.02*+ 48.03 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.3256.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 disconnected (normal left inverted right x axis y axis) DP1-2 disconnected (normal left inverted right x axis y axis) DP1-3 connected (normal left inverted right x axis y axis) 1440x900 59.89 + 1280x1024 75.0260.02 1280x960 60.00 1152x864 75.00 1152x720 59.97 1024x768 75.0860.00 832x624 74.55 800x600 75.0060.3256.25 848x480 60.00 640x480 75.0060.0059.94 720x400 70.08 DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) while at work like this: $ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm 1920x1080 60.02*+ 48.03 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.3256.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 50.0059.94 1600x1200 60.00 1680x1050 59.88 1280x1024 60.02 1440x900 59.90 1280x960 60.00 1280x800 59.91 1280x720 60.0050.0059.94 1024x768 60.00 800x600 60.3256.25 720x576 50.00 720x480 60.0059.94 640x480 60.0059.94 DP1-2 disconnected (normal left inverted right x axis y axis) DP1-3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) The problem is, that if I suspend my laptop while it is connected to one of the docking stations, it remembers the layout of available monitors and when I dock it onto the other station and resume, it still shows me the old list of outputs and modes. I need to undock it while running and dock it again to make it notify the change in outputs. Is there a software way to force xrandr to refresh its state and notify the change in connected devices? The kernel is supposed to send a hotplug notification on resume that should result in the list being updated. -Chris ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
How to refresh the list of outputs detected by xrandr?
Hello. I have a Dell E7250 laptop. I'm using it with docking stations with external monitors connected. I have one dock at home and another one at work. The monitors connected to them differ, both in models and connectors (and therefore are recognized as different xrandr outputs). At home it looks like this: $ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm 1920x1080 60.02*+ 48.03 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.3256.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 disconnected (normal left inverted right x axis y axis) DP1-2 disconnected (normal left inverted right x axis y axis) DP1-3 connected (normal left inverted right x axis y axis) 1440x900 59.89 + 1280x1024 75.0260.02 1280x960 60.00 1152x864 75.00 1152x720 59.97 1024x768 75.0860.00 832x624 74.55 800x600 75.0060.3256.25 848x480 60.00 640x480 75.0060.0059.94 720x400 70.08 DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) while at work like this: $ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm 1920x1080 60.02*+ 48.03 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.3256.25 640x480 59.94 DP1 disconnected (normal left inverted right x axis y axis) DP1-1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 50.0059.94 1600x1200 60.00 1680x1050 59.88 1280x1024 60.02 1440x900 59.90 1280x960 60.00 1280x800 59.91 1280x720 60.0050.0059.94 1024x768 60.00 800x600 60.3256.25 720x576 50.00 720x480 60.0059.94 640x480 60.0059.94 DP1-2 disconnected (normal left inverted right x axis y axis) DP1-3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) The problem is, that if I suspend my laptop while it is connected to one of the docking stations, it remembers the layout of available monitors and when I dock it onto the other station and resume, it still shows me the old list of outputs and modes. I need to undock it while running and dock it again to make it notify the change in outputs. Is there a software way to force xrandr to refresh its state and notify the change in connected devices? I'm using PLD linux with kernel 4.2.6, xserver 1.17.4, xrandr 1.4.3. Thanks. -- Łukasz Maśko_o) Lukasz.Masko(at)ipipan.waw.pl /\\ Registered Linux User #61028 _\_V Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana" ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
On Thu, Nov 19, 2015 at 02:19:25PM +0100, Łukasz Maśko wrote: > Hello. > I have a Dell E7250 laptop. I'm using it with docking stations with external > monitors connected. I have one dock at home and another one at work. The > monitors connected to them differ, both in models and connectors (and > therefore are recognized as different xrandr outputs). > > At home it looks like this: > $ xrandr > Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 > eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y > axis) 276mm x 156mm >1920x1080 60.02*+ 48.03 >1400x1050 59.98 >1280x1024 60.02 >1280x960 60.00 >1024x768 60.00 >800x600 60.3256.25 >640x480 59.94 > DP1 disconnected (normal left inverted right x axis y axis) > DP1-1 disconnected (normal left inverted right x axis y axis) > DP1-2 disconnected (normal left inverted right x axis y axis) > DP1-3 connected (normal left inverted right x axis y axis) >1440x900 59.89 + >1280x1024 75.0260.02 >1280x960 60.00 >1152x864 75.00 >1152x720 59.97 >1024x768 75.0860.00 >832x624 74.55 >800x600 75.0060.3256.25 >848x480 60.00 >640x480 75.0060.0059.94 >720x400 70.08 > DP2 disconnected (normal left inverted right x axis y axis) > HDMI1 disconnected (normal left inverted right x axis y axis) > HDMI2 disconnected (normal left inverted right x axis y axis) > VIRTUAL1 disconnected (normal left inverted right x axis y axis) > > while at work like this: > $ xrandr > Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 > eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y > axis) 276mm x 156mm >1920x1080 60.02*+ 48.03 >1400x1050 59.98 >1280x1024 60.02 >1280x960 60.00 >1024x768 60.00 >800x600 60.3256.25 >640x480 59.94 > DP1 disconnected (normal left inverted right x axis y axis) > DP1-1 connected (normal left inverted right x axis y axis) >1920x1080 60.00 + 50.0059.94 >1600x1200 60.00 >1680x1050 59.88 >1280x1024 60.02 >1440x900 59.90 >1280x960 60.00 >1280x800 59.91 >1280x720 60.0050.0059.94 >1024x768 60.00 >800x600 60.3256.25 >720x576 50.00 >720x480 60.0059.94 >640x480 60.0059.94 > DP1-2 disconnected (normal left inverted right x axis y axis) > DP1-3 disconnected (normal left inverted right x axis y axis) > DP2 disconnected (normal left inverted right x axis y axis) > HDMI1 disconnected (normal left inverted right x axis y axis) > HDMI2 disconnected (normal left inverted right x axis y axis) > VIRTUAL1 disconnected (normal left inverted right x axis y axis) > > > The problem is, that if I suspend my laptop while it is connected to one of > the docking stations, it remembers the layout of available monitors and when > I > dock it onto the other station and resume, it still shows me the old list of > outputs and modes. I need to undock it while running and dock it again to > make > it notify the change in outputs. > > Is there a software way to force xrandr to refresh its state and notify the > change in connected devices? The kernel is supposed to send a hotplug notification on resume that should result in the list being updated. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
Dnia czwartek, 19 listopada 2015 14:01:26 Chris Wilson pisze: [...] > > Is there a way to generate such notification using currently available > > software tools, or am I limited to fix in the kernel to make it notify > > dock change? > > Hmm, can't see a way to synthesize uevents. But still calling xrandr > should be enough to do a forced reprobe of outputs. Without a hotplug > event, there is a small 15s cache of the most recent probe. As far as I've noticed - it does not. But maybe I should wait a bit longer. I'll check it as soon as possible. -- Łukasz Maśko_o) Lukasz.Masko(at)ipipan.waw.pl /\\ Registered Linux User #61028 _\_V Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana" ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
On Thu, Nov 19, 2015 at 02:39:21PM +0100, Łukasz Maśko wrote: > Dnia czwartek, 19 listopada 2015 13:27:37 Chris Wilson pisze: > [...] > > The kernel is supposed to send a hotplug notification on resume that > > should result in the list being updated. > > If I get you right, the kernel does not notify the change of a dock and > therefore does not notify X about the change? The usual report is "suspend, dock/undock, resume". Changing the dock should generate the usual hardware hotplug notifications. If the machine was suspended at the time, we have to fake the hotplug event on resume. > Is there a way to generate such notification using currently available > software tools, or am I limited to fix in the kernel to make it notify dock > change? Hmm, can't see a way to synthesize uevents. But still calling xrandr should be enough to do a forced reprobe of outputs. Without a hotplug event, there is a small 15s cache of the most recent probe. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
Re: How to refresh the list of outputs detected by xrandr?
Dnia czwartek, 19 listopada 2015 13:27:37 Chris Wilson pisze: [...] > The kernel is supposed to send a hotplug notification on resume that > should result in the list being updated. If I get you right, the kernel does not notify the change of a dock and therefore does not notify X about the change? Is there a way to generate such notification using currently available software tools, or am I limited to fix in the kernel to make it notify dock change? -- Łukasz Maśko_o) Lukasz.Masko(at)ipipan.waw.pl /\\ Registered Linux User #61028 _\_V Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana" ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s