
我安裝了icewm
1.2.13。Metacity
是我的預設視窗管理器。通常,使用替換視窗管理器--replace
選項,例如metacity --replace
。但我的版本icewm
沒有這個選項。 :
# icewm --help
IceWM: using /root/.icewm for private configuration files
Usage: icewm [OPTIONS]
Starts the IceWM window manager.
Options:
--display=NAME NAME of the X server to use.
--client-id=ID Client id to use when contacting session manager.
--sync Synchronize X11 commands.
-c, --config=FILE Load preferences from FILE.
-t, --theme=FILE Load theme from FILE.
-x, --cursor=[small|medium|large|huge] cursor size.
-n, --no-configure Ignore preferences file.
-v, --version Prints version information and exits.
-h, --help Prints this usage screen and exits.
--restart Don't use this: It's an internal flag.
Environment variables:
ICEWM_PRIVCFG=PATH Directory to use for user private configuration files,
"$HOME/.icewm/" by default.
DISPLAY=NAME Name of the X server to use, depends on Xlib by default.
MAIL=URL Location of your mailbox. If the schema is omitted
the local "file" schema is assumed.
Visit http://www.icewm.org/ for report bugs, support requests, comments...
當我嘗試啟動時,icewm
我收到以下訊息:
# icewm
IceWM: using /root/.icewm for private configuration files
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: Another window manager already running, exiting...
如何開始icewm
?
(我用的是Centos 6.5)
===編輯===
Start with--replace
選項給出相同的結果:
# icewm --replace
IceWM: using /root/.icewm for private configuration files
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: xinerama: heads=1
IceWM: xinerama: 0 +0+0 1680x1050
IceWM: Another window manager already running, exiting...
===編輯===
我找到了一些解決方案,但感覺不舒服。我將系統更改runlevel
為 3。當我處於文字模式時,我命令:
# which icewm
/path
# xinit -e /path
xterm
需要運行它。
有更好的解決方案嗎?我想簡單地替換視窗管理器。
=====編輯==== 我的Linux版本:
$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.5 (Final)
Release: 6.5
Codename: Final
答案1
我只能說這是icewm-session
啟動 IceWM 的建議方式。它也在進行中...到目前為止,我可以使用 啟動它$ startx icewm-session
,但我的全域 X 設定被 IceWM 預設值覆蓋,一旦 IceWM 會話啟動,預設會開啟一個虛擬終端。要關閉會話,我必須在該終端中按 Ctrl+C,否則,它會保持...
享受! ;)