In your ~/.local/share/applications directory create a file called:
mimeapps.list
For it's contents paste in:
[Added Associations]
x-scheme-handler/apt=apturl.desktop;
x-scheme-handler/apt=apturl.desktop;
Finally we need to create one more file. In your /usr/share/applications make a file called:
apturl.desktop
For it's contents paste in:
[Desktop Entry]
Type=Application
Name=AptURL
Categories=Network;
MimeType=x-scheme-handler/apt;application/apt;
Exec=apturl %u
Terminal=false
NoDisplay=true
Type=Application
Name=AptURL
Categories=Network;
MimeType=x-scheme-handler/apt;application/apt;
Exec=apturl %u
Terminal=false
NoDisplay=true
Note that you will need root access (or sudo) to create this second file in the proper location.
Restart Midori and now clicking on APTURL links should work (make sure you also have APTURL installed).
~Jeff Hoogland
0 comments:
Post a Comment