xmonad --recompile

36 views
Skip to first unread message

maikhai

unread,
May 19, 2016, 9:24:15 AM5/19/16
to ArchLinux Việt Nam
Cài xmonad xong, mò chép một cái xmonad.hs coi bộ rậm rạp hoa lá cành, nhưng gõ xmonad --recompile thì bị báo:

[sliabh@a3che ~]$ sudo xmonad --recompile
[sudo] password for sliabh:
Error detected while loading xmonad configuration file: /root/.xmonad/xmonad.hs
<no location info>: can't find file: xmonad.hs
Please check the file for errors.
xmonad: xmessage: executeFile: does not exist (No such file or directory)

Bạn nào từng cài xmonad bị chiêu này xin vui lòng chỉ dẫn? Cám ơn nhiều lắm đa!

Nam Trần Đức

unread,
May 19, 2016, 12:13:54 PM5/19/16
to archl...@googlegroups.com
Không cần sudo đâu bác


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archlinuxvn/377cd1bc-5009-4f1c-a102-41c9ef99c4d8%40googlegroups.com.

maikhai

unread,
May 19, 2016, 7:36:48 PM5/19/16
to ArchLinux Việt Nam
Vào 16:13:54 UTC Thứ Năm, ngày 19 tháng 5 năm 2016, Dynamo đã viết:
> Không cần sudo đâu bác

Bị cái này nữa:

[sliabh@a3che .xmonad]$ ls -lh
total 24K
drwxr-xr-x 2 root root 4.0K May 19 17:39 haha
-rwxrwxrwx 1 sliabh users 17K May 20 06:25 xmonad.hs
[sliabh@a3che .xmonad]$ xmonad --recompile
xmonad: /home/sliabh/.xmonad/xmonad.errors: openFile: permission denied (Permission denied)

Duc Tran

unread,
May 19, 2016, 9:22:16 PM5/19/16
to archl...@googlegroups.com

Bác dùng command "ls -lah" để xem permission của thư mục .xmonad/ xem sao.

--
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...@googlegroups.com.

maikhai

unread,
May 19, 2016, 10:28:38 PM5/19/16
to ArchLinux Việt Nam
Vào 01:22:16 UTC Thứ Sáu, ngày 20 tháng 5 năm 2016, Duc Tran đã viết:
> Bác dùng command "ls -lah" để xem permission của thư mục .xmonad/ xem sao.
>
[sliabh@a3che ~]$ ls -lah .xmonad/
total 32K
drwxr-xr-x 3 root root 4.0K May 19 19:44 .
drwx------ 19 sliabh users 4.0K May 20 09:25 ..

Duc Tran

unread,
May 20, 2016, 9:09:01 AM5/20/16
to archl...@googlegroups.com

Gửi bác,

[sliabh@a3che ~]$ ls -lah .xmonad/
total 32K
drwxr-xr-x  3 root   root  4.0K May 19 19:44 .
drwx------ 19 sliabh users 4.0K May 20 09:25 ..
drwxr-xr-x  2 root   root  4.0K May 19 17:39 haha
-rwxrwxrwx  1 sliabh users  17K May 20 06:25 xmonad.hs

Ngay chính thư mục .xmonad/ đang ở quyền root rồi bác. Bác chạy command "sudo chown -R sliabh: .xmonad/" để set lại quyền về user sliabh.

Chúc bác khỏe.

maikhai

unread,
May 20, 2016, 9:56:18 AM5/20/16
to ArchLinux Việt Nam
Vào 20:09:01 UTC+7 Thứ Sáu, ngày 20 tháng 5 năm 2016, Duc Tran đã viết:
> Gửi bác,

> Ngay chính thư mục .xmonad/ đang ở quyền root rồi bác. Bác chạy command "sudo chown -R sliabh: .xmonad/" để set lại quyền về user sliabh.
>
> Chúc bác khỏe.

Từ lúc lập thớt tới giờ là mình cài tới lần thứ 5 rồi a. Hai lần áp chót là cài để chạy với xfce4 nhưng đều thất bại: nhấn Alt+shift+Enter vẫn trơ thổ địa.
Lần chót này là mình cài arch xong, cài xmonad rồi chạy vài vòng cho ra mồ hôi sau đó mới cài thêm (paman -S xfce4 trơn), sau đó tại xterm gõ "xfce4-panel" thì thấy nó nhảy ra ngon lành. Nhờ vậy mới gọi ibus để chỉnh được.
Trên mạng có nhiều bài Guide xmonad kèm file xmonad.hs lê thê, nhưng copy vào chạy thử chưa thành công lần nào cả. Hiện nay vẫn chạy xmonad mà ở /root và ở ~/HOME đều không có .xmonad, cũng không có xmonad.hs! Vậy mà nó vẫn chạy mới kỳ.
Reply all
Reply to author
Forward
0 new messages