有没有用 i3wm 的小伙伴,问个问题 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Arch Linux
linuap
V2EX    Arch

有没有用 i3wm 的小伙伴,问个问题

  •  
  •   lnuap 2017 年 2 月 6 日 5766 次点击
    这是一个创建于 3281 天前的主题,其中的信息可能已经有所发展或是发生改变。
    发现 windows 终归不能配好 emacs+c 的开发环境
    索性还是把我的 sp3 换回了 arch+i3 ( arch 大法好~
    搞了一堆自动 suspend/hibernate 之类的 script 累死了...

    正文:
    i3 下面使用 systemctl reboot/halt 有很大可能会停下来 waiting for some session stop etc.
    尤其是在开了一大堆 chrome tabs 没关然后直接关机 /重启的时候
    而在 xfce4 下就没有这种情况(也可能是我用的少没碰到)
    稍微 google 了一下,xfce 是用的 xfce4-session 来进行重启的, i3wm 大概是用不了的

    我在 github 里发现了一个 issue ,好像没找到解决方法
    https://github.com/systemd/systemd/issues/1615

    有没有可以命令行下先 logout 再 reboot 的方案?或者有高人有经验解决这个问题的
    感激不尽:)
    3 条回复    2017-02-06 17:59:19 +08:00
    we000
        1
    we000  
       2017 年 2 月 6 日
    linuap
        2
    linuap  
    OP
       2017 年 2 月 6 日
    @we000 忘了说了用的是 lightdm...
    SpicyCat
        3
    SpicyCat  
       2017 年 2 月 6 日
    i3-msg exit 试试
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2068 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 12:13 PVG 20:13 LAX 04:13 JFK 07:13
    Do have faith in what you're doing.