You are not logged in.

#1 2012-09-16 21:00:42

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Chromium starts at login automatically......[SOLVED]

I don't have Chromium listed in my startup programs but for some reason Chromium auto starts everytime I log into a Xfce4 session. I am using lxdm to log into a session and Chromium isn't my default internet browser.

I tried this tweak but nothing happened. Has anyone else encountered this problem in Xfce4 or with Chromium in general?

Last edited by rg_arc (2012-09-26 21:48:14)

Offline

#2 2012-09-16 21:16:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Chromium starts at login automatically......[SOLVED]

Take a look in ~/.config/autostart and see if there is a .desktop file in there for it.  If there is, delete it (or move it out of the directory)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-09-16 21:42:03

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

The only application in that directory is Dropbox. I don't see Chromium in there.

Last edited by rg_arc (2012-09-16 21:47:59)

Offline

#4 2012-09-16 23:05:23

defears
Member
Registered: 2010-07-26
Posts: 218

Re: Chromium starts at login automatically......[SOLVED]

Delete what is in ~/.config/xfce4-session and uncheck save sessions. Then re-login.

Offline

#5 2012-09-16 23:43:56

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

I've already unchecked save sessions... and there isn't anything to delete in that directory or anything hidden to delete.

Offline

#6 2012-09-17 00:05:24

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: Chromium starts at login automatically......[SOLVED]

check chromium options
I remmember that chromium have an option related to autostart


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#7 2012-09-17 00:24:54

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

https://support.google.com/chrome/bin/a … open_pages

I found this... but there isn't anything I can find that relates to stopping Chrome from starting up automatically.


edit: I was browsing through ~/.config and even though I didn't find anything in autostart I did find that Chromium had its own directory along with xfce4 etc.. Would this have something to do with Chromium starting up every session? If so, where should I look to fix this problem?

Last edited by rg_arc (2012-09-17 00:55:51)

Offline

#8 2012-09-19 05:21:05

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

I tried several tweaks to see if Chromium would stop autoloading. Firefox is my default browser so I thought maybe leaving that browser open before I shutdown would save it upon the next log in but that didn't work. Does anyone have any more suggestions?

Offline

#9 2012-09-25 21:54:57

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

Unfortunately, I still haven't been able to pinpoint the problem. I looked in /etc/xdg/autostart and I didn't see Chromium in there either.

Offline

#10 2012-09-25 22:37:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Chromium starts at login automatically......[SOLVED]

Okay, lets go fishing.  Aside from warnings about things being directories, does this print anything:

find ~/.config/xfce4/ -exec grep chromium '{}' \;  -print

??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2012-09-26 00:11:39

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

$ find ~/.config/xfce4/ -exec grep chromium '{}' \; -print
grep: /home/ricky/.config/xfce4/: Is a directory
grep: /home/ricky/.config/xfce4/panel: Is a directory
grep: /home/ricky/.config/xfce4/panel/launcher-4: Is a directory
Exec=chromium %U
Icon=chromium
X-XFCE-Source=file:///usr/share/applications/chromium.desktop
/home/ricky/.config/xfce4/panel/launcher-4/13481708091.desktop
grep: /home/ricky/.config/xfce4/panel/launcher-11: Is a directory
grep: /home/ricky/.config/xfce4/panel/launcher-13: Is a directory
grep: /home/ricky/.config/xfce4/xfwm4: Is a directory
grep: /home/ricky/.config/xfce4/desktop: Is a directory
grep: /home/ricky/.config/xfce4/xfconf: Is a directory
grep: /home/ricky/.config/xfce4/xfconf/xfce-perchannel-xml: Is a directory
$

Hmm... that cleared up alot of confusion thanks. So what should I do now? Do I delete that icon from the directory?

Last edited by rg_arc (2012-09-26 00:22:05)

Offline

#12 2012-09-26 01:01:05

luvfree
Member
Registered: 2012-08-29
Posts: 81

Re: Chromium starts at login automatically......[SOLVED]

This is what I use when my autostart gets messed up.
Works every time for me.
$ rm ~/.cache/sessions/x*

Last edited by luvfree (2012-09-26 01:04:58)


Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!

Offline

#13 2012-09-26 03:25:25

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

I don't have a X file in my cache/sessions directory.... But I do have xfce-session-<username>:0 and some other files realted to thunar...

Offline

#14 2012-09-26 12:41:05

luvfree
Member
Registered: 2012-08-29
Posts: 81

Re: Chromium starts at login automatically......[SOLVED]

rg_arc wrote:

I don't have a X file in my cache/sessions directory.... But I do have xfce-session-<username>:0 and some other files realted to thunar...

See my last post and ignore this one.

Last edited by luvfree (2012-09-26 16:53:51)


Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!

Offline

#15 2012-09-26 13:01:29

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Chromium starts at login automatically......[SOLVED]

Perhaps some files found in /etc/xdg?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#16 2012-09-26 14:56:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: Chromium starts at login automatically......[SOLVED]

I am out of ideas.  One last thing you might try; see if you can figure out what spawned chromium by looking at the output of  ps -ejH


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#17 2012-09-26 16:41:38

luvfree
Member
Registered: 2012-08-29
Posts: 81

Re: Chromium starts at login automatically......[SOLVED]

rg_arc wrote:

I don't have a X file in my cache/sessions directory.... But I do have xfce-session-<username>:0 and some other files realted to thunar...

did you run the command or just go looking for an x file?
in that command x is used with a wildcard so it removes all cache files beginning with x
which means it will remove that xfce-session-<username>:0 file
it always works for me.
in fact I used it today to stop cairo-dock from starting 2 docks when I log in.
if for some reason you're afraid to run this command you'll find it in the cairo-dock wiki.

Last edited by luvfree (2012-09-26 16:57:43)


Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!

Offline

#18 2012-09-26 21:45:33

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium starts at login automatically......[SOLVED]

ok finally it worked.. I just found that <username> file and deleted it as well as the backup file and now Chromium stays where it belongs. That command you mentioned with the wild card didn't work for some reason so I just deleted it manually... Thanks everyone this is solved

Offline

Board footer

Powered by FluxBB