当前位置:网站首页>[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.js
Here'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 :
边栏推荐
- Circular right shift of array elements in C language
- Upload, use of Avatar
- Encapsulate a complete version of the uniapp image and video upload component, which can be used immediately, switch between images and videos, customize the upload button style, delete the button sty
- C language continues (3n+1) conjecture
- Looking for thesaurus data [closed]
- DMX的配置
- Want to change careers, but don't know what you want to do?
- Cookie encryption 11
- Restore a 35k-55k Tencent Android Senior Engineer Interview
- 209. minimum length subarray - sliding window
猜你喜欢
DMX configuration
Share the source code of the website of graduation student record
AI landing manufacturing: intelligent robots should have these four abilities
魔百盒CM201-2-CH-Hi3798MV300-300H-EMMC和NAND_红外蓝牙语音_通刷固件包
[graph neural network] summary of graph classification study [3]: evaluation of graph classification methods and future research directions
一次 Keepalived 高可用的事故,让我重学了一遍它!
003_ color
Spark 离线开发框架设计与实现
Unity2d-- add keys to animation and bind events
Illustration Google V8 19: asynchronous programming (II): how does V8 implement async/await?
随机推荐
Application features and functions of painting Aquarium
MySQL monitoring 3
8 — router
CheapSwap 协议的诞生
Pytorch中transforms的用法整理
Cookie encryption 12
Varnish foundation overview 3
Understand AQS principle (flow chart and synchronous queue diagram)
【MySQL 04】使用MySQL Workbench 8.0 CE 备份及恢复Linux中的MySQL数据库
Scala基础【入门及安装】
The first technology podcast month will begin soon
C language output integer in another format
Local page floating animation is realized with the help of scroll wheel
UE5的蓝图节点拷贝到UE4后连线和属性值全部丢失了
9 — 正则校验集合
Comprendre le principe AQS (organigramme et schéma de file d'attente synchrone)
7 — filter
DTW学习(dynamic time warping)——思想、代码实现
207. curriculum - graph theory, depth traversal
Leetcode 46 Full arrangement (February 15, 2022)