当前位置:网站首页>[Galaxy Kirin V10] [desktop] Firefox browser settings home page does not take effect
[Galaxy Kirin V10] [desktop] Firefox browser settings home page does not take effect
2022-06-30 02:06:00 【GUI Anjun @kylinos】
1、 Problem description
The way Firefox sets the home page is in settings “ Preferences ”--->“ routine ”--->“ Home page ”, Here's the picture :

Change the home page to the specified website , such as https://www.baidu.com, It doesn't work after restart .
2、 Problem analysis
Check the configuration file read by Firefox homepage settings , You can enter... In the browser search box about:config

Search... In the search box browser.startup.homepage, As can be seen in the figure below , This value is restored to the default value after the browser restarts , The default value is read locally /usr/share/doc/HTML/index.html The file of , Set up for the homepage of Firefox bug.

3、 Solution
Method 1: Change default home page file index.html
As can be seen from the above analysis , Setting the home page is actually changing browser.startup.homepage Worth reading , Can be /usr/share/doc/HTML/index.html Replace with the homepage URL that needs to be set html file (html file ctrl+s You can download it locally ), Note that the name should be changed to index.html.
Method 2: Change Firefox browser directly js The configuration file
Open the terminal , Enter the following command :
# Use pluma A text editor opens the configuration file , Easy to use vim Common user actions for commands
sudo pluma /usr/lib/firefox/browser/defaults/preferences/syspref.jsHere's the picture , take usr_pref Change the value to... Of the home page you want to set http address , Take setting Baidu as the home page as an example :
Before change :

After the change :

Save and exit , Close the text editor directly
Restart Firefox to take effect , Here's the picture :

Method 3: Set browser shortcuts directly
For operation methods, please refer to the link :
边栏推荐
- C language output integer in another format
- Let‘sPlayCurling
- 如何制作CSR(Certificate Signing Request)文件?
- If you want to install a set of monitoring, what is the process? How much is it?
- 9 - regular check set
- Conversion between opencv and image (valid for pro test)
- What are the payment and distribution systems?
- What to remember about the penalty for deduction of points in Item 1
- Geotools wkt coordinate system conversion
- Jenkins continuous integration environment build 8 (configure mailbox server to send build results)
猜你喜欢

The first technology podcast month will begin soon

【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库

007_ checkbox

001_ layout
![[MySQL 05] SUSE 12 SP5 modifies the MySQL password for the first time after installing MySQL](/img/37/d24c9e5fad606d2623900ad018b6af.png)
[MySQL 05] SUSE 12 SP5 modifies the MySQL password for the first time after installing MySQL

【MySQL 05】SUSE 12 SP5 安装MySQL后第一次修改mysql密码

Add a second network card (network interface NIC) for the virtual machine in azure portal in 2 minutes

Cookie encryption 11

013_ slider

搞透AQS原理(流程圖及同步隊列圖解)
随机推荐
[graph neural network] summary of graph classification study [3]: evaluation of graph classification methods and future research directions
scp远程拷贝命令记录
Cookie encryption 11
C language score ranking
Jenkins continuous integration environment construction VII (Jenkins parametric construction)
Share the source code of the website of graduation student record
The (3n+1) conjecture that C language kills people without paying for their lives
Varnish foundation overview 6
Cookie encryption 13
Pytorch中transforms的用法整理
谁再用Redis过期监听实现关闭订单,立马滚蛋!
UE5的蓝图节点拷贝到UE4后连线和属性值全部丢失了
假離婚變成真離婚,財產怎麼辦
8 — router
DMX configuration
MySQL monitoring 2
C language continues (3n+1) conjecture
MySQL monitoring 6
一种跳板机的实现思路
007_ checkbox