![OpenBox는 OpenSUSE에서 자동으로 시작됩니까?](https://linux55.com/image/43024/OpenBox%EB%8A%94%20OpenSUSE%EC%97%90%EC%84%9C%20%EC%9E%90%EB%8F%99%EC%9C%BC%EB%A1%9C%20%EC%8B%9C%EC%9E%91%EB%90%A9%EB%8B%88%EA%B9%8C%3F.png)
OpenBox(OpenSUSE)에서 자동 시작을 사용하는 방법은 무엇입니까? 이전에는 xfce가 먼저 설치되어 실행되었습니다.
나는 추가했다
xfce4-panel &
autostart
아무 소용이 없습니다 /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 &
답변1
해결책을 찾지 못했지만 빠른 해결 방법은 부팅 시 openbox-session을 시작하는 것입니다. 내 홈 폴더에 .xinitrc 파일을 만들고 파일에 exec openbox-session을 추가했습니다. 이로 인해 커널은 부팅 시 openbox-session을 로드한 다음 openbox는 ~/.config/openbox에 있는 자동 시작 파일을 로드하고 실행합니다. 그러나 부팅 시 Openbox가 어떻게 로드되는지는 여전히 나에게 미스터리입니다. /etc/sysconfig/displaymanager 및 ~/.cache/session을 살펴봤지만 찾을 수 없습니다. 내 .xinitrc 해결 방법이 두 번 로드되지 않기를 바랍니다. 이 해결 방법은 나에게 효과적이었습니다.