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.

  • sir_reginald@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    11 months ago

    If you really need Brave, install the Flatpak. Not official, but neither it is the one from the package manager.

    I’d also recommend to just install Ungoogled Chromium instead of Brave and be done with it.

      • Perroboc@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        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
        
        • Libre Extremist@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          4
          ·
          edit-2
          11 months ago

          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
            link
            fedilink
            arrow-up
            6
            ·
            11 months ago

            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?

            • Libre Extremist@lemmy.mlOP
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              3
              ·
              11 months ago

              “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
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                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.

    • Libre Extremist@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      9
      ·
      11 months ago

      I don’t like to leave problems unsolved. Secondly, brave comes with default adblocker. What better FOSS chromium alternatives are there?

      • tutus@links.hackliberty.org
        link
        fedilink
        arrow-up
        11
        arrow-down
        2
        ·
        11 months ago

        Ungoogled Chromium, Iridium, Vivaldi.

        Note I don’t use any of them (I use Firefox) but I know they exist.

        • Kristof12@lemmy.ml
          link
          fedilink
          arrow-up
          4
          arrow-down
          3
          ·
          edit-2
          11 months ago

          Vivaldi is proprietary kek; and I use brave natively on debian, works nice for me

        • Libre Extremist@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          8
          ·
          11 months ago

          Ungoogled Chromium, Chromium and Brave are not verified on flathub. I already have regular Chromium, so I can’t install the ungoogled fork as they conflict with each other.

  • kraniax@lemmy.wtf
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    11 months ago

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

    I don’t know what you expected. There’s no need to be rude. Installing a Flatpak for example is a very valid answer and would definitely solve the problem.

    And initially you didn’t even say how did you install brave, which is quite relevant in order to find a solution.

    Edit: You put the error in a screenshot which leaves it rather useless for searching the error in the web. In general, I’d say that you have very little error solving skills and instead of thanking for “nothing” you should be thankful that people even bothered to answer.

    • Libre Extremist@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      “Installing a Flatpak for example is a very valid answer and would definitely solve the problem” That wasn’t a useless comment. Although it would not have helped, it was still in the right direction. Useless comments are those claiming that I should stop using brave and just stick to firefox.

      “You put the error in a screenshot which leaves it rather useless for searching the error in the web” I put the screenshot so that nothing is missed and I have seen this previously.

      “In general, I’d say that you have very little error solving skills” I would say that you have very weak probabilty and statistics skill, if you can generalise the entire sample space with just a singleton event.

      “and instead of thanking for “nothing” you should be thankful that people even bothered to answer.” Again, not directed to people who gave technical help or asked questions but only to those suggesting I just stick to FF or give up Brave.