, modMask = mod4Mask     -- Rebind Mod to the Windows key
        } `additionalKeys`
        [ ((mod4Mask .|. shiftMask, xK_z), spawn
"xscreensaver-command-lock")
        , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
        , ((0, xK_Print), spawn "scrot")
        ]

sau khi re-edit, chay no thi:

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

xmonad.hs:17:1: Not in scope: ‘include’

xmonad.hs:17:22: Not in scope: ‘definition’

xmonad.hs:17:33: Not in scope: ‘from’

xmonad.hs:17:38: Not in scope: ‘above’

Please check the file for errors.

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

Nhan tien hoi luon cai nay: chay "ibus-daemon -drx" nhung vi khong co cai
bar nao nen khong trong thay no duoc. Lam sao he?


On Sat, May 21, 2016 at 4:42 PM, Duc Tran <901...@gmail.com> wrote:

>
>
> On Sat, May 21, 2016 at 3:48 PM, maikhai <mkh...@gmail.com> wrote:
>
>> 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
>> -lock")
>>
>
> Bác ơi, chỗ dòng này bác đưa tham số "-lock" lên cùng dòng với
> "xscreensaver-command" đi bác
>
>
> Chúc bác khỏe
>
> --
> Quy tắc ứng xử: http://archlinuxvn.org/vn/rules/
> Địa chỉ nhóm thư: https://groups.google.com/group/archlinuxvn
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "ArchLinux Việt Nam" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/archlinuxvn/Su2Kgode2Iw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> archlinuxvn+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archlinuxvn/CAOQTeiJizfTvAg0EGyGkMadjO65pbkvU1DMJaAFaH0%3D0OG-HqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/archlinuxvn/CAOQTeiJizfTvAg0EGyGkMadjO65pbkvU1DMJaAFaH0%3D0OG-HqQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>



-- 
m k h _ s g n

-- 
Quy tắc ứng xử: http://archlinuxvn.org/vn/rules/
Địa chỉ nhóm thư: https://groups.google.com/group/archlinuxvn
--- 
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 archlinuxvn+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archlinuxvn/CAJNTmdN%3DSyLTnO55-Xi1ew_LJXRJWj2%2BaqbzW5DAoi91xya0Bw%40mail.gmail.com.

Trả lời cho