GithubHelp home page GithubHelp logo

Extend to left doesn't work about mons HOT 9 CLOSED

ventto avatar ventto commented on July 30, 2024
Extend to left doesn't work

from mons.

Comments (9)

jarbowski avatar jarbowski commented on July 30, 2024

oh, I use mons 0.8.1 on a Void Linux box

from mons.

Ventto avatar Ventto commented on July 30, 2024

Hi @jarbowski,
Thanks for your feedback.

Setting:

  • VGA1 (primary)
  • HDMI1

Using -e option:

t=0:        [ HDMI ] -  [ VGA ]
----
-e rigtht:  [ VGA ]  -  [ HDMI ]     (correct)
-e left:    [ VGA ]  -  [ HDMI ]     (incorrect)

Correct ?

from mons.

jarbowski avatar jarbowski commented on July 30, 2024

Hi,
I have this:

Monitors: 2
Mode: extend
1:   HDMI1    (enabled)
2:*  VGA1     (enabled)

I don't have (ok) nor (failed) message but basically:
mons -e right: it works but as my second monitor is on my left, it appears on my left and works as if it were on my right
mons -e left: my primary screen toggles to the HDMI1(left) monitor and extends to VGA1 (right)
But mons still shows:

Monitors: 2
Mode: extend
1:   HDMI1    (enabled)
2:*  VGA1     (enabled)

I wrote almost the same thing but yes, it's correct

from mons.

Ventto avatar Ventto commented on July 30, 2024

There is no 'ok' or 'failed' message.
I've written it as reference to differentiate expected view from your unexpected one.
Indeed, it is not really clear regarding the context (last comment's been edited).

Currently, mons output doesn't print monitor locations.
Regarding your last comment, your output is totally normal.

So, finally you've got a second monitor physically on your left and you wish the -e left option to extend your VGA1 primary monitor on the left. But it appears that -e left has a unexpected behaviour.

from mons.

Ventto avatar Ventto commented on July 30, 2024

Please, share the xrandr command output before and then after running mons -e left.

from mons.

jarbowski avatar jarbowski commented on July 30, 2024

Before mons -o:

Screen 0: minimum 8 x 8, current 1440 x 900, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected (normal left inverted right x axis y axis)
   1366x768      59.79 +
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VGA1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 410mm x 260mm
   1440x900      59.89*+  74.98  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

After mons -e left:

Screen 0: minimum 8 x 8, current 2806 x 900, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
   1366x768      59.79*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VGA1 connected primary 1440x900+1366+0 (normal left inverted right x axis y axis) 410mm x 260mm
   1440x900      59.89*+  74.98  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

from mons.

Ventto avatar Ventto commented on July 30, 2024

ok,
before (mons -o):

You mean mons -e left ?

Please @jarbowski, use markdown to emphasis your command lines and outputs.
That helps people to read.

EDIT: I've added markdown syntax to your post above and deleted your following post which was a duplicata.

from mons.

Ventto avatar Ventto commented on July 30, 2024

If I summarize the output, I get this:

  • before mons -e left:
Screen 0: current 1440 x 900
HDMI1 connected (normal left inverted right x axis y axis)
   1366x768      59.79 + 
VGA1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 
   1440x900      59.89*+  74.98  
  • after mons -e left:
Screen 0: current 2806 x 900
HDMI1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 
   1366x768      59.79*+
VGA1 connected primary 1440x900+1366+0 (normal left inverted right x axis y axis) 
   1440x900      59.89*+  74.98  

Translating in a schema:

t=0:        [ HDMI1 ] -  ( VGA1 )
-e rigtht:               ( VGA1 )  -  [ HDMI1 ]  
-e left:    [ HDMI1 ] -  ( VGA1 )

Regarding xrandr output, coordinates are correct:

  • HDMI1: ( x=0 ; y=0 )
  • VGA1: ( y=1366 ; y=0 )

VGA1 as primary monitor, HDMI1 will be placed on the left or on the right according to the -e option.

So visibly, mons -e left does its job.

Extend to right works but I extend to left, mons behaves like HDMI1 would be set as primary and VGA1 extended on the right.
mons still shows that VGA1 is set as primary.

mons isn't meant to set the primary monitor as moving the second one left.

from mons.

jarbowski avatar jarbowski commented on July 30, 2024

sorry, it's a xfce issue:

https://unix.stackexchange.com/questions/290346/xfce4-display-settings-why-is-there-no-extend-to-the-left/350670#350670

I'll have to get back to a custom openbox setup...
anyway, thanks for this piece of code

from mons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.