<div dir="ltr">W comes from "import qualified XMonad.StackSet as W" which needs to go up with the other imports.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 3:02 AM Robert Sawko <<a href="mailto:robertsawko@gmail.com">robertsawko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just got myself a second screen which I daisy-chained with the first one, but<br>
I am having issues with getting screens to be identified properly. I use xrandr<br>
to configure display. The screens are identified as:<br>
<br>
$ xrandr<br>
<br>
DP-1-1-8 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm<br>
2560x1440 59.95*+<br>
...<br>
DP-1-1-1-8 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm<br>
2560x1440 59.95*+<br>
...<br>
DP-1-1-1-1 disconnected (normal left inverted right x axis y axis)<br>
<br>
And I set the screen with:<br>
<br>
xrandr \<br>
--output DP-1-1-1-8 --mode 2560x1440 --right-of DP-1-1-8 \<br>
--output DP-1-1-8 --mode 2560x1440 \<br>
--output eDP-1-1 --off<br>
<br>
I am reading in here that using Actions.Physical screens involves importing and<br>
changing the mapping(?).<br>
<br>
<a href="https://hackage.haskell.org/package/xmonad-contrib-0.14/docs/XMonad-Actions-PhysicalScreens.html" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/xmonad-contrib-0.14/docs/XMonad-Actions-PhysicalScreens.html</a><br>
<br>
If I include only the import then nothing changes. The mappings don't compile<br>
for me. I am attaching the error below. Not sure, if I am doing something wrong<br>
or if the docs are incomplete. What is "W" meant to be?<br>
<br>
Best wishes,<br>
Robert<br>
<br>
<br>
Error detected while loading xmonad configuration file: /home/rsa/.xmonad/xmonad.hs<br>
<br>
xmonad.hs:171:49: error:<br>
Not in scope: ‘W.view’<br>
No module named ‘W’ is imported.<br>
|<br>
171 | , ((modMask, xK_a), onPrevNeighbour def W.view)<br>
| ^^^^^^<br>
<br>
xmonad.hs:172:49: error:<br>
Not in scope: ‘W.view’<br>
No module named ‘W’ is imported.<br>
|<br>
172 | , ((modMask, xK_o), onNextNeighbour def W.view)<br>
| ^^^^^^<br>
<br>
xmonad.hs:173:63: error:<br>
Not in scope: ‘W.shift’<br>
No module named ‘W’ is imported.<br>
|<br>
173 | , ((modMask .|. shiftMask, xK_a), onPrevNeighbour def W.shift)<br>
| ^^^^^^^<br>
<br>
xmonad.hs:174:63: error:<br>
Not in scope: ‘W.shift’<br>
No module named ‘W’ is imported.<br>
|<br>
174 | , ((modMask .|. shiftMask, xK_o), onNextNeighbour def W.shift)<br>
| ^^^^^^^<br>
<br>
-- <br>
Blood moon rising!<br>
<a href="http://time.com/3479189/blood-moon/" rel="noreferrer" target="_blank">http://time.com/3479189/blood-moon/</a><br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>