Open Botspot opened 1 year ago
Somewhere during that process, this file showed up: /home/pi/.local/share/applications/monero-gui.desktop.
Starting the GUI for the first time asks you if you want to install the .desktop file.
This file existed before running sudo make install, which I also find to be strange.
We don't have a make install target.
Its icon does not work because no icon named monero exists in /usr/share/icons or in ~/.icons.
I think this issue is related: https://github.com/monero-project/monero-gui/issues/4006
We don't have a make install target.
Then maybe it is an undocumented feature.
~/monero-gui/build/release $ sudo make install
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/liblmdb.a
-- Installing: /usr/local/lib/libeasylogging.a
-- Installing: /usr/local/lib/libepee.a
-- Installing: /usr/local/bin/monero-wallet-rpc
-- Installing: /usr/local/include/wallet/api/wallet2_api.h
-- Installing: /usr/local/bin/monero-wallet-cli
-- Installing: /usr/local/bin/monero-gen-trusted-multisig
-- Installing: /usr/local/bin/monero-gen-ssl-cert
-- Installing: /usr/local/bin/monerod
-- Installing: /usr/local/bin/monero-blockchain-import
-- Installing: /usr/local/bin/monero-blockchain-export
-- Installing: /usr/local/bin/monero-blockchain-mark-spent-outputs
-- Installing: /usr/local/bin/monero-blockchain-usage
-- Installing: /usr/local/bin/monero-blockchain-ancestry
-- Installing: /usr/local/bin/monero-blockchain-depth
-- Installing: /usr/local/bin/monero-blockchain-stats
-- Installing: /usr/local/bin/monero-blockchain-prune-known-spent-data
-- Installing: /usr/local/bin/monero-blockchain-prune
-- Installing: /usr/local/bin/monero-wallet-gui
We don't have an install target here: https://github.com/monero-project/monero-gui/blob/master/Makefile
It seems CMake adds an install target automatically, that's why it works in your case.
@selsta, the .desktop file also shows that Monero is meant to open two filetypes: x-scheme-handler/monero
and x-scheme-handler/moneroseed
. Searching through the source code I find no other mentions of these mimetypes, and they never appear to be set up in /usr/share/mime.
Do you know what use these files have and how I can correctly specify the mimetypes myself in /usr/share/mime?
https://github.com/monero-project/monero/wiki/URI-Formatting
For example monero:46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em?tx_amount=239.39014&tx_description=donation
should open monero-gui and enter the address, amount and description.
The moneroseed scheme is outdated.
I was using these commands to compile monero-gui on my own arm64 hardware. These were the commands I used:
Somewhere during that process, this file showed up:
/home/pi/.local/share/applications/monero-gui.desktop
. Here's the contents of the file:Its icon does not work because no icon named
monero
exists in /usr/share/icons or in ~/.icons.This file existed before running
sudo make install
, which I also find to be strange. Usually compiling and running a program will not create an application launcheer in the menu. I'm fairly sure it was generated byutils.cpp
, necause that is the only relevant match when grepping the whole monero-gui directory for '.desktop'. Here's an excerpt from utils.cpp:Could someone help explain what is going on here? Would it be possible for me to modify the behavior so that the menu launcher is placed in /usr/share/applications, and so that icons are copied to the relevant folders, in addition to just "installing" monero-gui the same way other GUI programs are?