Bug 703000

Summary: Standalone openbox session is loading gnome-keyring and gnome-settings by default
Product: [Fedora] Fedora Reporter: Othman Madjoudj <athmanem>
Component: openboxAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-11 01:11:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Othman Madjoudj 2011-05-08 22:57:34 UTC
Description of problem:
After the recent update of openbox, I've noticed that gnome wallpaper is loaded and after checking I've found that some gnome stuff are loaded by default in the standalone openbox session.


Version-Release number of selected component (if applicable):
openbox-3.4.11.2-8.fc15.i686
openbox-libs-3.4.11.2-8.fc15.i686

How reproducible:
Always

Steps to Reproduce:
1. Start openbox from KDM

Additional info (Output of some command from openbox session):


$ ps aux | grep gnome
athmane   1900  0.0  0.0  15444   496 ?        Sl   23:43   0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
athmane   2042  1.6  2.5 136396 13012 ?        Sl   23:43   0:00 /usr/libexec/gnome-settings-daemon
athmane   2161  0.0  0.1   4464   760 pts/0    S+   23:44   0:00 grep --color=auto gnome

$ pstree | grep gnome
        |-gnome-keyring-d---{gnome-keyring-}
        |     `-kdm---openbox-+-gnome-settings----2*[{gnome-settings}]

Comment 1 Miroslav Lichvar 2011-05-09 07:50:08 UTC
Hm, the last update only moved some files to -gnome and -kde subpackages and fixed a problem in the gnome session file. Maybe a change in another packag caused this?

These things are normally started from /etc/xdg/openbox/autostart.sh, see

http://openbox.org/wiki/Help:Autostart

Comment 2 Othman Madjoudj 2011-05-11 01:11:27 UTC
Ok, I think because autostart.sh try to load Gnome or Xfce settings when available, so it'll not affect LXDE-only users.

/etc/xdg/openbox/autostart.sh:
[...SNIP...]
# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
  /usr/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null; then
  gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null; then
  xfce-mcs-manager n &
fi
[...SNIP...]