You are not logged in.
I use 'ck-launch-session xfce4-session' to start XFCE.
It starts a session in which only xfce-settings-helper, xfdesktop, and xfwm4 are running. In my autostarted applications I have an entry called Autostart.sh which corresponds to a .desktop file:
.config/autostart/Autostart.sh.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Autostart.sh
Comment=
Exec=/home/rob/.config/autostart/autostart.sh
StartupNotify=false
Terminal=false
Hidden=false
.config/autostart/autostart.sh
#!/bin/bash
stalonetray &
netwmpager &
conky &
claws-mail &
pidgin &
volwheel &
But I think this somehow really slows down xfce's loading. It seems to load the xfce stuff quickly, then it sits for sometimes 20 seconds before all the other stuff pops into life.
Any ideas?
Offline
I had to turn of the session manager recently because it was causing many xfdesktop and other XFCE related processes. Try booting to a prompt and deleting ~/.cache/.sessions/* and launching xfce to see if that is an issue.
Offline
It does seem to be the culprit.
Does anyone know where the default session files reside? I might just make my custom session be the default...
EDIT: Dang. I really can't find it. I bet the default session is coded in...
Last edited by pogeymanz (2009-03-28 14:58:18)
Offline
see:
/etc/xdg/
/usr/share/sessions
Offline
Wow I'm dense. I even looked at that file and I didn't see what it was doing. I just changed /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml and took out a few entries.
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="string" value="Failsafe"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="bool" value="true"/>
<property name="Count" type="int" value="5"/>
<property name="Client0_Command" type="array">
<value type="string" value="xfwm4"/>
</property>
<property name="Client0_PerScreen" type="bool" value="false"/>
<property name="Client3_Command" type="array">
<value type="string" value="xfdesktop"/>
</property>
<property name="Client3_PerScreen" type="bool" value="false"/>
<property name="Client4_Command" type="array">
<value type="string" value="xfce4-settings-helper"/>
</property>
<property name="Client4_PerScreen" type="bool" value="false"/>
</property>
</property>
<property name="splash" type="empty">
<property name="Engine" type="string" value=""/>
</property>
</channel>
Now it doesn't start xfce4-panel or Thunar --daemon and I don't have to use the session manager. And start up is way faster than with the session manager, which is clearly not working properly.
Offline