Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks.

I use BROWSER environment variable for that.

It seems to even override XDG settings.

    % xdg-settings set default-web-browser firefox.sh.desktop
    xdg-settings: $BROWSER is set and can't be changed with xdg-settings
    
    % echo ${BROWSER}
    firefox
Hope that helps.

EDIT: You also got me nice idea - to add http(s):// and ftp:// support for mine see.sh opener :)



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: