I messed up with URI/HTTP configuration

I use nepufox (my production script) for many years to open firefox in activity-aware settings. But, after update, it stop working. I try to ran firefox with the same step, as in my script, in terminal. It launch properly. When called by Plasma, Firefox asks on which profile start.

Meanwhile, I go to settings (Default Applications) and saw there is little button on right of nepufox. It tells me, that program does not deliver information about if it handles HTML documents, but I can repair it. I do. Now, Plasma downloads each URI before opening it in Nepufox and give URI to downloaded sites, so pages are broken.

PS: I click on this button with information icon again and again click force to use with all related file associations. It now seems to works.

@slawomirlach:

Do you mean this “nepufox”? → <https://github.com/nintyfan/nepufox>


  • A Bash shell script –
#!/bin/bash
export  MOZ_PERMISSIVE_CONTENT_SANDBOX=1
export	MOZ_ENABLE_WAYLAND=1
if [ "$1" == "" ]; then
  a=www.google.com
else
  a="$1"
fi
nazwa=`qdbus-qt5 org.kde.ActivityManager /ActivityManager/Activities CurrentActivity`


if [ "$nazwa" == "78444d04-65a6-47ea-8d51-5a9a833a7a08" ]; then
  firefox -P  Nowy --new-tab "$a" &
  exit 0
fi

if grep "\[$nazwa\]" $HOME/.mozilla/firefox/profiles.ini; then
 echo
else
firefox  -CreateProfile "$nazwa"
fi
firefox  -p "$nazwa" --new-tab "$a" &

On this machine:

 > qdbus-qt5 org.kde.ActivityManager /ActivityManager/Activities CurrentActivity
2251ee45-220c-49f1-b14d-6361c093fc30
 >