Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use Epiphany. That is a Web browser. Some Web sites say "designed for use with Firefox". They cause lots of trouble, until I go into 'about:config' and change the user agent to "Firefox/2.0". Then the Web sites that are "designed for use with Firefox" suddenly work great.
The problem:
The about:config user agent information keeps reseting every time I reload Epiphany.
How can I keep this information from reseting? I want it always to be set at "Firefox/2.0"
I've never really used Epiphany before, I'm a Firefox and Opera man myself, but try opening Epiphany as root, and setting the user agent as root. Here's how:
1. Open a terminal.
2. type:
Code:
su
and enter the root password.
3. type in the terminal:
Code:
epiphany
4. when it opens, follow the same steps you did before to change the user agent.
I don't know if this will work or not, just a guess
Woah, hang on, don't do that. There's no reason to ever run a web browser as root, and a setting like this is all internal/in user-owned config files.
I don't know anything about epiphany, but I Googled a little and came up with this. It doesn't make any mention of permanence, but my guess is that it will stick if you set it with a new entry like that.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Perhaps the epiphany-extensions package has an extension for switching the user-agent. I don't think this would prevent you from having to reset it each time, but it may make resetting it less of a hassle.
Woah, hang on, don't do that. There's no reason to ever run a web browser as root, and a setting like this is all internal/in user-owned config files.
I don't know anything about epiphany, but I Googled a little and came up with this. It doesn't make any mention of permanence, but my guess is that it will stick if you set it with a new entry like that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.