[xmonad] How to use PhysicalScreens?

Brandon Allbery allbery.b at gmail.com
Wed Aug 29 13:16:42 UTC 2018


W comes from "import qualified XMonad.StackSet as W" which needs to go up
with the other imports.

On Wed, Aug 29, 2018 at 3:02 AM Robert Sawko <robertsawko at gmail.com> wrote:

> Hi,
>
> I just got myself a second screen which I daisy-chained with the first
> one, but
> I am having issues with getting screens to be identified properly. I use
> xrandr
> to configure display. The screens are identified as:
>
> $ xrandr
>
> DP-1-1-8 connected 2560x1440+0+0 (normal left inverted right x axis y
> axis) 597mm x 336mm
>    2560x1440     59.95*+
>    ...
> DP-1-1-1-8 connected 2560x1440+2560+0 (normal left inverted right x axis y
> axis) 597mm x 336mm
>    2560x1440     59.95*+
>    ...
> DP-1-1-1-1 disconnected (normal left inverted right x axis y axis)
>
> And I set the screen with:
>
> xrandr \
>     --output DP-1-1-1-8 --mode 2560x1440 --right-of DP-1-1-8 \
>     --output DP-1-1-8 --mode 2560x1440 \
>     --output eDP-1-1 --off
>
> I am reading in here that using Actions.Physical screens involves
> importing and
> changing the mapping(?).
>
>
> https://hackage.haskell.org/package/xmonad-contrib-0.14/docs/XMonad-Actions-PhysicalScreens.html
>
> If I include only the import then nothing changes. The mappings don't
> compile
> for me. I am attaching the error below. Not sure, if I am doing something
> wrong
> or if the docs are incomplete. What is "W" meant to be?
>
> Best wishes,
> Robert
>
>
> Error detected while loading xmonad configuration file:
> /home/rsa/.xmonad/xmonad.hs
>
> xmonad.hs:171:49: error:
>     Not in scope: ‘W.view’
>     No module named ‘W’ is imported.
>     |
> 171 |         , ((modMask, xK_a), onPrevNeighbour def W.view)
>     |                                                 ^^^^^^
>
> xmonad.hs:172:49: error:
>     Not in scope: ‘W.view’
>     No module named ‘W’ is imported.
>     |
> 172 |         , ((modMask, xK_o), onNextNeighbour def W.view)
>     |                                                 ^^^^^^
>
> xmonad.hs:173:63: error:
>     Not in scope: ‘W.shift’
>     No module named ‘W’ is imported.
>     |
> 173 |         , ((modMask .|. shiftMask, xK_a), onPrevNeighbour def
> W.shift)
>     |                                                               ^^^^^^^
>
> xmonad.hs:174:63: error:
>     Not in scope: ‘W.shift’
>     No module named ‘W’ is imported.
>     |
> 174 |         , ((modMask .|. shiftMask, xK_o), onNextNeighbour def
> W.shift)
>     |                                                               ^^^^^^^
>
> --
> Blood moon rising!
> http://time.com/3479189/blood-moon/
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>


-- 
brandon s allbery kf8nh
allbery.b at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20180829/58398f2a/attachment.html>


More information about the xmonad mailing list