LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 02-09-2018, 08:49 PM   #1
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Rep: Reputation: 7
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?
 
Old 02-09-2018, 09:31 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
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
 
Old 02-10-2018, 07:25 AM   #3
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
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)

Last edited by TxLonghorn; 02-10-2018 at 07:31 AM.
 
1 members found this post helpful.
Old 02-10-2018, 09:56 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
@TxLonghorn that's a capital idea, Brilliant!!!


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

Last edited by BW-userx; 02-10-2018 at 09:59 AM.
 
Old 02-11-2018, 06:39 AM   #5
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by BW-userx View Post
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!
 
Old 02-11-2018, 02:09 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by TxLonghorn View Post
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.
 
Old 02-11-2018, 06:31 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KDEInit could not launch '/usr/lib64/firefox-24.2.0/firefox on slackware error. contozo Linux - Newbie 0 02-02-2015 09:44 AM
[SOLVED] External links won't launch Firefox Ptah56 Linux - Software 2 08-07-2012 12:19 PM
Thunderbird won't launch firefox OC_eobard Linux - Software 4 07-11-2006 07:29 PM
Have Firefox Launch X on startup Johnathan4 Linux - Software 1 02-12-2005 10:02 AM
Firefox 1.0 won't launch w/Jre1.5.0 installed raysr Linux - Software 6 11-11-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration