Bonum Certa Men Certa

Brave Browser Installation and Setup on Debian 12



Reprinted with permission from Ryan Farmer.

Brave



Installing the Brave Web browser on Debian 12 is fairly straightforward.



You basically have two options.



Brave’s official Apt repository, which uses the native Debian packaging format, or the Flatpak if you’ve installed Flatpak support, as I discussed in my post about setting up Debian 12 (for KDE users…as Flathub only has setup instructions that are appropriate for GNOME) in my recent post.



Since the Flathub version is basically just Flathub making an unofficial Flatpak by dumping out one of the native packages (DEB or RPM, I don’t know) and then “sandboxing it”, which would block file system access to some of my extensions, I decided to use the native Debian package.



Brave has instructions here and recommends using theirs and not the unofficial Flatpak.



While it is ultimately up to you, we highly recommend only using official sources to download/install Brave.



You can download the Beta from our official website here.

-Brave’s Official Position on the Flathub version


However, I was hit by a small issue where, since I have multi-arch support set up to bring in 32-bit x86 libraries to run Windows 32-bit software in Wine, and Brave does not specify an arch, and they don’t have a 32-bit version of Brave, it led to an unsightly complaint about this from Apt every time I did apt update.



To remove the complaint, I followed the instructions here.



Since I already had the repository set up, I just opened /etc/apt/sources.list.d/brave-browser-release.list in nano.



sudo nano /etc/apt/sources.list.d/brave-browser-release.list



Then you see something like this:



echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list





So you change it to add “arch=amd64” (no quotes) after the “keyring.gpg”. It will look like this:



echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list





Then Ctrl+X and Y to save it and close nano. Then proceed to install Brave:



sudo apt update && sudo apt install brave-browser



Once you open Brave, you can begin setting the browser up.



Like most Web browsers, it offers to import everything from the browsers you have on your system. In my case, it found Firefox ESR and offered to import everything out of that. So I told it yes, and everything from Firefox re-appeared in Brave.



From this point, it was a matter of finding and turning off the Brave Rewards stuff, the visual clutter in the New Tab page, the widget for Rewards in the address bar, and “sponsored wallpapers” and “Brave News”.



Once I had done that, I went to Brave Shields (the ad blocker and anti-fingerprinting system), and chose aggressive ad blocking and aggressive anti-fingerprinting, and clicked on “Content Filtering” and set up the following extra block lists.



(Unlike some sad trashy Web browser from Microsoft or other ones from Google and Mozilla, Brave has a built-in ad blocker that will be totally exempt from Google’s upcoming ManifestV3 limitations. It blocks all kinds of garbage, but we can do better.)



Easylist Cookie



Fanboy’s Annoyances



Fanboy’s Social



Fanboy’s Anti-Newsletter



Fanboy’s Anti-Chat apps



Fanboy’s Mobile Notifications



ublock Annoyances (to be used with Fanboy’s Annoyances)



YouTube Mobile Distractions



YouTube Mobile Recommendations



Then I went to Social Media Blocking.



Disabled Facebook, LinkedIn, and Twitter embedded content and logins.



Went to Search engine/Manage search engines and site search.



Added Searx Belgium by clicking Add next to Site Search.



Search engine:



Searx Belgium



Shortcut:



sb



URL with %s in place of query:



https://searx.be/search?q=%s



(Click Add, then click the three dots on the right of the entry and Make Default)



Extensions:



Disable WebTorrent (it’s not great…KTorrent or others are better)



Disabled Widevine (Google’s Web DRM)



Web3



Turn off “Show Brave Wallet Icon in Toolbar”



Appearance:



Brave colors: Dark



System:



Memory Saver: On



(Set up any sites you want to exempt from being potentially unloaded in the background to save memory.)



Then I install my add-ons:



Sponsorblock for YouTube



Plasma Integration (By KDE, for better desktop integration with KDE)



Bypass Paywalls (Follow the instructions on the site for Chrome.)



NoScript Security Suite (Blocks JavaScript and other trash by default and lets the user whitelist domains.) (Exported my whitelist from LibreWolf and then imported the txt file to NoScript in Brave.)



Video Download Helper (needs CoApp for file system access if you save from HLS streams where the browsers download won’t work. Won’t work if you have browser from Flatpak)



