tweak: allow rose.desktop to be used as default mime type
and add instructions to do so.
This commit is contained in:
parent
4958d9eeaa
commit
b3a0f14b2f
|
@ -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
|
||||
|
|
8
user-scripts/ubuntu-20.04/set-default-mime.sh
Normal file
8
user-scripts/ubuntu-20.04/set-default-mime.sh
Normal 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.
|
Loading…
Reference in New Issue
Block a user