file xmonad.hs:
[abbey@a3che ~]$ cat .xmonad/xmonad.hs 
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
myManageHook = composeAll
    [ className =? "Gimp"      --> doFloat
    , className =? "Vncviewer" --> doFloat
main = do
    xmproc <- spawnPipe "/path/to/xmobarbinary /home/jgoerzen/.xmobarrc"
    xmonad $ defaultConfig
        { manageHook = manageDocks <+> myManageHook -- make sure to 
include myManageHook definition from above
                        <+> manageHook defaultConfig
        , layoutHook = avoidStruts  $  layoutHook defaultConfig
        , logHook = dynamicLogWithPP xmobarPP
                        { ppOutput = hPutStrLn xmproc
                        , ppTitle = xmobarColor "green" "" . shorten 50
        , modMask = mod4Mask     -- Rebind Mod to the Windows key
        } `additionalKeys`
        [ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command 
        , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
        , ((0, xK_Print), spawn "scrot")

[abbey@a3che ~]$ xmonad --recompile
Error detected while loading xmonad configuration file: 

    lexical error in string/character literal at character '\n'

Please check the file for errors.

xmonad: xmessage: executeFile: does not exist (No such file or directory)

Tim hoai ma khong thay '\n' o cho nao? Fix loi nay ra sao? Thk.

Quy tắc ứng xử:
Địa chỉ nhóm thư:
You received this message because you are subscribed to the Google Groups 
"ArchLinux Việt Nam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit

Trả lời cho