(Linux users don’t need a license to use the Premium features in this extension, per the developer.)



“Because of Chrome Web Store policy, it is not possible to provide the ability to download from YouTube (Google owns both YouTube and Chrome and is abusing of this position).”

-Video Download Helper


Debian has yt-dlp which isn’t limited by the Chrome Web Store (and works on a lot of sites).



sudo apt install yt-dlp



Now Brave should be basically set up the way I use it.



Set up a Sync chain with your other devices and computers if you want to.



A note about a few other features I like in Brave:



Tor Mode



Brave support browsing in Private Mode over the Tor network. It isn’t as safe as using the Tor Browser, but it will stop your ISP or library or school or work WiFi from logging what you’re doing while you use their network to browse the Web.



Brave recommends using this for “privacy”, but not “bet your life on it”. If you live under an evil regime that is hell bent on unmasking you, it’s better to use the Tor Browser (and with the security slider on High if possible, or Medium failing that).



Potentially also useful as a second layer of defense for your VPN.



Speedreader



You can use this manually or have it activate itself whenever you encounter an article, to “blow away the junk” and automatically go to Reading Mode.



Web Apps



Install any site as its own dedicated application and pin it to your Taskbar.



Removes Google AMP links automatically.



Google AMP is a serious threat to Web users. It’s basically fraud. You can’t even tell that you’re using a Google server and not the site you think you’re on, and they’re made to make it harder to filter unwanted content out of than a real site.



Brave removes AMP and redirects you to the real Web site.



(Mainly a problem with news sites, especially in the Google App on Android. Brave removes AMP on their Android browser too.)



In summary, Brave is all kinds of cool.



They rip out the creepy junk from Chrome and leave you alone to browse the Web in peace.



The browser is quite fast and as secure as a Web browser is likely to be these days.



NoScript blocking most of the Active Scripting and related junk on the Web makes it even safer and faster.



Recent Techrights' Posts

Read "Google Is Not What It Seems" by Julian Assange
In this extract from his new book When Google Met Wikileaks, WikiLeaks' publisher Julian Assange describes the special relationship between Google, Hillary Clinton and the State Department -- and what that means for the future of the internet
Julian Assange: Factual Timeline From an Online Friend
a friend's account
Breaking News: Assange Wins Right to Challenge Extradition to the US
This is great news, but maybe the full legal text will reveal some caveat
Brittany Day, Plagiarist in Chief (Chatbot Slinger)
3 articles in the front page of LXer.com right now are chatbot spew
Guardian Digital, Inc (linuxsecurity.com) Has Resorted to Plagiarism by Chatbots, Flooding the World Wide Web With Fake 'Articles' Wrongly Attributed to Brittany Day
busted
Microsoft-Connected Sites Trying to Shift Attention Away From Microsoft's Megabreach Only Days Before Important If Not Unprecedented Grilling by the US Government?
Why does the mainstream media not entertain the possibility a lot of these talking points are directed out of Redmond?
 
