You are not logged in.

#1 2011-08-17 18:27:02

andrews
Member
Registered: 2010-08-28
Posts: 25

openbox-3.5.0-2 and no looking good pstree

Hi,

My pstree using openbox-3.4.11.2-2 look like this,

init─┬─NetworkManager─┬─dhcpcd
     │                └─2*[{NetworkManager}]
     ├─6*[agetty]
     ├─bluetoothd
     ├─conky───8*[{conky}]
     ├─console-kit-dae───64*[{console-kit-da}]
     ├─crond
     ├─2*[dbus-daemon]
     ├─dbus-launch
     ├─ddclient - slee
     ├─gconfd-2
     ├─gvfs-fuse-daemo───3*[{gvfs-fuse-daem}]
     ├─gvfsd
     ├─obex-data-serve
     ├─polkitd───{polkitd}
     ├─slim─┬─X
     │      └─ck-launch-sessi───openbox─┬─gnome-terminal─┬─bash───pstree
     │                                  │                ├─gnome-pty-helpe
     │                                  │                └─4*[{gnome-terminal}]
     │                                  ├─notification-da───{notification-d}
     │                                  ├─openbox-session───nm-applet───{nm-applet}
     │                                  ├─openbox-session───blueman-applet
     │                                  ├─openbox-session───volumeicon
     │                                  └─tint2
     ├─smartd
     ├─sshd
     ├─syslog-ng───syslog-ng
     ├─udevd───udevd
     └─udisks-daemon─┬─udisks-daemon
                     └─2*[{udisks-daemon}]

Now after the upgrade to openbox-3.5.0-2

init─┬─NetworkManager─┬─dhcpcd
     │                └─2*[{NetworkManager}]
     ├─6*[agetty]
     ├─bluetoothd
     ├─conky───8*[{conky}]
     ├─console-kit-dae───64*[{console-kit-da}]
     ├─crond
     ├─2*[dbus-daemon]
     ├─dbus-launch
     ├─dconf-service───{dconf-service}
     ├─ddclient - slee
     ├─gconfd-2
     ├─gvfs-fuse-daemo───3*[{gvfs-fuse-daem}]
     ├─gvfs-gdu-volume
     ├─gvfsd
     ├─gvfsd-burn
     ├─gvfsd-metadata
     ├─gvfsd-trash
     ├─notification-da───{notification-d}
     ├─obex-data-serve
     ├─polkit-gnome-au───{polkit-gnome-a}
     ├─polkitd───{polkitd}
     ├─sh───nm-applet───{nm-applet}
     ├─sh───blueman-applet
     ├─sh───volumeicon
     ├─slim─┬─X
     │      └─ck-launch-sessi───openbox───gnome-terminal─┬─bash───pstree
     │                                                   ├─gnome-pty-helpe
     │                                                   └─3*[{gnome-terminal}]
     ├─smartd
     ├─sshd
     ├─syslog-ng───syslog-ng
     ├─tint2
     ├─udevd───2*[udevd]
     └─udisks-daemon─┬─udisks-daemon
                     └─2*[{udisks-daemon}]

So i think (maybe wrong) that there is a problem in the way files on my  ~/.config/openbox/autostart.sh, (tint2,blueman-applet,nm-applet,etc) are no loaded like child process on openbox 3.5

.xinitrc

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session

Any help is appreciated.

Offline

#2 2011-08-17 18:33:52

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: openbox-3.5.0-2 and no looking good pstree

Try renaming "~/.config/openbox/autostart.sh" to "autostart" only.


To know or not to know ...
... the questions remain forever.

Offline

#3 2011-08-17 18:45:38

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: openbox-3.5.0-2 and no looking good pstree

bernarcher wrote:

Try renaming "~/.config/openbox/autostart.sh" to "autostart" only.

Tried that, no change, openbox read "autostart" or "autostart.sh" in the same way.

Offline

#4 2011-08-17 18:50:48

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: openbox-3.5.0-2 and no looking good pstree

Just checked with my system. Those processes (tint2, etc.) are not loaded as childs any more as well.
But the system works as usual.

Edit:
Cross checked - tint2 et al. were removed when openbox was closed. Thus it is an upstream feature, obviously.

Last edited by bernarcher (2011-08-17 18:54:05)


To know or not to know ...
... the questions remain forever.

Offline

#5 2011-08-17 19:12:44

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: openbox-3.5.0-2 and no looking good pstree

I have similar problems with openbox 3.5.0-2

If I ps -ef and grep for openbox, I see the following

oliver  1098  1090  0 14:59 tty1     00:00:00 ck-launch-session dbus-launch openbox-session
oliver  1107  1098  0 14:59 tty1     00:00:00 /usr/bin/openbox --startup /usr/libexec/openbox-autostart OPENBOX
oliver  1143     1  0 15:00 tty1     00:00:00 sh /home/oliver/.config/openbox/autostart

Whats even weirder is I have things starting multiple times (trayfreq for one)

$ ps -ef|grep trayfreq
oliver  1141     1  0 15:00 tty1     00:00:00 trayfreq
oliver  1150     1  0 15:00 tty1     00:00:00 /usr/bin/trayfreq

and some things starting that aren't even in my autostart file (dropbox)

$ ps -ef|grep dropbox
oliver  1148     1  0 15:00 tty1     00:00:01 /opt/dropbox/dropbox

dropbox was once in my autostart file but I deleted it.  Here's my startup file

$ cat ~/.config/openbox/autostart 
xfce4-power-manager &	
clipit &	
tint2 &	
volumeicon &		
urxvt &	
numlockx on &
trayfreq &		
udiskie &		
(sleep 3 && /usr/bin/nm-applet --sm-disable) &

Offline

#6 2011-08-17 21:09:38

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: openbox-3.5.0-2 and no looking good pstree

@oliver
You can check

/usr/libexec/openbox-xdg-autostart --list OPENBOX

to see autostart files in /etc/xdg/autostart/

EDIT : In openbox-3.5.0-3 you need to use

/usr/lib/openbox/openbox-xdg-autostart --list OPENBOX

Last edited by andrews (2011-08-18 06:58:54)

Offline

#7 2011-08-17 21:47:21

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: openbox-3.5.0-2 and no looking good pstree

Sorry andrews, I thought the other thread would not be seen enough; so I agree to remove the copy of my other post.
(it is not only about background color, but the entire startup of openbox)

To answer oliver's post:
Some applications may be launched twice, if a .desktop file exists for them in one of the xdg autostart directories.

Last edited by berbae (2011-08-17 22:28:02)

Offline

#8 2011-08-17 21:59:27

andrews
Member
Registered: 2010-08-28
Posts: 25

Re: openbox-3.5.0-2 and no looking good pstree

@berbae I already see your post at https://bbs.archlinux.org/viewtopic.php?id=124668 , please dont copy and paste here , I open this to see problems ( or not ) related to child process in the new openbox, this is not about change the background color.

Offline

#9 2011-08-17 23:58:39

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: openbox-3.5.0-2 and no looking good pstree

andrews wrote:

@oliver
You can check

/usr/libexec/openbox-xdg-autostart --list OPENBOX

to see autostart files in /etc/xdg/autostart/

berbae wrote:

To answer oliver's post:
Some applications may be launched twice, if a .desktop file exists for them in one of the xdg autostart directories.

yep - that was it exactly.  I really appreciate the help.  I'll be interested to see if the child process thing is by design or a bug

Offline

Board footer

Powered by FluxBB