QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2603|回复: 2

怪:用update-alternatives配置wm

[复制链接]
发表于 2006-10-7 17:38:42 | 显示全部楼层 |阅读模式
用update-alternatives --config x-window-manager,select kwin.但是我又想用kde了,可是用相同的命令select xfwm4後,又改不回拉?
我的update-alternatives --display x-window-manager
Selection    Alternative
-----------------------------------------------
          1    /usr/bin/kwin
          2    /usr/bin/fvwm2
*+        3    /usr/bin/xfwm4

Press enter to keep the default
  • , or type selection number:
    debian:/# update-alternatives --display x-window-manager
    x-window-manager - status is manual.
    link currently points to /usr/bin/xfwm4
    /usr/bin/kwin - priority 50
    /usr/bin/fvwm2 - priority 50
    slave x-window-manager.1.gz: /usr/share/man/man1/fvwm2.1.gz
    /usr/bin/xfwm4 - priority 60
    slave x-window-manager.1.gz: /usr/share/man/man1/xfwm4.1.gz
    Current `best' version is /usr/bin/xfwm4.

    Any help?
  • 发表于 2006-10-12 09:39:41 | 显示全部楼层
    看看 update-alternatives 是不是 shell 脚本,如果是,打开查一下其修改的是哪个文件,手动改回来即可。
    若不是 shell 脚本,就用 strace -o file.txt update-alternatives  --config x-window-manager,select kwin ,打开 file.txt 查找其修改的文件,手动改回即可。
    回复

    使用道具 举报

     楼主| 发表于 2006-10-12 20:57:53 | 显示全部楼层
    多谢KanKer的回答.
    用update-alternatives --config x-session-manager已经可以了.
    我也会去看看你说的情况的.
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    GMT+8, 2024-4-19 04:09 , Processed in 0.060947 second(s), 15 queries .

    © 2021 Powered by Discuz! X3.5.

    快速回复 返回顶部 返回列表