LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: ttgria

Slackware调音量要安哪个东东?(X:xfce)

[复制链接]
发表于 2003-7-19 19:37:16 | 显示全部楼层
体的方法可看下面的文章


Running XFce 4
Use startxfce4 to start an XFce session; this includes the panel, the window manager and the desktop background manager. All programs, or symbolic links to programs, in ~/Desktop/Autostart/ will be run by startxfce4 on startup.

To customize the behaviour of startxfce4 copy ${sysconfdir}/xfce4/xinitrc to your personal ~/.xfce4/ directory and edit that file. If you install from source, ${sysconfdir} defaults to /usr/local/etc; for binary packages it is often set to /etc.

Alternatively, you can make your own ~/.xinitrc file or ~/.xsession if you use a graphical login manager.

The settings manager (xfce-mcs-manager) and the window manager run in 'daemon' mode which means they will run in the background. So don't add an '&' after the command. For xfwm4 you have to add the --daemon option when you run the program.

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-panel

Just add any other apps you want to start before the 'exec xfce4-panel' line. End the lines with an '&' to put it in the background (unless the app can do that by itself).

If you want a safe environment to test all this, here is a script that starts an Xnest session with xfce4:

#!/bin/bash

Xnest :1 -name "Xfce4" +kb -ac &

export DISPLAY=:1

xsetroot -display :1 -solid darkblue &
xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-panel
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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