LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1328|回复: 10

icewm problem[已经解决]

[复制链接]
发表于 2006-7-12 21:26:35 | 显示全部楼层 |阅读模式
i have installed icewm.
then i copy /etc/X11/icwm/*  to my place:~/.icewm (startup,toolbar,preferense,etc...)
i install rox-filer,and add"rox-filer -p=PIN" to  ~/.icewm/startup

then i add "exec icewm-session" to ~/.xinitrc

after these works ,i restart X,type startx to start my icewm,
[color="DarkOrange"]the problem is ,the rox-filer can't work when the icewm start.
but if i type [PHP]rox-filer -p=PIN[/PHP] in gnome-terminal,the rox-filer CAN WORK!!
I  also have tryed add  "rox-filer -p=PIN"  to ~/.xinitrc OR ~/.xseesion,But it can't work either.
 楼主| 发表于 2006-7-12 21:37:26 | 显示全部楼层
不仅如此
我发现我在~/.icewm/下所有的配置文件的修改icewm都不认。
比如我在~/.icewm/startup写rox-filer -p=PIN 还有其他命令(我改了很多,比如字体,时钟显示等等。),重起x后,icewm根本不执行。还是以前老样子。。。
应该如何做才可以使得icewm-session启动时候从~/.icewm/下的配置读取????
回复 支持 反对

使用道具 举报

发表于 2006-7-14 09:08:12 | 显示全部楼层
chmod 755 startup
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-18 11:22:53 | 显示全部楼层
我都chmod 777 startup了
所有~/.icewm下的文件安我都chmod 777了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-19 19:37:47 | 显示全部楼层
谁帮我看看怎么回事情阿?
我搞了好久拉
还是不行。
我的情况:
andey@andey-pc:~/.icewm$ ls -l
总计 56
-rw-r--r-- 1 root  root   1803 2006-07-12 21:08 keys
-rw-r--r-- 1 root  root   3039 2006-07-19 18:42 menu
-rw-r--r-- 1 root  root  28349 2006-07-19 18:44 preferences
-rw-r--r-- 1 andey andey  1849 2006-07-19 19:13 prefoverride
-rwxrwx--x 1 andey andey   404 2006-07-19 19:25 startup
-rw-r--r-- 1 andey andey   386 2006-07-19 18:49 theme
-rw-r--r-- 1 root  root    387 2006-07-19 18:47 toolbar
-rw-r--r-- 1 root  root   1533 2006-07-12 21:08 winoptions
其中,
andey@andey-pc:~/.icewm$ cat startup
## 启动 Rox 来显示桌面图标和桌面背景
#rox-filer -p=PIN
rox-filer --pinboard=PIN
#antialias=False
### Gnome 相关
## 启动 gnome-settings-daemon 来设置 Gnome 程序主题,字体等
gnome-settings-daemon &
## 启动 nautilus 来显示桌面图标和桌面背景 ( 要启动 gnome-settings-daemon )
# nautilus &
## 用 gnome-volume-manager 来自动挂载 U 盘等
gnome-volume-manager &
此外:
andey@andey-pc:~/.icewm$ cat prefoverride
kBarClockLeds=1
TimeFormat="%H:%M:%S"
### 窗口选项
## 不透明移动和改变窗口大小
OpaqueMove=0
OpaqueResize=0
## 新窗口显示后不自动取得焦点 ( 类似 KDE/Gnome 风格 )
FocusOnMap=1
## 菜单追踪鼠标动作 (类似 KDE/Gnome 菜单 )
MenuMouseTracking=1
## 虚拟桌面
WorkspaceNames=" 风 ", " 华 ", " 雪 ", " 月 "
##EdgeSwitch=1

奇怪的是我的prefoverride的配置起作用了,工作区域的名称变为拉“ 风 ", " 华 ", " 雪 ", " 月 "
但是我startup下面的配置一个都没有起作用:rox-filer没有起动,gnome-settings-daemon也没有。(见抓图1)
但是如果我在terminal里面输入rox-filer --pinboard=PIN,rox就能启动,gnome-settings-daemon也能起作用(见图2)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-19 19:40:56 | 显示全部楼层
[color="Red"]图1
启动icewm后,rox根本就没有起作用。



对了,上面的配置都是抄huahua的,地址:http://linux.hiweed.com/node/2669

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-19 19:48:51 | 显示全部楼层
[color="Green"]图2
我在terminal里输入命令rox-filer -p=PIN后,rox启动了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-7-20 01:43:24 | 显示全部楼层
删掉 ~/.xinitrc    ~/.xseesion  这些
在 gdm/kdm  的会话菜单里选 IceWM
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-20 19:22:36 | 显示全部楼层
还是不行阿,~/.xinitrc ~/.xseesion 这些我都删除了:
andey@andey-pc:~$ ls -a
.               .gconfd                      .mcoprc
..              .gimp-2.2                    .metacity
.adobe          .gksu.lock                   .mozilla
.bash_history   .gnome                       .nautilus
.bash_logout    .gnome2                      .opera
.bash_profile   .gnome2_private              .qt
.bashrc         .gstreamer-0.10              .recently-used
.bmp            .gtkrc-1.2-gnome2            .scim
.chewing        Heroine.mp3                  .sudo_as_admin_successful
.chmsee         .ICEauthority                .themes
.config         icequa-default-1.0.2.tar     .thumbnails
Desktop         icequa-default-1.0.2.tar.gz  .Trash
.dmrc           .icewm                       .update-notifier
.esd_auth       .icons                       .viminfo
.evolution      .java                        .Xauthority
Examples        .kde                         .xchat2
.face           .local                       .xine
.fcitx          .lumaqq                      .xsession-errors
.fonts.cache-1  LumaQQ                       壁纸
fzzqjw.ttf      .macromedia
.gconf          .mcop

startup配置如下
andey@andey-pc:~/.icewm$ cat startup
## 启动 Rox 来显示桌面图标和桌面背景
rox-filer -p=PIN
#rox-filer --pinboard=PIN
#antialias=False
### Gnome 相关
## 启动 gnome-settings-daemon 来设置 Gnome 程序主题,字体等
gnome-settings-daemon &
## 启动 nautilus 来显示桌面图标和桌面背景 ( 要启动 gnome-settings-daemon )
# nautilus &
## 用 gnome-volume-manager 来自动挂载 U 盘等
gnome-volume-manager &
[color="Red"]而且我也是从gdm那里启动选择icewm的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-21 12:15:45 | 显示全部楼层
已经解决了原来是~/.icewm/preferense有问题
我把他del了,然后startup就可以起作用了,里面的rox语句也可以运行起来
然后我又自己sudo touch preferense,在里面写了几个配置语句,startup还是可以启动
这说明先前的preferense配置可能有问题,导致了startup启动不了。
另外我现在的字体配置写在了prefoverride里面,preferense似乎可以真的del不用了。
补个图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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