From alainbe at free.fr Fri May 8 09:04:16 2020 From: alainbe at free.fr (Alain Bertrand) Date: Fri, 8 May 2020 11:04:16 +0200 Subject: [xmonad] Correct config file for xmonad 0.15 Message-ID: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> Hi, I have installed Lubuntu 20.04 on my laptop and xmonad doesn't redraw it background. That is if I am on workspace 1 , and switch to a workspace with no window, the background of the new workspace is made by the windows of workspace  1. I do have some warnings  in xmonad.errors but  don't feel they are the explanation of the problem I encounter. Would somebody have a workaround ? Not being able to use Xmonad would be hard to bear. Best regards, Alain -------------------------- xmonad.hs:25:42: warning: [-Wdeprecations]     In the use of ‘defaultConfig’     (imported from XMonad, but defined in XMonad.Config):     Deprecated: "Use def (from Data.Default, and re-exported by XMonad and XMonad.Config) instead."    | 25 |      layoutHook=avoidStruts $ layoutHook defaultConfig    |                                          ^^^^^^^^^^^^^ xmonad.hs:26:30: warning: [-Wdeprecations]     In the use of ‘defaultConfig’     (imported from XMonad, but defined in XMonad.Config):     Deprecated: "Use def (from Data.Default, and re-exported by XMonad and XMonad.Config) instead."    | 26 |      , manageHook=manageHook defaultConfig <+> manageDocks    |                              ^^^^^^^^^^^^^ xmonad.hs:43:46: warning: [-Wdeprecations]     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt):     Deprecated: "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead."    | 43 |              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)    |                                              ^^^^^^^^^^^^^^^ xmonad.hs:44:46: warning: [-Wdeprecations]     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt):     Deprecated: "Use def (from Data.Default, and re-exported from XMonad.Prompt) instead."    | 44 |              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)    |                                              ^^^^^^^^^^^^^^^ My config file is :  import XMonad  import XMonad.Hooks.SetWMName  import XMonad.Hooks.ManageDocks  import qualified Data.Map as M  import Graphics.X11.Xlib  import XMonad.Config.Azerty  import XMonad.Prompt  import XMonad.Prompt.Shell  import XMonad.Prompt.XMonad  import XMonad.Actions.SpawnOn  myStartUpHook :: X ()  myStartUpHook = do         spawnOn "panel" "xfce4-panel"         spawnOn "clavier" "/home/alain/bin/clavier_conf"         spawnOn "1" "/usr/bin/firefox"         spawnOn "1" "/usr/bin/thunderbird"         spawnOn "workspace7" "/usr/bin/transmission-gtk"         setWMName "LG3D"  main=do    xmonad  $ docks def      {      layoutHook=avoidStruts $ layoutHook defaultConfig      , manageHook=manageHook defaultConfig <+> manageDocks      , modMask = mod4Mask      , keys = myKeys <+> keys azertyConfig      , startupHook = myStartUpHook      }  myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)              ] From alainbe at free.fr Fri May 8 09:25:21 2020 From: alainbe at free.fr (Alain Bertrand) Date: Fri, 8 May 2020 11:25:21 +0200 Subject: [xmonad] No background drawing for 0.15 on lunbutu 20.04 (was Re: Correct config file for xmonad 0.15) In-Reply-To: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> References: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> Message-ID: <8f741384-50df-d172-9425-b089227a6960@free.fr> Sorry, first subject title was plainly wrong. Le 08/05/2020 à 11:04, Alain Bertrand a écrit : > Hi, > > I have installed Lubuntu 20.04 on my laptop and xmonad doesn't redraw > it background. That is if I am on workspace 1 , and switch to a > workspace with no window, the background of the new workspace is made > by the windows of workspace  1. > > I do have some warnings  in xmonad.errors but  don't feel they are the > explanation of the problem I encounter. > > Would somebody have a workaround ? Not being able to use Xmonad would > be hard to bear. > > Best regards, > > Alain > > -------------------------- > > xmonad.hs:25:42: warning: [-Wdeprecations] >     In the use of ‘defaultConfig’ >     (imported from XMonad, but defined in XMonad.Config): >     Deprecated: "Use def (from Data.Default, and re-exported by XMonad > and XMonad.Config) instead." >    | > 25 |      layoutHook=avoidStruts $ layoutHook defaultConfig >    |                                          ^^^^^^^^^^^^^ > > xmonad.hs:26:30: warning: [-Wdeprecations] >     In the use of ‘defaultConfig’ >     (imported from XMonad, but defined in XMonad.Config): >     Deprecated: "Use def (from Data.Default, and re-exported by XMonad > and XMonad.Config) instead." >    | > 26 |      , manageHook=manageHook defaultConfig <+> manageDocks >    |                              ^^^^^^^^^^^^^ > > xmonad.hs:43:46: warning: [-Wdeprecations] >     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): >     Deprecated: "Use def (from Data.Default, and re-exported from > XMonad.Prompt) instead." >    | > 43 |              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >    |                                              ^^^^^^^^^^^^^^^ > > xmonad.hs:44:46: warning: [-Wdeprecations] >     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): >     Deprecated: "Use def (from Data.Default, and re-exported from > XMonad.Prompt) instead." >    | > 44 |              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig) >    |                                              ^^^^^^^^^^^^^^^ > > > My config file is : > >  import XMonad >  import XMonad.Hooks.SetWMName >  import XMonad.Hooks.ManageDocks >  import qualified Data.Map as M >  import Graphics.X11.Xlib >  import XMonad.Config.Azerty >  import XMonad.Prompt >  import XMonad.Prompt.Shell >  import XMonad.Prompt.XMonad >  import XMonad.Actions.SpawnOn > >  myStartUpHook :: X () >  myStartUpHook = do >         spawnOn "panel" "xfce4-panel" >         spawnOn "clavier" "/home/alain/bin/clavier_conf" >         spawnOn "1" "/usr/bin/firefox" >         spawnOn "1" "/usr/bin/thunderbird" >         spawnOn "workspace7" "/usr/bin/transmission-gtk" >         setWMName "LG3D" > > >  main=do >    xmonad  $ docks def >      { >      layoutHook=avoidStruts $ layoutHook defaultConfig >      , manageHook=manageHook defaultConfig <+> manageDocks >      , modMask = mod4Mask >      , keys = myKeys <+> keys azertyConfig >      , startupHook = myStartUpHook >      } > > >  myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList >              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig) >              ] > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad From sylvain at haskus.fr Fri May 8 09:30:55 2020 From: sylvain at haskus.fr (Sylvain Henry) Date: Fri, 8 May 2020 11:30:55 +0200 Subject: [xmonad] No background drawing for 0.15 on lunbutu 20.04 (was Re: Correct config file for xmonad 0.15) In-Reply-To: <8f741384-50df-d172-9425-b089227a6960@free.fr> References: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> <8f741384-50df-d172-9425-b089227a6960@free.fr> Message-ID: Hi, Try to run: xsetroot -solid black I have had to add this in my .xinitrc to avoid this issue. Cheers, Sylvain ⁣ Le 8 mai 2020 à 11:25, à 11:25, Alain Bertrand a écrit: >Sorry, first subject title was plainly wrong. > >Le 08/05/2020 à 11:04, Alain Bertrand a écrit : >> Hi, >> >> I have installed Lubuntu 20.04 on my laptop and xmonad doesn't redraw > >> it background. That is if I am on workspace 1 , and switch to a >> workspace with no window, the background of the new workspace is made > >> by the windows of workspace  1. >> >> I do have some warnings  in xmonad.errors but  don't feel they are >the >> explanation of the problem I encounter. >> >> Would somebody have a workaround ? Not being able to use Xmonad would > >> be hard to bear. >> >> Best regards, >> >> Alain >> >> -------------------------- >> >> xmonad.hs:25:42: warning: [-Wdeprecations] >>     In the use of ‘defaultConfig’ >>     (imported from XMonad, but defined in XMonad.Config): >>     Deprecated: "Use def (from Data.Default, and re-exported by >XMonad >> and XMonad.Config) instead." >>    | >> 25 |      layoutHook=avoidStruts $ layoutHook defaultConfig >>    |                                          ^^^^^^^^^^^^^ >> >> xmonad.hs:26:30: warning: [-Wdeprecations] >>     In the use of ‘defaultConfig’ >>     (imported from XMonad, but defined in XMonad.Config): >>     Deprecated: "Use def (from Data.Default, and re-exported by >XMonad >> and XMonad.Config) instead." >>    | >> 26 |      , manageHook=manageHook defaultConfig <+> manageDocks >>    |                              ^^^^^^^^^^^^^ >> >> xmonad.hs:43:46: warning: [-Wdeprecations] >>     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): >>     Deprecated: "Use def (from Data.Default, and re-exported from >> XMonad.Prompt) instead." >>    | >> 43 |              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >>    |                                              ^^^^^^^^^^^^^^^ >> >> xmonad.hs:44:46: warning: [-Wdeprecations] >>     In the use of ‘defaultXPConfig’ (imported from XMonad.Prompt): >>     Deprecated: "Use def (from Data.Default, and re-exported from >> XMonad.Prompt) instead." >>    | >> 44 |              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig) >>    |                                              ^^^^^^^^^^^^^^^ >> >> >> My config file is : >> >>  import XMonad >>  import XMonad.Hooks.SetWMName >>  import XMonad.Hooks.ManageDocks >>  import qualified Data.Map as M >>  import Graphics.X11.Xlib >>  import XMonad.Config.Azerty >>  import XMonad.Prompt >>  import XMonad.Prompt.Shell >>  import XMonad.Prompt.XMonad >>  import XMonad.Actions.SpawnOn >> >>  myStartUpHook :: X () >>  myStartUpHook = do >>         spawnOn "panel" "xfce4-panel" >>         spawnOn "clavier" "/home/alain/bin/clavier_conf" >>         spawnOn "1" "/usr/bin/firefox" >>         spawnOn "1" "/usr/bin/thunderbird" >>         spawnOn "workspace7" "/usr/bin/transmission-gtk" >>         setWMName "LG3D" >> >> >>  main=do >>    xmonad  $ docks def >>      { >>      layoutHook=avoidStruts $ layoutHook defaultConfig >>      , manageHook=manageHook defaultConfig <+> manageDocks >>      , modMask = mod4Mask >>      , keys = myKeys <+> keys azertyConfig >>      , startupHook = myStartUpHook >>      } >> >> >>  myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList >>              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig) >>              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig) >>              ] >> >> _______________________________________________ >> xmonad mailing list >> xmonad at haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > > >_______________________________________________ >xmonad mailing list >xmonad at haskell.org >http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad -------------- next part -------------- An HTML attachment was scrubbed... URL: From alainbe at free.fr Sat May 9 07:04:29 2020 From: alainbe at free.fr (Alain Bertrand) Date: Sat, 9 May 2020 09:04:29 +0200 Subject: [xmonad] No background drawing for 0.15 on lunbutu 20.04 (was Re: Correct config file for xmonad 0.15) In-Reply-To: References: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> <8f741384-50df-d172-9425-b089227a6960@free.fr> Message-ID: <50c1c824-7164-c10e-9da7-582087430db5@free.fr> Le 08/05/2020 à 11:30, Sylvain Henry a écrit : > Hi, > > Try to run: xsetroot -solid black Hi, Thanks. It works now. Best regards, A.B. From allbery.b at gmail.com Sat May 9 11:34:56 2020 From: allbery.b at gmail.com (Brandon Allbery) Date: Sat, 9 May 2020 07:34:56 -0400 Subject: [xmonad] No background drawing for 0.15 on lunbutu 20.04 (was Re: Correct config file for xmonad 0.15) In-Reply-To: <50c1c824-7164-c10e-9da7-582087430db5@free.fr> References: <405c7eea-0d24-1ba6-a9f8-345937523e6f@free.fr> <8f741384-50df-d172-9425-b089227a6960@free.fr> <50c1c824-7164-c10e-9da7-582087430db5@free.fr> Message-ID: For what it's worth, X11 no longer sets a default background so things just linger on screen. There's an extension to set a black background. On Sat, May 9, 2020, 03:04 Alain Bertrand wrote: > Le 08/05/2020 à 11:30, Sylvain Henry a écrit : > > Hi, > > > > Try to run: xsetroot -solid black > > Hi, > > Thanks. It works now. > > Best regards, > > A.B. > > _______________________________________________ > xmonad mailing list > xmonad at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: