tweak: allow rose.desktop to be used as default mime type

and add instructions to do so.
This commit is contained in:
NunoSempere 2023-01-04 15:42:08 +01:00
parent 4958d9eeaa
commit b3a0f14b2f
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Version=1.0
Type=Application
Terminal=false
Exec= /usr/bin/rose
Exec= /usr/bin/rose %u
Name=Rose
Comment=Minimalistic browser
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png

View File

@ -0,0 +1,8 @@
# Requires:
# sudo cp rose.desktop /usr/share/applications
xdg-mime default rose.desktop x-scheme-handler/https
xdg-mime default rose.desktop x-scheme-handler/http
# This is useful e.g., for setting how to open
# links in vim when pressing gx.