Published: 07 Mar 2018 › Updated: 07 Mar 2018![[Linux] Set as random the Firefox browser homepage.](/nhc-explorer-cover.webp)
![[Linux] Set as random the Firefox browser homepage.](/nhc-explorer-cover.webp)
[Linux] Set as random the Firefox browser homepage.
First of all put a list of selected urls (one per line) in a file called urls.txt and save it in ~/.mozilla/firefox/*.default/urls.txt. Then put the follow code at the very begin of /usr/lib/firefox/firefox.sh (just below of the "shabang" #!/bin/sh):
ddrs=$(shuf-n1~/.mozilla/firefox/*.default/urls.txt) nwli="user_pref(\"browser.startup.homepage\","$ddrs");" sed-i"/browser.startup.homepage/c\\$nwli"~/.mozilla/firefox/*.default/prefs.js
Leave [Linux] Set as random the Firefox browser homepage. to:
Read more #browser posts
Best Posts From TanNoisEr-IT
We have not curated any of oneshot's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From TanNoisEr-IT
- MiniPC "NiPoGi - Gust G1 Mini PC ΑD Ryzen 9"
- [linux] Directories che diventano enormi con il tempo...
- DNS LINUX DESKOTP CONFIGS UPDATE
- LINUX solved issues. [bk]
- HIVE Community
- My First Post
- --- Installation of Linux MX on an old ASUS laptop --- Custumizing PART-01
- Pre-Installation Steps Of MX-LINUX On An Old ASUS Laptop From Usb Stick.
- LINUX solved issues.
- #Linux 5 [play, chvt, arecord, mutt, curl] useful cli oneliners.