You are not logged in.

#1 2012-06-10 11:29:06

memax
Member
Registered: 2012-04-27
Posts: 19

[SOLVED] a little help with autostarting programms on login

Hi to everyone,
I ll try to explain this one, the best way i can because i know that due to my shallow knoledge, i could mislead the hole topic.
When i login (xfce4) and a few second pass, thunar is launching on its own and always in directory : /etc/xdg/autostart.
also mozilla firefox launches at the same time.
the only entries in my xfce settings manager session startup are Network, policykit, and power manager.
I dont know if this is helpful but i am also posting my daemons array

DAEMONS=(alsa dbus networkmanager syslog-ng @crond @cupsd)

is one of theese the reason why thunar and firefox autostart?

Last edited by memax (2012-06-10 12:00:16)

Offline

#2 2012-06-10 11:38:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,615
Website

Re: [SOLVED] a little help with autostarting programms on login

None of the daemons are the reason.

How do you login to xfce?  If you use xinit/startx could you post your ~/.xinitrc?  Actually, that file would be good regardless of how you login.  If you use a login manager (slim,xdm,gdm,etc) then please post your ~/.xsessions file.

Also check what is actually in /etc/xdg/autostart  (do this first - most likely candidate here)  Are there *.desktop files there?  Or any other files?

You can also check for autostart files in your home directory.  I'm not sure where xfce puts such files, but you can check ~/.config/xfce/* or related paths.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-06-10 11:38:36

Psykorgasm
Member
Registered: 2011-11-24
Posts: 177

Re: [SOLVED] a little help with autostarting programms on login

memax wrote:

DAEMONS=(alsa dbus networkmanager syslog-ng @crond @cupsd)
is one of theese the reason why thunar and firefox autostart?

Probably not, although you should move syslog-ng to the front if you want it to be useful, followed by @background jobs, then your  non background jobs.

Have you tried this; http://wiki.xfce.org/faq#session_manager ?

Offline

#4 2012-06-10 11:49:43

memax
Member
Registered: 2012-04-27
Posts: 19

Re: [SOLVED] a little help with autostarting programms on login

i am not using login manager so here is my .xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
xbindkeys
exec ck-launch-session dbus-launch startxfce4
# ...or the Window Manager of your choice

also in /etc/xdg/autostart i see theese .desktop


/etc/xdg/autostart/gnome-keyring-gpg.desktop
/etc/xdg/autostart/gnome-keyring-pkcs11.desktop
/etc/xdg/autostart/gnome-keyring-secrets.desktop
/etc/xdg/autostart/gnome-keyring-ssh.desktop
/etc/xdg/autostart/gsettings-data-convert.desktop
/etc/xdg/autostart/nm-applet.desktop
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
/etc/xdg/autostart/print-applet.desktop
/etc/xdg/autostart/xfce4-clipman-plugin-autostart.desktop
/etc/xdg/autostart/xfce4-notes-autostart.desktop
/etc/xdg/autostart/xfce4-power-manager.desktop
/etc/xdg/autostart/xfsettingsd.desktop
/etc/xdg/autostart/xscreensaver.desktop

Offline

#5 2012-06-10 11:55:04

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] a little help with autostarting programms on login

You probably had "Automatically save session on logout" selected and saved a session with them open.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2012-06-10 11:56:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,606
Website

Re: [SOLVED] a little help with autostarting programms on login

Check in ~/.config/autostart for additional .desktop files.  Also check that your xfce4 saved session isn't to blame.  There is a setting therein that will restore programs from saved sessions.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2012-06-10 11:59:29

memax
Member
Registered: 2012-04-27
Posts: 19

Re: [SOLVED] a little help with autostarting programms on login

i feel stupid now ... i probably saved session on logout in the past and all i had to do was
remove the content of ~/.cache/sessions/ directory as user Psykorgasm mentioned
thank to everyone smile

Offline

Board footer

Powered by FluxBB