From steve at thestever.net Sat Oct 20 16:31:18 2018 From: steve at thestever.net (Steve Quezadas) Date: Sat, 20 Oct 2018 09:31:18 -0700 Subject: [xmonad] xmonad on ubuntu desktop environment Message-ID: Hello, I got a new computer and install ubuntu to 18.04 (Bionic Beaver). When i login through xmonad, my ubuntu desktop environment disappears, it's all black. No wallpaper, no tray, no nothing. My xmonad.hs file is as follows: > import XMonad > import XMonad.Config.Desktop > > baseConfig = desktopConfig > > main = xmonad baseConfig > { modMask = mod4Mask } This config file worked with my previous version of ubuntu and now just loads a black screen. I can get into my terminal window by doing a mod-shift-enter and that's how I get around, but I would like to get back into the ubuntu tray (mod-p, for instance). I tried an alternative configuration on one of the wiki's to no avail. > import XMonad import > XMonad.Config.Gnome > > main = xmonad gnomeConfig Tried googling, checking the wiki's and going through the documentation to no avail. I am thinking maybe there's some error on the logs or something that I can check. or is there something that I'm doing that is obviously wrong? - Steve From allbery.b at gmail.com Sat Oct 20 18:17:58 2018 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 20 Oct 2018 14:17:58 -0400 Subject: [xmonad] xmonad on ubuntu desktop environment In-Reply-To: References: Message-ID: This has less to do with xmonad than with your display manager session; an xmonad session will be xmonad itself, not all the stuff that comes with Gnome. And simply using a Gnome compatibility config won't cause Ubuntu login to start a Gnome session with xmonad for you. This is complicated by Gnome 3 being incompatible with alternative window managers; most of its functionality is in gnome-shell, including the window manager component, and you can't replace the window manager without ditching gnome-shell entirely. The Gnome developers have no intention of changing this. You may be able to run gnome-panel standalone without it trying to start gnome-shell, but you have to do that separately. It's easier to do this with more component-oriented desktops like MATE and XFCE. On Sat, Oct 20, 2018 at 12:31 PM Steve Quezadas wrote: > Hello, I got a new computer and install ubuntu to 18.04 (Bionic Beaver). > When i login through xmonad, my ubuntu desktop environment disappears, > it's all black. No wallpaper, no tray, no nothing. My xmonad.hs file is > as follows: > > import XMonad > > import XMonad.Config.Desktop > > > > baseConfig = desktopConfig > > > > main = xmonad baseConfig > > { modMask = mod4Mask } > > This config file worked with my previous version of ubuntu and now just > loads a black screen. I can get into my terminal window by doing a > mod-shift-enter and that's how I get around, but I would like to get > back into the ubuntu tray (mod-p, for instance). > > I tried an alternative configuration on one of the wiki's to no avail. > > import XMonad import > > XMonad.Config.Gnome > > > > main = xmonad gnomeConfig > > Tried googling, checking the wiki's and going through the documentation > to no avail. > > I am thinking maybe there's some error on the logs or something that I > can check. or is there something that I'm doing that is obviously wrong? > > - Steve > _______________________________________________ > 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: From asjo at koldfront.dk Sat Oct 20 18:34:41 2018 From: asjo at koldfront.dk (=?utf-8?Q?Adam_Sj=C3=B8gren?=) Date: Sat, 20 Oct 2018 20:34:41 +0200 Subject: [xmonad] xmonad on ubuntu desktop environment References: Message-ID: <87d0s48o1q.fsf@tullinup.koldfront.dk> Steve writes: > Hello, I got a new computer and install ubuntu to 18.04 (Bionic > Beaver). When i login through xmonad, my ubuntu desktop environment > disappears, it's all black. No wallpaper, no tray, no nothing. What happens if you choose the "GNOME Flashback (Xmonad)" session when logging in, instead of the "XMonad" session? The xmonad package in Ubuntu includes two xsessions, one with xmonad only and one with "GNOME Flashback" (which I guess means fallback) and xmonad: · https://packages.ubuntu.com/bionic/amd64/xmonad/filelist Best regards, Adam -- "Och när jag blundar hörs din röst Adam Sjøgren Jag kan inte se ditt ansikte asjo at koldfront.dk Det var det jag glömde först" From allbery.b at gmail.com Sat Oct 20 19:47:57 2018 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 20 Oct 2018 15:47:57 -0400 Subject: [xmonad] xmonad on ubuntu desktop environment In-Reply-To: <87d0s48o1q.fsf@tullinup.koldfront.dk> References: <87d0s48o1q.fsf@tullinup.koldfront.dk> Message-ID: "Flashback" is someone forking and maintaining the old "fallback" package, which was discontinued upstream after Gnome 3.6. It's actually Gnome 2 underneath; Gnome 3 has never supported alternative window managers directly, "gnome-fallback" instead forced a Gnome 3-like theme onto Gnome 2. On Sat, Oct 20, 2018 at 2:35 PM Adam Sjøgren wrote: > Steve writes: > > > Hello, I got a new computer and install ubuntu to 18.04 (Bionic > > Beaver). When i login through xmonad, my ubuntu desktop environment > > disappears, it's all black. No wallpaper, no tray, no nothing. > > What happens if you choose the "GNOME Flashback (Xmonad)" session when > logging in, instead of the "XMonad" session? > > The xmonad package in Ubuntu includes two xsessions, one with xmonad > only and one with "GNOME Flashback" (which I guess means fallback) and > xmonad: > > · https://packages.ubuntu.com/bionic/amd64/xmonad/filelist > > > Best regards, > > Adam > > -- > "Och när jag blundar hörs din röst Adam Sjøgren > Jag kan inte se ditt ansikte asjo at koldfront.dk > Det var det jag glömde först" > > _______________________________________________ > 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: From oneself at gmail.com Tue Oct 23 21:17:09 2018 From: oneself at gmail.com (Eyal Erez) Date: Tue, 23 Oct 2018 17:17:09 -0400 Subject: [xmonad] =?utf-8?q?Couldn=27t_match_type_=E2=80=98M=2EMap_=28KeyM?= =?utf-8?b?YXNrLCBLZXlTeW0pIChYICgpKeKAmSB3aXRoIOKAmGNvbnRhaW5lcnMt?= =?utf-8?b?MC41LjExLjA6RGF0YS5NYXAuSW50ZXJuYWwuTWFwIChCdXR0b25NYXNr?= =?utf-8?b?LCBLZXlTeW0pIChYICgpKeKAmQ==?= Message-ID: Hi, I've just recently upgraded my system and now I'm getting the following error: xmonad.hs:454:32: error: • Couldn't match type ‘M.Map (KeyMask, KeySym) (X ())’ with ‘containers-0.5.11.0:Data.Map.Internal.Map (ButtonMask, KeySym) (X ())’ NB: ‘containers-0.5.11.0:Data.Map.Internal.Map’ is defined in ‘Data.Map.Internal’ in package ‘containers-0.5.11.0’ ‘M.Map’ is defined in ‘Data.Map.Internal’ in package ‘containers-0.6.0.1’ Expected type: XConfig Layout -> containers-0.5.11.0:Data.Map.Internal.Map (ButtonMask, KeySym) (X ()) Actual type: XConfig Layout -> M.Map (KeyMask, KeySym) (X ()) • In the ‘keys’ field of a record In the expression: defaultConfig {modMask = mod1Mask, keys = myKeys, manageHook = manageDocks <+> composeAll myManageHook, startupHook = takeTopFocus >> setWMName "LG3D", layoutHook = myLayout, terminal = "rxvt-unicode -e $HOME/etc/tmux/init", workspaces = ["web", "emacs", "dev", ....], focusedBorderColor = myActiveBorderColor, normalBorderColor = myInactiveBorderColor, borderWidth = 3} In an equation for ‘myConfig’: myConfig = defaultConfig {modMask = mod1Mask, keys = myKeys, manageHook = manageDocks <+> composeAll myManageHook, startupHook = takeTopFocus >> setWMName "LG3D", layoutHook = myLayout, terminal = "rxvt-unicode -e $HOME/etc/tmux/init", workspaces = ["web", "emacs", ....], focusedBorderColor = myActiveBorderColor, normalBorderColor = myInactiveBorderColor, borderWidth = 3} | 454 | , keys = myKeys | ^^^^^^ My knowledge of Haskell is not good enough to figure this out. My xmonad.hs file is available here: https://pastebin.com/rBNUFf1k Thank you, -- *Eyal Erez <**oneself at gmail.com* *>* There are 10 types of people, those who know binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Tue Oct 23 21:22:18 2018 From: allbery.b at gmail.com (Brandon Allbery) Date: Tue, 23 Oct 2018 17:22:18 -0400 Subject: [xmonad] =?utf-8?q?Couldn=27t_match_type_=E2=80=98M=2EMap_=28KeyM?= =?utf-8?b?YXNrLCBLZXlTeW0pIChYICgpKeKAmSB3aXRoIOKAmGNvbnRhaW5lcnMt?= =?utf-8?b?MC41LjExLjA6RGF0YS5NYXAuSW50ZXJuYWwuTWFwIChCdXR0b25NYXNr?= =?utf-8?b?LCBLZXlTeW0pIChYICgpKeKAmQ==?= In-Reply-To: References: Message-ID: The key part is NB: ‘containers-0.5.11.0:Data.Map.Internal.Map’ is defined in ‘Data.Map.Internal’ in package ‘containers-0.5.11.0’ ‘M.Map’ is defined in ‘Data.Map.Internal’ in package ‘containers-0.6.0.1’ This suggests your xmonad and xmonad-contrib need to be rebuilt with the new version of containers. Alternately, you will need to use ghc's PackageImports extension to force your xmonad.hs to import Data.Map from containers-0.5.11.0. On Tue, Oct 23, 2018 at 5:18 PM Eyal Erez wrote: > Hi, > > I've just recently upgraded my system and now I'm getting the following > error: > xmonad.hs:454:32: error: > • Couldn't match type ‘M.Map (KeyMask, KeySym) (X ())’ > with ‘containers-0.5.11.0:Data.Map.Internal.Map > (ButtonMask, KeySym) (X ())’ > NB: ‘containers-0.5.11.0:Data.Map.Internal.Map’ > is defined in ‘Data.Map.Internal’ in package > ‘containers-0.5.11.0’ > ‘M.Map’ > is defined in ‘Data.Map.Internal’ in package > ‘containers-0.6.0.1’ > Expected type: XConfig Layout > -> containers-0.5.11.0:Data.Map.Internal.Map > (ButtonMask, KeySym) (X ()) > Actual type: XConfig Layout -> M.Map (KeyMask, KeySym) (X ()) > • In the ‘keys’ field of a record > In the expression: > defaultConfig > {modMask = mod1Mask, keys = myKeys, > manageHook = manageDocks <+> composeAll myManageHook, > startupHook = takeTopFocus >> setWMName "LG3D", > layoutHook = myLayout, > terminal = "rxvt-unicode -e $HOME/etc/tmux/init", > workspaces = ["web", "emacs", "dev", ....], > focusedBorderColor = myActiveBorderColor, > normalBorderColor = myInactiveBorderColor, borderWidth = 3} > In an equation for ‘myConfig’: > myConfig > = defaultConfig > {modMask = mod1Mask, keys = myKeys, > manageHook = manageDocks <+> composeAll myManageHook, > startupHook = takeTopFocus >> setWMName "LG3D", > layoutHook = myLayout, > terminal = "rxvt-unicode -e $HOME/etc/tmux/init", > workspaces = ["web", "emacs", ....], > focusedBorderColor = myActiveBorderColor, > normalBorderColor = myInactiveBorderColor, borderWidth = > 3} > | > 454 | , keys = myKeys > | ^^^^^^ > > My knowledge of Haskell is not good enough to figure this out. > > My xmonad.hs file is available here: https://pastebin.com/rBNUFf1k > > Thank you, > > -- > *Eyal Erez <**oneself at gmail.com* *>* > > There are 10 types of people, those who know binary and those who don't. > > _______________________________________________ > 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: From oneself at gmail.com Thu Oct 25 14:32:35 2018 From: oneself at gmail.com (Eyal Erez) Date: Thu, 25 Oct 2018 10:32:35 -0400 Subject: [xmonad] =?utf-8?q?Couldn=27t_match_type_=E2=80=98M=2EMap_=28KeyM?= =?utf-8?b?YXNrLCBLZXlTeW0pIChYICgpKeKAmSB3aXRoIOKAmGNvbnRhaW5lcnMt?= =?utf-8?b?MC41LjExLjA6RGF0YS5NYXAuSW50ZXJuYWwuTWFwIChCdXR0b25NYXNr?= =?utf-8?b?LCBLZXlTeW0pIChYICgpKeKAmQ==?= In-Reply-To: References: Message-ID: Thank you. Reinstalling solved the problem. Eyal Erez There are 10 types of people, those who know binary and those who don't. On Tue, Oct 23, 2018, 17:22 Brandon Allbery wrote: > The key part is > > NB: ‘containers-0.5.11.0:Data.Map.Internal.Map’ > is defined in ‘Data.Map.Internal’ in package > ‘containers-0.5.11.0’ > ‘M.Map’ > is defined in ‘Data.Map.Internal’ in package > ‘containers-0.6.0.1’ > > This suggests your xmonad and xmonad-contrib need to be rebuilt with the > new version of containers. Alternately, you will need to use ghc's > PackageImports extension to force your xmonad.hs to import Data.Map from > containers-0.5.11.0. > > On Tue, Oct 23, 2018 at 5:18 PM Eyal Erez wrote: > >> Hi, >> >> I've just recently upgraded my system and now I'm getting the following >> error: >> xmonad.hs:454:32: error: >> • Couldn't match type ‘M.Map (KeyMask, KeySym) (X ())’ >> with ‘containers-0.5.11.0:Data.Map.Internal.Map >> (ButtonMask, KeySym) (X ())’ >> NB: ‘containers-0.5.11.0:Data.Map.Internal.Map’ >> is defined in ‘Data.Map.Internal’ in package >> ‘containers-0.5.11.0’ >> ‘M.Map’ >> is defined in ‘Data.Map.Internal’ in package >> ‘containers-0.6.0.1’ >> Expected type: XConfig Layout >> -> containers-0.5.11.0:Data.Map.Internal.Map >> (ButtonMask, KeySym) (X ()) >> Actual type: XConfig Layout -> M.Map (KeyMask, KeySym) (X ()) >> • In the ‘keys’ field of a record >> In the expression: >> defaultConfig >> {modMask = mod1Mask, keys = myKeys, >> manageHook = manageDocks <+> composeAll myManageHook, >> startupHook = takeTopFocus >> setWMName "LG3D", >> layoutHook = myLayout, >> terminal = "rxvt-unicode -e $HOME/etc/tmux/init", >> workspaces = ["web", "emacs", "dev", ....], >> focusedBorderColor = myActiveBorderColor, >> normalBorderColor = myInactiveBorderColor, borderWidth = 3} >> In an equation for ‘myConfig’: >> myConfig >> = defaultConfig >> {modMask = mod1Mask, keys = myKeys, >> manageHook = manageDocks <+> composeAll myManageHook, >> startupHook = takeTopFocus >> setWMName "LG3D", >> layoutHook = myLayout, >> terminal = "rxvt-unicode -e $HOME/etc/tmux/init", >> workspaces = ["web", "emacs", ....], >> focusedBorderColor = myActiveBorderColor, >> normalBorderColor = myInactiveBorderColor, borderWidth = >> 3} >> | >> 454 | , keys = myKeys >> | ^^^^^^ >> >> My knowledge of Haskell is not good enough to figure this out. >> >> My xmonad.hs file is available here: https://pastebin.com/rBNUFf1k >> >> Thank you, >> >> -- >> *Eyal Erez <**oneself at gmail.com* *>* >> >> There are 10 types of people, those who know binary and those who don't. >> >> _______________________________________________ >> 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: