automatically starting program
Hi,
evince starts automatically still I used it at first time, but I want to do not.
I tried to edit it from main menu -> Settings -> Session -> Automatically starting applications, but there is no evince. (The path is translated, so it may be different in English version of Xfce - I hope it is understandable.)
Where can I stop these applications in Xfce and where in command line?
Thanks in advance,
m
Re: automatically starting program
Start the xfce4-autostart-editor and remove the application(s).
You can also manually delete those files in ~/Desktop/Autostart and ~/.config/autostart.
Most of the time closing all the applications and saving your session when you logout is sufficient. If this doesn't work, remove the content of the ~/.cache/sessions/ folder when you're not logged in. And if you don't want xfce remember every session you should turn off (uncheck) “Automatically save session on logout” in Settings Manager → Sessions and Startup (tab General).
Re: automatically starting program
Quote:
Originally Posted by
slickymaster
Start the xfce4-autostart-editor and remove the application(s).
You can also manually delete those files in ~/Desktop/Autostart and ~/.config/autostart.
There is no application like xfce4-au* in command line and package list and ~/Desktop/Autostart, ~/.config/autostart are also missing.
Quote:
Originally Posted by
slickymaster
Most of the time closing all the applications and saving your session when you logout is sufficient. If this doesn't work, remove the content of the ~/.cache/sessions/ folder when you're not logged in. And if you don't want xfce remember every session you should turn off (uncheck) “Automatically save session on logout” in Settings Manager → Sessions and Startup (tab General).
I've checked before and set - same.
Re: automatically starting program
Quote:
Originally Posted by
madnbri
There is no application like xfce4-au* in command line and package list and ~/Desktop/Autostart, ~/.config/autostart are also missing.
Yes there is. See this and this.
Re: automatically starting program
Quote:
Originally Posted by
slickymaster
No, there isn't. See this:
Code:
me@mycomp:~$ sudo apt-get install xfce4-autostart-editor
Reading package list… Ready0%
Building dependence tree
Reading status information… Ready
E: This package cannot be found: xfce4-autostart-editor
Re: automatically starting program
You're right. Xfce4-autostart-editor has been integrated in xfce4-session-settings since Xfce 4.6.
Re: automatically starting program
Quote:
Originally Posted by
slickymaster
If this doesn't work, remove the content of the ~/.cache/sessions/ folder when you're not logged in.
Have you tried this? It sounds like evince is saved in the cached sessions.
Re: automatically starting program
Quote:
Originally Posted by
Toz
Have you tried this? It sounds like evince is saved in the cached sessions.
Yes, I had a similar problem but with Chrome, every time I logged into my account, Chrome would automatically launch itself.
After a lot of fiddling with no success I come upon Xfce wiki web page where they mention the fact that there are two possible reasons why applications are always started at login. Quoting:
Quote:
It is saved in the last session or it is listed in the auto started applications.
Re: automatically starting program
Quote:
Originally Posted by
Toz
Have you tried this? It sounds like evince is saved in the cached sessions.
Yes, but these files don't exist. Where can I found session data?
Re: automatically starting program
Quote:
Originally Posted by
madnbri
Yes, but these files don't exist. Where can I found session data?
The xfce4-session program starts up the Xfce Desktop Environment and is typically executed by your login manager. It will load your last session or a default session that includes the standard Xfce programs if no saved session is available.
xfce4-session uses the contents of the ~/.cache/sessions/ directory for starting previously saved sessions and reads its configuration from the file $XDG_CONFIG_DIRS/xfce4-session/xfce4-session.rc.
xfce4-session stores its session data into $XDG_CACHE_HOME/sessions/.
All the information is available in the Xfce Docs.