Using xmonad with xfce4
文章描述了一位长期使用 XMonad 的用户尝试将其与 XFCE4 桌面环境结合使用的经历。通过安装 XFCE4 组件并修改 XMonad 配置文件,用户成功实现了更美观且功能丰富的桌面体验。 2025-3-18 00:0:0 Author: jiajunhuang.com(查看原文) 阅读量:7 收藏

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.

$ sudo apt install xfce4-panel xfce4-power-manager xfce4-settings xfce4-terminal

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

$ xmonad --recompile
$ xmonad --restart

Then logout and login again.


更多文章
  • 如何挖掘二级子域名?
  • Go Module 简明教程
  • 写了一个Telegram Bot:自动化分享高质量内容
  • ArchLinux 怎么降级 package ?
  • Vim打开很慢,怎么找出最慢的插件?怎么解决?
  • Web后端工程师进阶指南(2018)
  • How to implement fork syscall in Golang?
  • macOS ansible 遇到 rsync: --chown=www-data: unknown option
  • 关于运营的思考-运营要怎么做?
  • Python中实现单例模式的n种方式和原理
  • Golang defer中修改返回值
  • Python dataclass 源码阅读与分析
  • gRPC-gateway 源码阅读与分析
  • 如何阅读源代码
  • 我心目中的配置中心应该怎么做?



  • 文章来源: https://jiajunhuang.com/articles/2025_03_18-xmonad_xfce4.md.html
    如有侵权请联系:admin#unsafe.sh