LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2021, 07:08 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
Manjaro KDE, change default brave browser to firefox when clicked on a link on any app.


Where is the setting to change running browser ?
When i clicked a link in telegram, it auto run brave browser.. even though i have had firefox browser running already..

I am using manjaro Kde.

I looked under /home/user1/.config/mimeapps.list
There is not even listed brave browser in it..
Where is the setting to change to firefox browser ?
Thx

Code:
[user1 .config]$ cat mimeapps.list 
[Added Associations]
audio/mpeg=vlc.desktop;
video/mp4=smplayer.desktop;mpv.desktop;vlc.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-WFBZ40.desktop;

[Default Applications]
audio/mpeg=vlc.desktop;
video/mp4=smplayer.desktop;
x-scheme-handler/callto=skypeforlinux.desktop
x-scheme-handler/rocketchat=rocketchat-desktop.desktop
x-scheme-handler/skype=skypeforlinux.desktop
x-scheme-handler/tel=org.kde.kdeconnect.handler.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-WFBZ40.desktop
[user1 .config]$
 
Old 12-16-2021, 07:19 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by andrewysk View Post
/home/user1/.config/mimeapps.list
This is only one of multiple possible places.
 
Old 12-16-2021, 07:27 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
What does
Code:
xdg-settings get default-web-browser
show?
See the EXAMPLES section of 'man xdg-settings' if it does not show firefox.
 
Old 12-16-2021, 08:00 AM   #4
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
What does
Code:
xdg-settings get default-web-browser
show?
See the EXAMPLES section of 'man xdg-settings' if it does not show firefox.

I tried this one.. but it is of no help.. because it only has 2 known properties:
default-url-scheme-handler
default-web-browser

One is as below, the other is no output.
Code:
$ xdg-settings get default-web-browser
firefox
When i clicked the url link in telegram it auto run brave browser..
 
Old 12-16-2021, 08:10 AM   #5
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
This is only one of multiple possible places.
i tried the whole list:
Code:
Path 	Usage
~/.config/mimeapps.list 	user overrides
/etc/xdg/mimeapps.list 	system-wide overrides
~/.local/share/applications/mimeapps.list 	(deprecated) user overrides
/usr/local/share/applications/mimeapps.list
/usr/share/applications/mimeapps.list 	distribution-provided defaults
none of them has got anything
Code:
$ cat /etc/xdg/mimeapps.list
cat: /etc/xdg/mimeapps.list: No such file or directory

$ cat ~/.config/mimeapps.list    
[Added Associations]
audio/mpeg=vlc.desktop;
video/mp4=smplayer.desktop;mpv.desktop;vlc.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-WFBZ40.desktop;

[Default Applications]
audio/mpeg=vlc.desktop;
video/mp4=smplayer.desktop;
x-scheme-handler/callto=skypeforlinux.desktop
x-scheme-handler/rocketchat=rocketchat-desktop.desktop
x-scheme-handler/skype=skypeforlinux.desktop
x-scheme-handler/tel=org.kde.kdeconnect.handler.desktop
x-scheme-handler/tg=userapp-Telegram Desktop-WFBZ40.desktop


$ cat ~/.local/share/applications/mimeapps.list

$ cat /usr/local/share/applications/mimeapps.list
cat: /usr/local/share/applications/mimeapps.list: No such file or directory

$ cat /usr/share/applications/mimeapps.list
cat: /usr/share/applications/mimeapps.list: No such file or directory
 
Old 12-16-2021, 08:23 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
According to this, if you are using KDE, go to System Settings -> Applications -> Web Browser and choose.
 
Old 12-16-2021, 08:33 AM   #7
lvm_
Member
 
Registered: Jul 2020
Posts: 927

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
You can add it to mimeapps.lst yourself - you will need to define handlers for at least http and https, and perhaps some other protocols similar to what you've got there for telegram, BUT have you tried going to firefox's settings and clicking 'make default'? KISS.
 
2 members found this post helpful.
Old 12-16-2021, 10:44 AM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
In gnome you can go to settings --> default applications and set the web browser default there.
 
Old 12-17-2021, 04:54 AM   #9
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lvm_ View Post
You can add it to mimeapps.lst yourself - you will need to define handlers for at least http and https, and perhaps some other protocols similar to what you've got there for telegram, BUT have you tried going to firefox's settings and clicking 'make default'? KISS.
Yes, you are right.. I just checked firefox .. it is not the default browser.. after checked it as default, telegram how open the link no longer in brave.

Sometime i think too much that, thought everything is handled by linux... in fact, i did thought by clicking the "make firefox default browser" it changes settings in linux setting...

Thanks..Sometime simple is relaxing... glad it solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Any slackbuild for Brave browser just.srad Slackware 19 03-10-2021 06:50 AM
Clicked a Phishing Link in Firefox on Ubuntu Mate 20.04 FuzzyHat Linux - Security 8 11-13-2020 03:38 PM
LXer: Brave takes brave stand against Google's plan to turn websites into ad-blocker-thwarting Web Bundles LXer Syndicated Linux News 0 08-29-2020 10:12 PM
[SOLVED] Firefox Freezes UI When a mailto Link is Clicked rshepard Linux - Software 3 10-16-2015 08:43 PM
Switch to firefox when link is clicked krazytekn0 Ubuntu 2 07-29-2007 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration