Using xmonad with xfce4
I’ve been using XMonad as my desktop environment for 13 years. It’s effecient and productive, but with a little bit ugly because actually, XMonad is not a desktop environment, it’s just a window manager.
I want to try xmonad work with a desktop environment, and I want to try xfce4 as my desktop environment.
Installation
$ sudo apt install xfce4-panel xfce4-power-manager xfce4-settings xfce4-terminal
Configuration
You have to change your xmonad to spawn xfce4 after login:
myStartupHook = do
setWMName "LG3D"
spawnOnce "xcompmgr"
spawnOnce "xfce4-panel"
spawnOnce "xfce4-power-manager"
spawnOnce "xfsettingsd"
Full configuration is on github: https://github.com/jiajunhuang/dotxmonad/blob/master/xmonad.hs
Compile and re-login
$ xmonad --recompile
$ xmonad --restart
Then logout and login again.
更多文章
本站热门
- socks5 协议详解
- zerotier简明教程
- 搞定面试中的系统设计题
- frp 源码阅读与分析(一):流程和概念
- 用peewee代替SQLAlchemy
- Golang(Go语言)中实现典型的fork调用
- DNSCrypt简明教程
- 一个Gunicorn worker数量引发的血案
- Golang validator使用教程
- Docker组件介绍(二):shim, docker-init和docker-proxy
- Docker组件介绍(一):runc和containerd
- 使用Go语言实现一个异步任务框架
- 协程(coroutine)简介 - 什么是协程?
- SQLAlchemy简明教程
- Golang的template(模板引擎)简明教程