Can't change Firefox home page in Ubuntu MATE

Bug #1605887 reported by Luke Horwell on 2016-07-23
150
This bug affects 33 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Medium
Unassigned
ubuntu-mate
Low
Unassigned
ubuntu-gnome-default-settings (Ubuntu)
Medium
Unassigned
ubuntu-mate-settings (Ubuntu)
High
Martin Wimpress
Yakkety
High
Unassigned

Bug Description

The settings used to set the default Ubuntu MATE home page are currently always overriding the users' preferences, which defeats achieving a good user experience.

Steps to re-produce:

1) Open Firefox to the preferences page.
2) Set the home page to a different URL.
3) Close all instances of Firefox.
4) Open Firefox again, the Ubuntu MATE Start page has overwritten the preferences.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-mate-settings (Ubuntu):
status: New → Confirmed
Changed in ubuntu-mate-settings (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Changed in ubuntu-mate:
status: New → Triaged
importance: Undecided → Low
Dave Stroud (bigdavesr) wrote :

Sorry but I think the importance should be set to high.

vmc (vmclark) wrote :

The only solution is to change to desired location here: /usr/lib/firefox/ubuntumate.cfg

frenchy82 (cartes) wrote :

You can delete too this line in the file and firefox will works like it should

Dick Barmann (reb68) wrote :

I have that line in a terminal.How can I change or delete it.

GeorgeVita (f-ubantu-g) wrote :

How to delete the "sticky" homepage:

Open a terminal window (ctrl-alt-t) and run:
gksudo pluma /usr/lib/firefox/ubuntumate.cfg

Enter your password, delete home page configuration line, save, exit.
Finally, set your homepage from preferences menu within firefox.

Dave Stroud (bigdavesr) wrote :

this is now occurring in gnome 17.04.

This also affects 17.04 Beta 2 apparently according to this review:
https://www.youtube.com/watch?v=t-dVhs6YZMc

tags: added: zesty
Jeremy Bicha (jbicha) on 2017-04-09
Changed in ubuntu-gnome-default-settings (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in ubuntu-gnome:
importance: Undecided → Medium
status: New → Triaged
milestone: none → zesty
summary: - Ubuntu MATE Start page are overriding users' preferences.
+ Can't change Firefox home page in Ubuntu GNOME 17.04, Ubuntu MATE

This is what we currently have set. Ubuntu's default Firefox overrides the default homepage so this sets it back to the default. But you get the same bug if you set a different webpage for broser.startup.homepage. (Ubuntu Mate uses http://start.ubuntu-mate.org/ ) I also duplicated this bug with Firefox on Windows.

$ cat /usr/lib/firefox/ubuntu-gnome.cfg
//
pref("browser.startup.homepage", "about:home");

$ $ cat defaults/pref/all-ubuntu-gnome.js
pref("general.config.obscure_value", 0);
pref("general.config.filename", "ubuntu-gnome.cfg");

Jeremy Bicha (jbicha) wrote :

To be clear, that last file is stored at /usr/lib/firefox/defaults/pref/all-ubuntu-gnome.js

Jeremy Bicha (jbicha) wrote :

This can be fixed by using defaultPref instead of pref

https://developer.mozilla.org/Firefox/Enterprise_deployment

Changed in ubuntu-gnome-default-settings (Ubuntu):
status: Triaged → Fix Committed
Jeremy Bicha (jbicha) on 2017-04-10
Changed in ubuntu-gnome:
status: Triaged → Fix Committed
Changed in ubuntu-mate-settings (Ubuntu):
status: Triaged → In Progress
importance: Low → High
assignee: nobody → Martin Wimpress (flexiondotorg)
Changed in ubuntu-mate:
status: Triaged → Invalid
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-gnome-default-settings - 17.04.3

---------------
ubuntu-gnome-default-settings (17.04.3) zesty; urgency=medium

  * Use defaultPref instead of pref to allow users to change the
    Firefox homepage (LP: #1605887)

 -- Jeremy Bicha <email address hidden> Mon, 10 Apr 2017 05:50:30 -0400

Changed in ubuntu-gnome-default-settings (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-mate-settings (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-mate-settings - 17.04.7

---------------
ubuntu-mate-settings (17.04.7) zesty; urgency=medium

  * Use defaultPref instead of pref to allow users to change the Firefox
    homepage (LP: #1605887)

 -- Martin Wimpress <email address hidden> Mon, 10 Apr 2017 11:06:43 +0100

Changed in ubuntu-mate-settings (Ubuntu):
status: Fix Committed → Fix Released
Jeremy Bicha (jbicha) on 2017-04-10
Changed in ubuntu-mate-settings (Ubuntu Yakkety):
importance: Undecided → High
status: New → Triaged
no longer affects: ubuntu-gnome-default-settings (Ubuntu Yakkety)
summary: - Can't change Firefox home page in Ubuntu GNOME 17.04, Ubuntu MATE
+ Can't change Firefox home page in Ubuntu MATE
Changed in ubuntu-gnome:
status: Fix Committed → Fix Released
Richard Elkins (texadactyl) wrote :

Easy work-around for a single user system:

sudo vi /usr/lib/firefox/ubuntumate.cfg
Set the pref value (2nd string) to the desired home page.

For me, the result was this:
pref("browser.startup.homepage", "file:///home/elkins/www/html/index.html");

tags: removed: zesty
nmaxx (a33ypool3kbhd) wrote :

FYI, I ran into this bug again on the current 17.10 beta of Ubuntu MATE.

nmaxx (a33ypool3kbhd) wrote :

I just checked /usr/lib/firefox/ubuntumate.cfg in Artful and instead of

defaultPref("browser.startup.homepage", "https://start.ubuntu-mate.org");

it is

pref("browser.startup.homepage", "https://start.ubuntu-mate.org");

Definitely a regression here, but it should be easy to fix.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers