Kali Linux Install Brave browser: Difference between revisions

From WikiMLT
m (Стадий: 4 [Фаза:Авторизиране, Статус:Разработен]; Категория:Linux Desktop)
Line 76: Line 76:
{{devStage  
{{devStage  
  | Прндл  = Linux Desktop
  | Прндл  = Linux Desktop
  | Стадий = 3
  | Стадий = 4
  | Фаза  = Разработване
  | Фаза  = Авторизиране
  | Статус = Разутвърден
  | Статус = Разработен
  | ИдтПт  = Spas
  | ИдтПт  = Spas
  | РзбПт  = {{REVISIONUSER}}
  | РзбПт  = Spas
  | АвтПт  = Spas
  | АвтПт  = {{REVISIONUSER}}
  | УтвПт  = Spas
  | УтвПт  = Spas
  | ИдтДт  = 9.07.2022
  | ИдтДт  = 9.07.2022
  | РзбДт  = {{Today}}
  | РзбДт  = 20.09.2022
  | АвтДт  = 9.07.2022
  | АвтДт  = {{Today}}
  | УтвДт  = 20.09.2022
  | УтвДт  = 20.09.2022
  | ИдтРв  = [[Special:Permalink/27831|27831]]
  | ИдтРв  = [[Special:Permalink/27831|27831]]
  | РзбРв  = {{REVISIONID}}
  | РзбРв  = [[Special:Permalink/31628|31628]]
  | АвтРв  =  
  | АвтРв  = {{REVISIONID}}
  | РзАРв  = [[Special:Permalink/27841|27841]]
  | РзАРв  = [[Special:Permalink/27841|27841]]
| УтвРв  =
  | РзУРв  = [[Special:Permalink/31626|31626]]
  | РзУРв  = [[Special:Permalink/31626|31626]]
}}
}}
</div>
</div>
</noinclude>
</noinclude>

Revision as of 11:19, 20 September 2022

In­stal­la­tion

Kali Lin­ux is a De­bian based dis­tri­b­u­tion, so we can in­stall the Brave brows­er in the same way as it is de­scribed in the Brave's of­fi­cial doc­u­men­ta­tion. In the fol­low­ing steps we will add the re­lease chan­nel repos­i­to­ry of Brave and then in­stall it,

sudo apt update && sudo apt install apt-transport-https curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg \
https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
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
sudo apt update && sudo apt install brave-browser

Set­tings

  • If you are us­ing your lo­cal DNS ser­vice as Pi­hole, you may need to dis­able the op­tion Use se­cure DNS with­in brave://settings/.
  • Clear host cache via: brave://net-internals/#dns

Ref­er­ences

Fix "Show in fold­er" op­tion

Out of the box the op­tion "Show in fold­er" – po­si­tion A at Screen 1 – doesn't open the tar­get di­rec­to­ry which is set as de­fault File ex­plor­er. This is­sue is al­so valid for the oth­er Chromi­um and Fire­fox based browsers.

Screen 1. Brave brows­er – the op­tion "Show in fold­er". Screen 1. Brave browser - the option "Show in folder".

The on­ly work­ing so­lu­tion I've found is that shown be­low.

sudo nano /etc/dbus-1/session-local.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">

<busconfig>
  <policy context="default">
    <!-- Block all usage of org.freedesktop.FileManager1 for opening files -->
    <deny send_interface="org.freedesktop.FileManager1" send_destination="org.freedesktop.FileManager1"/>
  </policy>
</busconfig>
dbus-send --session --print-reply --dest=org.freedesktop.DBus --type=method_call /org/freedesktop/DBus org.freedesktop.DBus.ReloadConfig

Source, oth­er ap­proach­es and ref­er­ences: