LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Firefox won't launch at startup. (https://www.linuxquestions.org/questions/linux-mint-84/firefox-wont-launch-at-startup-4175623463/)

LAPIII 02-09-2018 08:49 PM

Firefox won't launch at startup.
 
In Startup Applications, I added Firefox with Command /usr/bin/firefox. Did I do something wrong or maybe forgot something?

frankbell 02-09-2018 09:31 PM

Based on what little you tell us, it doesn't look like it. Did you type in the command or use a browse feature to browse to /usr/bin and select Firefox?

Next time you log in, immediately after you log in and Firefox fails to start, take a look at the log files.

I think Mint comes with rsyslog installed, which puts the output of SystemD into traditional log files in /var/log. Take a look at the log files. I don't have copy of Mint handy to consult, but look for log files named startup, system, syslog, messages, or the like.

Here's an article about searching log files in Mint 18, which does not include rsyslog: https://forums.linuxmint.com/viewtopic.php?t=223066

TxLonghorn 02-10-2018 07:25 AM

Try this:
Make your own autostart directory:
Code:

mkdir  .config/autostart
Then"
Code:

cp  /usr/share/applications/firefox.desktop  .config/autostart
That will put the launcher in your personal autostart folder - rather than the system autostart folder (/etc/xdg/autostart)

BW-userx 02-10-2018 09:56 AM

@TxLonghorn that's a capital idea, Brilliant!!! :thumbsup:


Code:

ls: cannot access '/usr/share/applications/fire*': No such file or directory
 
$ locate firefox.desktop
/usr/share/xfce4/helpers/firefox.desktop
/usr/share/applications/mozilla-firefox.desktop

$ cp /usr/share/applications/mozilla-firefox.desktop ~/.config/autostart

so it might maybe be mozilla-firefox.desktop ... fyi

TxLonghorn 02-11-2018 06:39 AM

Quote:

Originally Posted by BW-userx (Post 5818166)
Code:

ls: cannot access '/usr/share/applications/fire*': No such file or directory
 
$ locate firefox.desktop
/usr/share/xfce4/helpers/firefox.desktop
/usr/share/applications/mozilla-firefox.desktop

$ cp /usr/share/applications/mozilla-firefox.desktop ~/.config/autostart

so it might maybe be mozilla-firefox.desktop ... fyi

I had to guess at the name of the .desktop file, since I don't have firefox installed. My guess was wrong - my bad...
But you got it! Good job!

BW-userx 02-11-2018 02:09 PM

Quote:

Originally Posted by TxLonghorn (Post 5818456)
I had to guess at the name of the .desktop file, since I don't have firefox installed. My guess was wrong - my bad...
But you got it! Good job!

just two people working together for the common goal. To make this world a better place. :D :D :D

hydrurga 02-11-2018 06:31 PM

On my Mint 18.3 system, /usr/bin/firefox is a symbolic link to /usr/lib/firefox/firefox.sh

Entering the latter as a startup command works for me.


All times are GMT -5. The time now is 03:07 PM.