You are not logged in.

#1 2022-06-23 08:20:52

John Path
Member
Registered: 2021-10-15
Posts: 57

[Solved] Broken xdg-open

Hi there,

My magnet link is not working properly, i am using transmission-gtk.

xdg-mime query default x-scheme-handler/magnet
transmission-gtk.desktop

I know its because i have changed the DE in .xprofile.

XDG_CURRENT_DESKTOP=KDE
QT_STYLE_OVERRIDE=kvantum

Is there any way to make sure i am using kvantum manager without any broken xdg-open??

Last edited by John Path (2022-06-29 06:14:00)

Offline

#2 2022-06-23 08:35:44

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [Solved] Broken xdg-open

It's rather $XDG_CURRENT_DESKTOP than the style?

Also the problem is kinda underspecified - what does "not working properly" actually mean?
At least the mime query looks ok, so what are you trying to do, do you expect and does happen instead?

Offline

#3 2022-06-25 09:48:26

John Path
Member
Registered: 2021-10-15
Posts: 57

Re: [Solved] Broken xdg-open

seth wrote:

Also the problem is kinda underspecified - what does "not working properly" actually mean?
At least the mime query looks ok, so what are you trying to do, do you expect and does happen instead?

I mean when i open pdf it opens on browser, when i open docx file it opens on libreoffice but
when i try to open some link in my mail it does nothing, similarly when i try magnet download it does nothing.

Offline

#4 2022-06-25 14:35:05

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [Solved] Broken xdg-open

when i try to open some link in my mail it does nothing

And what is "your mail"?

Offline

#5 2022-06-27 10:26:47

John Path
Member
Registered: 2021-10-15
Posts: 57

Re: [Solved] Broken xdg-open

seth wrote:

And what is "your mail"?

My mail client is Bluemail. But thats not the problem because when i remove that two line from .xprofile it works perfectly.

Offline

#6 2022-06-27 14:37:39

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [Solved] Broken xdg-open

Depends

when i open pdf it opens on browser, when i open docx file it opens on libreoffice but when i try to open some link in my mail it does nothing, similarly when i try magnet download

where do you try to open the magnet link?

when i remove that two line from .xprofile it works perfectly

Again, the critical one is most likely $XDG_CURRENT_DESKTOP
You might be running into (1) of https://wiki.archlinux.org/title/Xdg-utils#xdg-open

Offline

#7 2022-06-29 06:13:32

John Path
Member
Registered: 2021-10-15
Posts: 57

Re: [Solved] Broken xdg-open

seth wrote:

Thanks, i wanted to use kvanutm manager on bspwm as some apps not as good looking as it was on kde.

I edited /usr/bin/xdg-open and configured it so that even when DE is detected as KDE, the DE is set to generic.

Thanks for your help Seth.

Offline

Board footer

Powered by FluxBB