如何使用OpenBox (在OpenSUSE中)自动启动?以前,安装xfce首先是为了运行。
我增加了
xfce4-panel & 到autostart in /etc/xdg/openbox/和autostart ~/.config/openbox/都没有用。
xfce4-panel &来自航站楼。我的自动启动看起来是这样的:
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#
# If you want to use GNOME config tools...
#
#if test -x /usr/lib/gnome-settings-daemon >/dev/null; then
# /usr/lib/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null; then
# gnome-settings-daemon &
#fi
# If you want to use XFCE config tools...
#
#xfce-mcs-manager &
xfce4-panel &发布于 2012-01-27 20:58:55
我没有找到解决方案,但一个快速的解决办法是在开机时启动开箱式会话。我在我的主文件夹中创建了文件.xinitrc,并将exec会话添加到该文件中。这使得内核在打开电源时加载openbox会话,然后在openbox加载并执行~/..config/openbox中的自动启动文件。然而,这仍然是一个谜,对我来说,开瓶器是如何加载时,电力。我查看了/etc/sysconfig/displaymanager和~/..cache/session,但是找不到它。我希望它不会被我的.xinitrc解决方案加载两次。这个解决办法对我是有用的。
https://unix.stackexchange.com/questions/29796
复制相似问题