Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
Đức ơi boot máy rồi, xmonad vẫn ngon lành cành mai. Thôi cạch không dám ngọ
nguậy cái xmonad.hs nữa.

2016-05-22 9:57 GMT+07:00 mai khai :

> Tạm thời thấy giải quyết thế này là có mòi ăn tiền (chưa "dám" reboot,
> phải báo cáo liền kẻo khi reboot nó lại đơ như mấy lần trước):
> *Cài Arch + cài xmonad rồi chạy lai rai (thư mục .xmonad/không có
> xmonad.hs)
> *Cài thêm : # pacman -S xfce4 (nhưng không cài xfce4-session)
> *Ở ~/.xinitrc cho vào 2 dòng:
> xsetroot -cursor_name left_ptr
> exec xmonad
> Gọi xfce4-panel (có báo lỗi gì đấy nhưng mình ngó lơ)
> Gọi ibus-daemon -drx từ ~/.bashrc là thấy nó. Sửa một chút, ok.
> Gửi xong cái này sẽ reboot máy xem có bị đơ nữa không. Coi Attach.
> Nếu nó vẫn chạy thì tốt, nhưng không hiểu tại sao.
>
> 2016-05-21 20:31 GMT+07:00 Duc Tran <901...@gmail.com>:
>
>> Vậy cháu cũng chịu rồi bác, đành nhờ người cao nhân hơn.
>>
>> Chúc bác khỏe
>>
>>
>> On 05/21/2016 06:26 PM, mai khai wrote:
>>
>> Vẫn thất bại Đức à. Chạy recompile thì nó làm ngon lành, trả về $ không
>> kèm thông báo gì. Nhưng khi reboot vào lại thì màn hình đơ luôn.
>> Mod+shift+enter không nhúc nhích. Mod+1,2,3,4,5,6,7,8,9 cũng vậy. Xóa
>> .xmonad/xmonad.hs, chạy recompile với .xmonad/trống bị error.
>> Reboot vào lại, pacman -S xmonad xmonad-contrib rồi chạy nó nữa cũng thua
>> luôn!
>> Vậy chắc là vẫn phải chạy xmonad với cái xmonad.hs default của nó (không
>> tìm ra nó nằm chỗ nào). Đang cài Arch lại lần nữa đây hihi.
>>
>> On Sat, May 21, 2016 at 10:21 AM, Duc Tran <901...@gmail.com> wrote:
>>
>>>
>>> { manageHook = manageDocks <+> myManageHook -- make sure to
>
> <+> manageHook defaultConfig
> , layoutHook = avoidStruts  $  layoutHook defaultConfig

 Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho
>>> lên cùng dùng với "make sure to" vì nó thuộc command.
>>>
>>> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
>>> .
>>>
>>
>>
>>
>> --
>> 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/CAJNTmdOLddD2xUVrGpk8knyk9j%2BnxTWaacQhsG2F%3D6uwa914ag%40mail.gmail.com
>> .
>>
>>
>> --
>> 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/71982dcb-7b2e-cc5d-f1ec-5a458cf45331%40gmail.com
>> 
>> .
>>
>
>
>
> --
> m k h _ s g n
>



-- 
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/CAJNTmdPm9iRiJO4AvjKL5q-v6z7hFAHnrJ9ujYqdPMKSmQcf5A%40mail.gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
Làm rồi đây (coi attach, vì dán vào đây thì nó lại bẻ dòng).
Nếu có cái site nào nhiều xmonad_guru mà nhờ họ đọc giùm là ngon a!

2016-05-21 13:31 GMT+00:00 Duc Tran <901...@gmail.com>:

> Vậy cháu cũng chịu rồi bác, đành nhờ người cao nhân hơn.
>
> Chúc bác khỏe
>
>
> On 05/21/2016 06:26 PM, mai khai wrote:
>
> Vẫn thất bại Đức à. Chạy recompile thì nó làm ngon lành, trả về $ không
> kèm thông báo gì. Nhưng khi reboot vào lại thì màn hình đơ luôn.
> Mod+shift+enter không nhúc nhích. Mod+1,2,3,4,5,6,7,8,9 cũng vậy. Xóa
> .xmonad/xmonad.hs, chạy recompile với .xmonad/trống bị error.
> Reboot vào lại, pacman -S xmonad xmonad-contrib rồi chạy nó nữa cũng thua
> luôn!
> Vậy chắc là vẫn phải chạy xmonad với cái xmonad.hs default của nó (không
> tìm ra nó nằm chỗ nào). Đang cài Arch lại lần nữa đây hihi.
>
> On Sat, May 21, 2016 at 10:21 AM, Duc Tran <901...@gmail.com> wrote:
>
>>
>> { manageHook = manageDocks <+> myManageHook -- make sure to

 <+> manageHook defaultConfig
 , layoutHook = avoidStruts  $  layoutHook defaultConfig
>>>
>>> Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho
>> lên cùng dùng với "make sure to" vì nó thuộc command.
>>
>> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
>> .
>>
>
>
>
> --
> 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/CAJNTmdOLddD2xUVrGpk8knyk9j%2BnxTWaacQhsG2F%3D6uwa914ag%40mail.gmail.com
> .
>
>
> --
> 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/71982dcb-7b2e-cc5d-f1ec-5a458cf45331%40gmail.com
> 
> .
>



-- 
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/CAJNTmdP2md8Cpe%3DzS%2BUC5HvoOgrNg%3DmXBOch-65i%3D7J_VinODQ%40mail.gmail.com.


xmonad.hs_re-edit_ductran
Description: Binary data


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
Có khi nào là do nó 32 mà mình chạy Arch64 hay không nhỉ?
Cái xmonad này kỳ ở chỗ nếu không recompile sảng thì không sao. Nếu compile
với một xmonad.hs không thích hợp thì lần chạy kế tiếp máy sẽ đơ, dù có
tháo file hỏng đó ra cũng vẫn đơ luôn.
Cái hấp dẫn của nó là làm rất lẹ, gần như không phải chờ. Chỉ có FF nạp khá
lâu.


2016-05-21 13:31 GMT+00:00 Duc Tran <901...@gmail.com>:

> Vậy cháu cũng chịu rồi bác, đành nhờ người cao nhân hơn.
>
> Chúc bác khỏe
>
>
> On 05/21/2016 06:26 PM, mai khai wrote:
>
> Vẫn thất bại Đức à. Chạy recompile thì nó làm ngon lành, trả về $ không
> kèm thông báo gì. Nhưng khi reboot vào lại thì màn hình đơ luôn.
> Mod+shift+enter không nhúc nhích. Mod+1,2,3,4,5,6,7,8,9 cũng vậy. Xóa
> .xmonad/xmonad.hs, chạy recompile với .xmonad/trống bị error.
> Reboot vào lại, pacman -S xmonad xmonad-contrib rồi chạy nó nữa cũng thua
> luôn!
> Vậy chắc là vẫn phải chạy xmonad với cái xmonad.hs default của nó (không
> tìm ra nó nằm chỗ nào). Đang cài Arch lại lần nữa đây hihi.
>
> On Sat, May 21, 2016 at 10:21 AM, Duc Tran <901...@gmail.com> wrote:
>
>>
>> { manageHook = manageDocks <+> myManageHook -- make sure to

 <+> manageHook defaultConfig
 , layoutHook = avoidStruts  $  layoutHook defaultConfig
>>>
>>> Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho
>> lên cùng dùng với "make sure to" vì nó thuộc command.
>>
>> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
>> .
>>
>
>
>
> --
> 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/CAJNTmdOLddD2xUVrGpk8knyk9j%2BnxTWaacQhsG2F%3D6uwa914ag%40mail.gmail.com
> .
>
>
> --
> 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/71982dcb-7b2e-cc5d-f1ec-5a458cf45331%40gmail.com
> 
> .
>



-- 
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/CAJNTmdPTS8CsJ%2BqSuWXYHpu9tUwsWSSpJpmEjkL7U5TCv98Drg%40mail.gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại Duc Tran
Vậy cháu cũng chịu rồi bác, đành nhờ người cao nhân hơn.

Chúc bác khỏe

On 05/21/2016 06:26 PM, mai khai wrote:
> Vẫn thất bại Đức à. Chạy recompile thì nó làm ngon lành, trả về $
> không kèm thông báo gì. Nhưng khi reboot vào lại thì màn hình đơ luôn.
> Mod+shift+enter không nhúc nhích. Mod+1,2,3,4,5,6,7,8,9 cũng vậy. Xóa
> .xmonad/xmonad.hs, chạy recompile với .xmonad/trống bị error.
> Reboot vào lại, pacman -S xmonad xmonad-contrib rồi chạy nó nữa cũng
> thua luôn!
> Vậy chắc là vẫn phải chạy xmonad với cái xmonad.hs default của nó
> (không tìm ra nó nằm chỗ nào). Đang cài Arch lại lần nữa đây hihi.
>
> On Sat, May 21, 2016 at 10:21 AM, Duc Tran <901...@gmail.com
> > wrote:
>
>
>> { manageHook = manageDocks <+> myManageHook --
>> make sure to
>>
>> <+> manageHook defaultConfig
>> , layoutHook = avoidStruts  $  layoutHook
>> defaultConfig
>>
> Bác ơi, chỗ dòng "include myManageHook definition from above" bác
> cho lên cùng dùng với "make sure to" vì nó thuộc command.
>
> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
> 
> .
>
>
>
>
> -- 
> 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/CAJNTmdOLddD2xUVrGpk8knyk9j%2BnxTWaacQhsG2F%3D6uwa914ag%40mail.gmail.com
> .


-- 
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/71982dcb-7b2e-cc5d-f1ec-5a458cf45331%40gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
Vẫn thất bại Đức à. Chạy recompile thì nó làm ngon lành, trả về $ không kèm
thông báo gì. Nhưng khi reboot vào lại thì màn hình đơ luôn.
Mod+shift+enter không nhúc nhích. Mod+1,2,3,4,5,6,7,8,9 cũng vậy. Xóa
.xmonad/xmonad.hs, chạy recompile với .xmonad/trống bị error.
Reboot vào lại, pacman -S xmonad xmonad-contrib rồi chạy nó nữa cũng thua
luôn!
Vậy chắc là vẫn phải chạy xmonad với cái xmonad.hs default của nó (không
tìm ra nó nằm chỗ nào). Đang cài Arch lại lần nữa đây hihi.

On Sat, May 21, 2016 at 10:21 AM, Duc Tran <901...@gmail.com> wrote:

>
> { manageHook = manageDocks <+> myManageHook -- make sure to
>>>
>>> <+> manageHook defaultConfig
>>> , layoutHook = avoidStruts  $  layoutHook defaultConfig
>>
>> Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho lên
> cùng dùng với "make sure to" vì nó thuộc command.
>
> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
> 
> .
>



-- 
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/CAJNTmdOLddD2xUVrGpk8knyk9j%2BnxTWaacQhsG2F%3D6uwa914ag%40mail.gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
OK de minh re-edit roi chay thu coi. Trong khi cho doi, minh vao trang
http://arstechnica.com/civis/viewtopic.php?f=16=1182092 va copy cai
xmonad.hs cua no roi chay recompile thi hahaha Lan Dau Tien Chay OK!

import XMonad
import XMonad.Hooks.ManageDocks

main = xmonad defaultConfig
   {
  manageHook = manageDocks <+> manageHook defaultConfig,
  layoutHook = avoidStruts  $  layoutHook defaultConfig,
  modMask = mod4Mask
   }

Vay co le roi day se ngam cuu de (thay vi chay xmonad in xfce4) se thu voi
MATE xem sao.


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

>
> { manageHook = manageDocks <+> myManageHook -- make sure to
>>>
>>> <+> manageHook defaultConfig
>>> , layoutHook = avoidStruts  $  layoutHook defaultConfig
>>
>> Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho lên
> cùng dùng với "make sure to" vì nó thuộc command.
>
> 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com
> 
> .
>



-- 
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/CAJNTmdMvT8xK9q6wKapZzLEsu%2Bjx4EngNGjdnrmOow_xtz6r-Q%40mail.gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại Duc Tran

> { manageHook = manageDocks <+> myManageHook -- make
> sure to
>
> <+> manageHook defaultConfig
> , layoutHook = avoidStruts  $  layoutHook defaultConfig
>
Bác ơi, chỗ dòng "include myManageHook definition from above" bác cho
lên cùng dùng với "make sure to" vì nó thuộc command.

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 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/ab8400eb-9f4f-9e82-b868-d8a44dabc26d%40gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
[ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")

Lai re-edit nhu vay roi chay recompile cung that bai:

[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)



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  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
> 
> .
>



-- 
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/CAJNTmdOGwvHo0uXcCQiU%3Dc-NQrwMYF%2BPjQEX%2BMmG__AcDfME9A%40mail.gmail.com.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại mai khai
   , 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  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
> 
> .
>



-- 
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.


Re: [ArchLinuxVn] Cac ban giup fix voi

2016-05-21 Hội thoại Duc Tran
On Sat, May 21, 2016 at 3:48 PM, maikhai  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 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/CAOQTeiJizfTvAg0EGyGkMadjO65pbkvU1DMJaAFaH0%3D0OG-HqQ%40mail.gmail.com.