Gemini Links 20/05/2024: CMSs and Lua "Post to midnight.pub" Script Alternative
Links for the day
Windows Has Fallen Below 5% in Iraq, GNU/Linux Surged Beyond 7% Based on statCounter's Stats
Must be something going on!
Brodie Robertson - Never Criticise The Linux Foundation Expenses (With Transcript)
Transcript included
Links 20/05/2024: Protests and Aggression by Beijing
Links for the day
Can an election campaign succeed without social media accounts?
Reprinted with permission from Daniel Pocock
Fact check: relation to Julian Assange, founded Wikileaks at University of Melbourne and Arjen Kamphuis
Reprinted with permission from Daniel Pocock
Gambia: Windows Down to 5% Overall, 50% on Desktops/Laptops
Windows was measured at 94% in 2015
Links 20/05/2024: Microsoft Layoffs and Shutdowns, RTO as Silent Layoffs
Links for the day
The Issue With Junk Traffic in Geminispace (Gemini Protocol)
Some people have openly complained that their capsule was getting hammered by bot
Peter Eckersley, Laura Smyth & the rushed closure of dial-up Internet in Australian universities
Reprinted with permission from Daniel Pocock
[Meme] Bullying the Victims
IBM: crybully of the year 2024
Ian.Community Should be Safer From Trademark Censorship
We wish to discuss this matter very quickly
Microsoft and Its Vicious Attack Dogs (Attacking Women or Wives in Particular)
Sad, pathetic, destructive people
Upcoming Series About the Campaign to 'Disappear' the Father of GNU/Linux
Today we have Julian Assange's fate to focus on
A Month From Now Gemini Protocol Turns 5
June 20
Colombia: From Less Than 0.5% to Nearly 4% for GNU/Linux
it's not limited to this one country
Rumour: Well Overdue Red Hat Layoffs to be Announced in About 3 Days
we know they've planned the layoffs for a while
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, May 19, 2024
IRC logs for Sunday, May 19, 2024
Gemini Links 20/05/2024: Updated Noto Fontpacks and gemfeed2atom
Links for the day
GNU/Linux in Georgia: Looking Good
Windows down from 99% to less than 33%
Tomorrow is a Historic Day for Press Freedom in the UK
Take note of the Julian Assange case
Hiding in a Forest Without a Phone and Hiding Behind the First Amendment in the United States (US)
some serial defamer is trying to invert the narrative
Links 19/05/2024: Iran's President Lost in Helicopter Crash, WikiLeaks’ Julian Assange Awaits Decisions in Less Than a Day
Links for the day
Links 19/05/2024: Microsoft Investigated in Europe
Links for the day
4 Old Articles About Microsoft/IBM SystemD
old but still relevant
Firefox Has Fallen to 2% in New Zealand
At around 2%, at least in the US (2% or below this threshold), there's no longer an obligation to test sites for any Gecko-based browser
Winning Streak
Free software prevalence
Links 19/05/2024: Conflicts, The Press, and Spotify Lawsuit
Links for the day
GNU/Linux+ChromeOS at Over 7% in New Zealand
It's also the home of several prominent GNU/Linux advocates
libera.chat (Libera Chat) Turns 3 Today
Freenode in the meantime continues to disintegrate
[Teaser] Freenode NDA Expires in a Few Weeks (What Really Happened 3 Years Ago)
get ready
GNU/Linux is Already Mainstream, But Microsoft is Still Trying to Sabotage That With Illegal Activities and Malicious Campaigns of Lies
To help GNU/Linux grow we'll need to tackle tough issues and recognise Microsoft is a vicious obstacle
Slovenia's Adoption of GNU/Linux in 2024
Whatever the factor/s may be, if these figures are true, then it's something to keep an eye on in the future
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, May 18, 2024
IRC logs for Saturday, May 18, 2024
Links 19/05/2024: Profectus Beta 1.2
Links for the day
Site Archives (Not WordPress)
We've finally finished the work
[Meme] The EPO Delusion
on New Ways of Working
EPO Representatives Outline Latest Attacks on Staff
Not much has happened recently in terms of industrial action
Links 18/05/2024: Revisiting the Harms of Patent Trolls, Google Tries to Bypass (or Plagiarise) Sites Under the Guise of "AI"
Links for the day
Links 18/05/2024: BASIC Story, Site Feeds, and New in Geminispace
Links for the day
GNU/Linux in Kyrgyzstan: From 0.5% to 5% in Eight Years
the country is almost the size of the UK
Justice for Victims of Online Abuse
The claims asserted or pushed forth by the harasser are categorically denied
[Meme] Senior Software Engineer for Windows
This is becoming like another Novell
Links 18/05/2024: Deterioration of the Net, North Korean IT Workers in the US
Links for the day
Windows in Lebanon: Down to 12%?
latest from statCounter
[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Links 18/05/2024: Caledonia Emergency Powers, "UK Prosecutor's Office Went Too Far in the Assange Case"
Links for the day
Microsoft ("a Dying Megacorporation that Does Not Create") and IBM: An Era of Dying Giants With Leadership Deficits and Corporate Bailouts (Subsidies From Taxpayers)
Microsoft seems to be resorting to lots of bribes and chasing of bailouts (i.e. money from taxpayers worldwide)
US Patent and Trademark Office Sends Out a Warning to People Who Do Not Use Microsoft's Proprietary Formats
They're punishing people who wish to use open formats
Links 18/05/2024: Fury in Microsoft Over Studio Shutdowns, More Gaming Layoffs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 17, 2024
IRC logs for Friday, May 17, 2024
Links 18/05/2024: KOReader, Benben v0.5.0 Progress Update, and More
Links for the day