[xmonad] How to start xmonad with lxde?

Alain Bertrand alainbe at free.fr
Thu Dec 25 20:28:04 UTC 2014


Le 25/12/2014 17:26, Carsten Mattner a écrit :

  Hey, shellPrompt is one major reason I always come back to my XMonad 
environment after trying to use dmenu_run in some other non-XMonad 
environment.

-------------
Hello,
Thanks for your advice. I went to the xmonad wiki and modified my 
xmonad.hs accordingly.
As you said, shellPrompt is really great but the following xmonad.hs 
makes my French keyboard unusable.
Any advice ?
TIA

Alain
  import XMonad
  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
  main=do
    xmonad azertyConfig  { keys = myKeys <+> keys defaultConfig }
      {
      layoutHook=avoidStruts $ layoutHook defaultConfig
      , manageHook=manageHook defaultConfig <+> manageDocks
      }


  myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList
              [ ((modm, xK_F12), xmonadPrompt defaultXPConfig)
              , ((modm, xK_F3 ), shellPrompt  defaultXPConfig)
              ]


More information about the xmonad mailing list