I'm designing a GUI tool for using dual monitors in a JWM environment, which I'll include in a future release. Arandr and Lxrandr are good tools, but they require users to perform some manual operations. This requires further research for those unfamiliar with them. Furthermore, they aren't designed for JWM, meaning dual monitors in a JWM session will be inconsistent. For example, when dual monitors are active, one monitor might have a panel while the other doesn't. To simplify things and improve dual monitor usage, I'm developing a GUI tool, as mentioned earlier. Until then, I'll try to help those who want to use dual monitors with commands here. The operations I'll describe here are valid for Besgnulinux JWM sessions.
Let's begin if you want to use dual monitors in a Besgnulinux JWM environment.
I will explain it using HDMI-1 and VGA-1; you should replace these with your own monitors. To find your monitor connections and with two monitors connected, first enter the following command into the terminal.
This is the output I get from this command; it might be different for you.
VGA-1
HDMI-1
We get the resolution with the command below.
This is the output I got; yours might be different.
1440x900_60.00
Now we will place the outputs we obtained from these two commands into the command below.
In this configuration, HDMI-1 is the first monitor, VGA-1 is the second monitor, and VGA-1 is on the right.
If you want to do the opposite, i.e., make HDMI-1 the second one, the command should be as follows.
If you want to move it from the right to the left, simply change the word "right" to "left".
If you understand the dual monitor operation so far, let's now integrate it with Besgnulinux JWM. To do this, simply execute the command below. Enter the entire command into the terminal at once.