eubnara / troubleshooting

이것저것 공부하다가 맞닥뜨리는 문제점, 해결방식 등 정리
2 stars 0 forks source link

kde neon 에서 firefox default browser 설정이 안되고 열때마다 계속 물어볼 때 #57

Open eubnara opened 3 years ago

eubnara commented 3 years ago

https://unix.stackexchange.com/questions/525150/kde-neon-18-04-firefox-not-setting-as-default-browser

내 경우에는 /usr/sbin/firefox 파일에서 계속 GTK_USE_PORTAL 을 세팅하고 있었다. 이 부분을 주석처리 해줬다.

plasma integration 때문인가.

$ cat /usr/sbin/firefox
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>

# Force use of the XDG desktop portal to get tighter Plasma integration.

#export GTK_USE_PORTAL=1
exec /usr/bin/firefox "$@"
eubnara commented 3 years ago

/usr/sbin/firefox 파일이 어딘가에서 생성된 것 같다. 정식으로 firefox 가 설치해주는 건 아닌 것 같다. /usr/sbin/firefox 파일을 지우니 정상 작동.

kde neon 에서는 firefox 를 wrapping 해서 /usr/bin/firefox 스크립트로 실행하는 특징이 있음

/usr/bin/firefox 는 누가 설치한거지?

eubnara commented 3 years ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1516290 GTK_USE_PORTAL=1 이 세팅되면 계속 default browser 물어보는 건 버그인듯