this post was submitted on 30 Nov 2023
-3 points (42.1% liked)

Linux

48209 readers
1378 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi folks. I have installed Debian 12 bullseye with the lxqt desktop environment. I have run lxqt sessions on it using xfwm4, as well as i3wm, as the window manager. However, for some weird reason brave browser would not launch - neither in xfwm4 nor in i3-wm. So I tried to run the command in the shell to see what output it would produce. I have attached the image which shows the output of the command "brave-browser" in a terminal running the bash shell.

Please help to solve this problem. I love using Firefox but I also love having options and Brave happens to be one of my favourites. (In case, this is relevant, Chromium and Qutebrowser run without any issues. Only Brave is behaving in a weird manner).

EDIT: I have found the solution. One needs to add the flag --disable-features=AllowQt when running it from the command line. However, as I couldn't get hold of Brave's config file, I have just added an alias in my bashrc and made changes to brave's .dekstop file in /usr/share/applications and my i3 config file.

To the folks who posted useless comments instead of actually helping: Thanks for nothing.

you are viewing a single comment's thread
view the rest of the comments
[–] Perroboc@lemmy.world 2 points 11 months ago (1 children)

What .deb file? Their page says to add a repo and use apt:

sudo apt install 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] 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
[–] liberatedGuy@lemmy.ml -2 points 11 months ago* (last edited 11 months ago) (1 children)

My friend, when you install something using the apt package manager you are using a .deb file. It's something getting downloaded in the background from a server (debian.org or the brave one in this case) without you realising it. Make sense?

[–] Perroboc@lemmy.world 6 points 11 months ago (1 children)

My brother in Christ, installing a .deb is downloading the .deb directly, as you would when downloading discord from discord.com, and you use dpkg to install it (apt uses dpkg to install the deb file).

You saying “the deb file” is not the same as “using the official repo”, as dependencies might not have been installed by only using the .deb file.

Make sense?

[–] liberatedGuy@lemmy.ml -2 points 11 months ago (1 children)

"apt uses dpkg to install the deb file" Apt is a frontend for dpkg which needs a .deb file to install stuff. Apt searches for deb files in repos listed in sources.list, downloads them and then uses dpkg for installation.

[–] kraniax@lemmy.wtf 1 points 11 months ago

yes, but you missed an essential step of the process: apt handles dependencies for you. maybe not in this case, but installing .debs directly requires installing dependencies manually and it's not uncommon for people to forget about this and then saying that the program does not work.

installing from an apt repo is always better as long as the repo is trusted (and it should be if you're installing .debs from it anyway) because it handles dependencies and updates automatically. If you just install the .deb, you'll have to repeat the process per each update.